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
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
.
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
.
Thanks
Gilles Plante