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 Library header files are not included properly (Read 4833 times)
mark yao
Newbies
*
Offline


Posts: 2
Joined: Jan 2nd, 2013
Arduino Library header files are not included properly
Jan 30th, 2013 at 7:22pm
Print Post  
After using micro-visual for few weeks, now if create a new arduino
project, it seems does not include header files from arduino/library
directory, such as <SPI.h>, <Ethernet.h> ....etc. although
1) the old project created before still include the external library
header file correctly
2) the new project does still include other library such arduino/hardware/core


i even tried to reinstall micro-visual and debugger and won't help ( I
am using visual studio 10 on windows 7)

can you help, any advises what to do?

by the way, any progress and luck on arduino due board for visual micro?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Library header files are not included properly
Reply #1 - Jan 30th, 2013 at 8:22pm
Print Post  
Hi,

If you use the toolbar (or tools menu) to switch to a different board and then switch back again does the intellisense then work?

Thanks

Due should be done over the next month or so. In the meantime you can use the "External Editor" system in the arduino to upload changes made in VS.
« Last Edit: Jan 30th, 2013 at 8:28pm by Tim@Visual Micro »  
Back to top
IP Logged
 
mark yao
Newbies
*
Offline


Posts: 2
Joined: Jan 2nd, 2013
Re: Arduino Library header files are not included properly
Reply #2 - Jan 30th, 2013 at 9:37pm
Print Post  
Hi, Tim, I tried what you said. The intellisense works doesn't matter which board I am switching to.  What you mean by "External Editor" system in the arduino? are you talking about tool in the VS?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Library header files are not included properly
Reply #3 - Jan 30th, 2013 at 10:02pm
Print Post  
Let's talk about due after we sort this problem

What you mean by "Does not include header files for other arduino libraries"?

In a new project you will need to add the libraries that you want to use

"Project>Add Arduino Library>Core" or "Project>Add Arduino Library>Core"

Can you see libraries listed on these menus? 

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint