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 Arduino Yun - how to install libraries correctly (Read 3778 times)
Phil D
Newbies
*
Offline


Posts: 4
Joined: May 11th, 2015
Arduino Yun - how to install libraries correctly
May 11th, 2015 at 8:32pm
Print Post  
Hi

After several hours I'm at a loss.  

I've install Arduino IDE 1.6.4, and that works great, for example I can open Examples - Bridge and open TimeCheck and upload the sketch.  

However, in Visual Studio 2013 using the latest version of VisualMicro, I can open the example from Visual Micro Explorer for TimeCheck that is has automatically picked up, however it fails to compile as it can not find any of the library files.

I can change the #Includes to the path, which the Intellisense finds okay using quotes, but it still can not find the file on compiling.

If I go Add Import Ardunio library, and go to User or Core I do not see the bridge library, also despite copying the Bridge library to my sketch folder in Libraries, I only see some previous ones I've used with an older project with the Uno.

I've tried various ways of installing the library from a zip via Visual Micro Explorer and manage libraries, but nothing works.

Any help appreciated.

Regards

Phil
« Last Edit: May 11th, 2015 at 8:33pm by Phil D »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Yun - how to install libraries correctly
Reply #1 - May 11th, 2015 at 8:48pm
Print Post  
Hi phil,

Sorry for the hassle. There have been some big changes for the recent Arduino change of structure.

There was a bug in the last release candidates of the last few days where by arduinoide "new format" libraries were not being discovered. A new build was just released earlier today but it hasn't been tested by many yet. It will be tested over the next 24/48 hours but you are welcome to download it from the downloads page.

The bridge library and other new style libraries will now work but there is one last bug where they show in the Micro explorer and compile okay but are not showing on "project>add/import library>core". 

Look forward to hearing how you get on. Sorry it's a strange time after years of stability but the next week or so will see the last of the changes.
  
Back to top
IP Logged
 
Phil D
Newbies
*
Offline


Posts: 4
Joined: May 11th, 2015
Re: Arduino Yun - how to install libraries correctly
Reply #2 - May 11th, 2015 at 9:00pm
Print Post  
Hi

Thank you for the quick reply.  I had thought I had download the very latest although perhaps I was being served a cached version from somewhere.  I've uninstalled and downloaded again.  Unfortunately I now get the error: System.IO.FileNotFoundException: Could not load file or assembly 'Visual.Micro.Debugger.Data.Extensions'... when launching Visual Studio.

I've tried uninstalling and re-installing and restarting the computer and still getting the same error.

Regards

Phil

  
Back to top
 
IP Logged
 
Phil D
Newbies
*
Offline


Posts: 4
Joined: May 11th, 2015
Re: Arduino Yun - how to install libraries correctly
Reply #3 - May 11th, 2015 at 9:09pm
Print Post  
Hi

Few success!

Checking the file versions, at 21:12 UK Time I appeared to be getting an older beta version, so most likely no fix for the library issue.  On re-downloading at 21:52 the file size is smaller (5349KB compared to 6643KB).   

Unstalling the older one, then installing the newer one gave rise to the missing Extension library as detailed in my previous post, however uninstalling that, installing the older one, then installing the newer smaller file and going for a repair, and the libraries now appear.

Perhaps the smaller file size is because some the DLLs have been missed out?

Hope that helps.

Regards

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Yun - how to install libraries correctly
Reply #4 - May 11th, 2015 at 9:17pm
Print Post  
Thanks, actually I just replaced the version again. It was failing to register a .net4 dll in the windows GAC. 

But your fix was probably a good workaround. If you have any other issues please run the install thanks

There will be some more updates over the next few days/week each should bring more stability and not more problems I promise Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint