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 Cannot import some libraries (inc Ethernet) (Read 5653 times)
rocketeer13
Newbies
*
Offline


Posts: 1
Joined: Feb 11th, 2013
Cannot import some libraries (inc Ethernet)
Dec 16th, 2013 at 5:12pm
Print Post  
I'm using VS 2012 and Arduino 1.0.5 on Windows 8.1.  In project->add/import sketch libraries->core, only a handful of libraries can be found.  I cannot add the Ethernet or SPI libraries.  I've tried refreshing the list and re-installing arduino, but neither seems to work.  Interestingly, the list of libraries available include all the ones I've installed myself, as well as a few of the default libraries, but there are only about a half dozen available in total.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot import some libraries (inc Ethernet)
Reply #1 - Dec 16th, 2013 at 5:32pm
Print Post  
Thanks, we will look into it. You could try Arduino 1.5.5 instead. You can have both versions installed easily to test this. Add the 1.5 location to the Visual Micro 1.5.x app.

Thanks!
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot import some libraries (inc Ethernet)
Reply #2 - Dec 17th, 2013 at 10:06pm
Print Post  
Hi,

Investigated and can't find a problem, all working okay.  It's possible that a library is causing Visual Micro to terminate the loading of libraries due to some exception. 

I will explain the two locations where libraries can exist. Then hopefully you can add user libraries away from the Core and we will see the error more clearly.

When moving libs around clicking the Project?Add/Import sketch library>refresh command will allow you to see when things go wrong and identify the rouge lib. Whenw e find the problem we will fix it in the next release.

The Two Arduino Library Folders

On the "Core" add/import library menu item you should see the list of libraries that are installed with the ArduinoIde in the libraries folder below the arduino exe folder.

On the "User" add/import library menu item you should see the list of libraries that you have installed yourself. In the Arduino Ide this list is the same as the "Contributed" list of libraries. The libraries you install yourself should be placed in the "[sketchbook]\libraries" folder which is normally "[your documents]\arduino" unless you have changed this location in the preferences.

Can you please delete your Arduino Ide install and re-install or at least rename it and install another copy. Then try adding libraries to the sketchbook\libraries folder and not the ide\libraries folder.
  
Back to top
IP Logged
 
ChristianLutze
Newbies
*
Offline


Posts: 2
Location: Germany
Joined: Jan 7th, 2014
Re: Cannot import some libraries (inc Ethernet)
Reply #3 - Jan 9th, 2014 at 12:31am
Print Post  
ADMIN: I think this message is from a user who has missed the fact that the release version of Visual Micro currently supports up to Arduino 1.5.3 and should therefore be ignored in this thread?

I have still the same problem. Has somebody fixed it?

In the ardunio IDE the ethernet libary is available, but not in the atmelstudio. Maybe someone can help me?

Ardunio:


Atmel Studio:

« Last Edit: Jan 20th, 2014 at 4:27pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot import some libraries (inc Ethernet)
Reply #4 - Jan 18th, 2014 at 8:25pm
Print Post  
EDIT: Changed the post so user can see the answer more clearly. Thanks for the report!

You will see in our docs the current release supports up to Arduino 1.5.3

There is a new beta on codeplex that supports 1.5.5-r2 

https://visualmicro.codeplex.com/releases/view/106554

ps: I am assuming you meant 1.5.5 when you posted your version as 1.0.5? If not we can take another look at the files you sent. Please report status after applying the Visual Micro beta. Thanks

EDIT: Sorry didn't realize that Christian had jumped in with a confusing post. I think he is the one who is using Arduino 1.5.5? rocketeer13@ please let me know if your problem is fixed by the beta and I will re-look at your report if not. Thanks!!
« Last Edit: Jan 20th, 2014 at 4:26pm by Tim@Visual Micro »  
Back to top
IP Logged
 
ChristianLutze
Newbies
*
Offline


Posts: 2
Location: Germany
Joined: Jan 7th, 2014
Re: Cannot import some libraries (inc Ethernet)
Reply #5 - Jan 23rd, 2014 at 7:10am
Print Post  
Sorry for the confuse post. Now all is still working with ardunio 1.5.5. 

Thank you very much!!!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint