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 Problem with "-" in library folder names (Read 3289 times)
mbruck
Junior Member
**
Offline


Posts: 30
Joined: Jul 30th, 2012
Problem with "-" in library folder names
Aug 1st, 2012 at 6:44pm
Print Post  
I added this custom library to arduino:
http://code.google.com/p/arduino-timerone/downloads/detail?name=TimerOne-v9.zip&...

After that VisualMicro generate error
"Visual Micro failed to create UI command items .... "

BUT, after I remove "-" from folder name which was "TimerOne-v9" to "TimerOnev9" everythings is ok, and library is visible in "Custom" list in VS.....
So there is problem using libraries folder with "-" which I confirmed when renamed some other folder, and voila, problem is repeated.
So don't use "-" sign in library folder names, at least until this bug is resolved....

Regards !

Mladen Bruck
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with "-" in library folder names
Reply #1 - Aug 1st, 2012 at 8:32pm
Print Post  
Thanks for letting me know. I am pleased you found the problem for yourself.

I am not sure underscores are allowed in arduino library names and a very important arduino rule is that a library folder name must be the same as one of the .h file names in the folder.

Tip:

When you have problems that you can not resolve try the same thing using the arduino ide. 

If it fails in arduino then it will certainly fail in Visual Micro. If it doesn't fail in arduino but does fail in Visual Micro then please report to the forum.

In any case, it sounds like a better vm error message would help others Smiley

Thanks again
« Last Edit: Aug 1st, 2012 at 8:33pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
mbruck
Junior Member
**
Offline


Posts: 30
Joined: Jul 30th, 2012
Re: Problem with "-" in library folder names
Reply #2 - Aug 1st, 2012 at 9:14pm
Print Post  
Quote:
..a very important arduino rule is that a library folder name must be the same as one of the .h file names in the folder.

I didn't know that !!!  Sad
I'm new in arduino system, so, obviously, I have to read some documentation... Grin
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint