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 Compiler lost in librairies (Read 2553 times)
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Compiler lost in librairies
Jan 9th, 2014 at 7:46pm
Print Post  
Hi,

I am facing a nasty problem. I worked up to now with a certain library, but I decided to move the.cpp and .h files right into the project (AtmelStudio). Thning is VisualMicro makes it so that it still wants to compile the Libraries versions of the files, but since they are not there anymore, I get

Code
Select All
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Arduino 1.0\libraries\Encoder'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption) 

I say VisualMicro makes it so because the Encoder library, now missing, is still listed in Project > Add/Import Sketch Library > Core. I tried doing a refresh, no luck  Undecided.

How can I prevent VisulaMicro from loading the code from the deleted library ?

Ah ah I found out what's wrong: I needed to exit AtmelStudio and the the list of librairies was updated. Either Refresh does something else I was expecting, or it's a feature  Wink.

Thanks

Gilles Plante
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler lost in librairies
Reply #1 - Jan 9th, 2014 at 7:56pm
Print Post  
Hi Giles,

Someone reported the refresh wasn't working yesterday, we will try to fix it for the next release due in a few days.

However, "Tools>Visual Micro>Reload Toolchains" does the same thing and works.

Sorry about that, thanks for the report anyway.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint