Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VisualMicro 1401.23 - includes do not work as expected (Read 3006 times)
thjakob
Junior Member
**
Offline


Posts: 23
Joined: Apr 29th, 2013
VisualMicro 1401.23 - includes do not work as expected
Jan 24th, 2014 at 12:28am
Print Post  
Hello,

Not sure what I do wrong - but since 1401.23 I can not compile a script that includes a `custom` LiquidCrystal.h .
This library is located in my personal arduino\library folder - in a subfolder called SPI_IIC_LCD.
The source of the library is http://shop.boxtec.ch/pub/elecfreaks/SPI_IIC_LCD_For_Ardiuno1.0.zip

Within the Arduino IDE I can compile my code.
The same script cannot be compiled in Atmel Studio - because my `custom` LiquidCrystal.h` is not found.

When I rename SPI_IIC_LCD-Folder (containing my LiquidCrystal.h) to LiquidCrystal then Atmel Studio can compile the code.

So what^s wrong:
- is it a wrong library - should it not be named LiquidCrystal.h
   (and it's code should not refere to LiquidCrystal at all)
- is it just a bad naming of the folder?
- is it a bug of VisualMicro/Atmel - to not include libraries
  wich are not named the same as the folder they reside in?

Thank^s   Smiley
Thomas
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VisualMicro 1401.23 - includes do not work as expected
Reply #1 - Jan 24th, 2014 at 5:22am
Print Post  
Thank for reporting this. 

There is a new beta release of Visual Micro that includes minor changes to the way libraries are resolved. 

In the case of a custom/user library that contains duplicate sources to an Arduino Ide library and also a library that doesn't contain a .h of the same name the update might not feel so minor  Smiley

I think this is an important stability improvement so it is great that we got it in just before the next major release.

Thanks again
  
Back to top
IP Logged
 
thjakob
Junior Member
**
Offline


Posts: 23
Joined: Apr 29th, 2013
Re: VisualMicro 1401.23 - includes do not work as expected
Reply #2 - Jan 24th, 2014 at 8:09am
Print Post  
Hello Tim,

Cool - it works!   Cheesy

Thank you
Thomas

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint