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
Hot Topic (More than 8 Replies) Visual Studio 2013 Library issue (Read 8030 times)
johng
Newbies
*
Offline


Posts: 2
Joined: Mar 12th, 2014
Visual Studio 2013 Library issue
Mar 12th, 2014 at 7:26pm
Print Post  
I'm having an issue where in VS Under Project->Add Import Sketch Library->Core only shows 5 libraries: Common, EEPROM, SoftwareSerial, SPI, and Wire.  This is a new install on a new computer, so I don't believe there are 3rd party compatibility issues here.

I'm using the latest Arduino (1.5.6-r2), as there was an incompatibility with Arduino 1.0.5 where the board types dropdown would not populate.

All the libraries show up in the Arduino IDE, so I don't know what hack/tweak would be needed to get them to show up in VS.  Any help would be much appreciated.  Please don't ask me to uninstall/reinstall again - I've already tried that 4 times with no luck...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2013 Library issue
Reply #1 - Mar 12th, 2014 at 8:12pm
Print Post  
Hi,

Please confirm which version of Visual Micro you are using tools>options>visual micro>version>version

Thanks
  
Back to top
IP Logged
 
johng
Newbies
*
Offline


Posts: 2
Joined: Mar 12th, 2014
Re: Visual Studio 2013 Library issue
Reply #2 - Mar 12th, 2014 at 9:12pm
Print Post  
Version 1.1401.26
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2013 Library issue
Reply #3 - Mar 12th, 2014 at 9:32pm
Print Post  
Hi John,

Thanks for the info. I think these are the two solutions.

1) The boards will not show for 1.0.5 unless you use the Arduino 1.0.x option in Visual Micro. A few people have mistaken 1.0.5 for 1.5.x, it's confusing at the moment in the Arduino world  Smiley

2) You will read at the top of the boards of the forum and the top of the home page on visualmicro.com that for Arduino 1.5.6 you need to install our latest beta. In the Arduino 1.5.6 beta there is an important change to library structure. The Arduino libraries you can see in 1401.26 (Jan 2014) are the ones that are still using the old format. Arduino have not yet converted them.

Thanks
« Last Edit: Mar 12th, 2014 at 9:37pm by Tim@Visual Micro »  
Back to top
IP Logged
 
sln
Newbies
*
Offline


Posts: 3
Joined: Mar 12th, 2014
Re: Visual Studio 2013 Library issue
Reply #4 - Mar 13th, 2014 at 10:30am
Print Post  
Hello Visual Micro,

I'm experiencing the same problem as johng.
It looks like I'm having the same configuration, that is:
* Arduino IDE: ARDUINO 1.5.6-r2
* Visual Micro plug-in for VS: 1.1401.26

I was advised to install this “nightly build” Arduino version in order to be sure that I'm able to use my TFT display shield from Arduino. And indeed I have no problem using it with this Arduino IDE version – the TFT library appears in the library menu, I can include it and it works.

However, given the unfortunate limitations of the Arduino IDE, I installed the Visual Micro plug-in for VS. I admit it looks great and very promising. Unfortunately, I don't see the TFT library able to be included from Project / Add/Import Sketch Library / Core. As johng mentioned, there are only 5 libraries available in this menu (out of 23 in Arduino) and no TFT library.

I cannot use an earlier (1.0.5) Arduino IDE (explained already why). 
On the other hand, as mentioned on your site, the latest beta version of Visual Micro must be installed in order to work with Arduino 1.5.x. I did it (installed VM 1.1401.26). If this isn't the mentioned beta, then where is this beta?

Now, from your answer to johng, should I understand that “works” means “partially works” and that VM recognizes in fact only the “old style” libraries of Arduino 1.5.x? Then what's the benefit of installing the recommended beta?

Maybe I'm missing something?

I tried everything I could imagine. Since TFT.h was not recognized when #included in the code, I tried to add the path to the TFT library in the project's Include Directories section. Now TFT.h can be accessed by VM (with intellisense available etc.), but the compilation fails when adding a simple TFT variable, with the message “'TFT' does not name a type”. It could be, I think, because the actual .cpp.o file that is generated based on the .ino resides in another folder than the .ino. It's just a guess, and maybe not important. The fact is that I'm stuck.

So what can I do now (other than going back to the Arduino IDE that looks quite poor after experiencing with your plug-in)?

Thanks
« Last Edit: Mar 13th, 2014 at 10:42am by sln »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2013 Library issue
Reply #5 - Mar 13th, 2014 at 11:51am
Print Post  
Hello, I am sorry by note above was not clear. The Visual Micro beta supports Arduino 1.5.6, all the libraries should show correctly.

As stated earlier, Arduino have made big changes in this area recently so if you take the beta of Arduino you need to stay up to date and use the beta of Visual Micro. 

When major changes happen, we try to make all the changes as quickly as possible but there will always be a small lag for obvious reasons.

But you should also be aware that I am not sure you need the nightly builds of the Arduino Ide. The tft display has worked okay for quite some time in the Arduino 1.0.5 Ide but maybe there is something I am not aware of.
« Last Edit: Mar 13th, 2014 at 1:12pm by Tim@Visual Micro »  
Back to top
IP Logged
 
sln
Newbies
*
Offline


Posts: 3
Joined: Mar 12th, 2014
Re: Visual Studio 2013 Library issue
Reply #6 - Mar 13th, 2014 at 3:22pm
Print Post  
Tim@Visual Micro wrote on Mar 13th, 2014 at 11:51am:
Hello, I am sorry by note above was not clear. The Visual Micro beta supports Arduino 1.5.6, all the libraries should show correctly.

As stated earlier, Arduino have made big changes in this area recently so if you take the beta of Arduino you need to stay up to date and use the beta of Visual Micro. 


Thanks for your quick answer, but...

Still I'm not sure what you mean by "all the libraries should show correctly". Can you confirm that the above mentioned versions of Arduino and VS work perfectly together and that you see - in this combination of versions - all the libraries displayed in the VS menu?

Should I understand that - by using this combination of IDE versions - I should see all the Arduino libraries in VM/VS? That meaning that I have a local problem on my computer?
Please consider that both me and @johng have exactly the same problem on different machines, which doesn't seem to indicate a local problem.

It would be quite helpful if you could simply confirm if, by using the mentioned versions of Arduino and VM on your machine, you see all the Arduino libraries displayed in the VS menu, or not.


Don't get me wrong, it's not a big deal if these versions don't work correctly together yet, it's just that being exact in your affirmation would help me to avoid to spend more time if the problem is not on my side.

So do you see on your machine all the 23 Arduino libraries in the Visual Studio menu when you use combined these two ultimate versions of Arduino and VM?
« Last Edit: Mar 13th, 2014 at 3:25pm by sln »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2013 Library issue
Reply #7 - Mar 13th, 2014 at 3:32pm
Print Post  
Hi,

Sorry in all your text I missed your question asking where the beta is. 

You are not running the beta you are running the current release from January this year. That's what the 14.01 means.(January 2014)

In my above answer I explain how to get the beta. here it is again..

Quote:
the top of the home page on visualmicro.com that for Arduino 1.5.6 you need to install our latest beta.


see news march 2014: at the top of the home page
« Last Edit: Mar 13th, 2014 at 3:32pm by Tim@Visual Micro »  
Back to top
IP Logged
 
sln
Newbies
*
Offline


Posts: 3
Joined: Mar 12th, 2014
Re: Visual Studio 2013 Library issue
Reply #8 - Mar 14th, 2014 at 2:11pm
Print Post  
Wow! The last reply was enlightening.
I installed the 1403.03a BETA version and this solved the problem. The Arduino 1.5.6 libraries are now available in VS, I've made a few tests and it works like a breeze.

Thanks a lot for your support. And congrats for this beautiful piece of software.
« Last Edit: Mar 14th, 2014 at 2:14pm by sln »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2013 Library issue
Reply #9 - Mar 14th, 2014 at 2:23pm
Print Post  
Great! Thanks for the update and words  Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint