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) Re: Compiler Error (Read 1771 times)
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Compiler Error
Jul 29th, 2019 at 3:49pm
Print Post  
I just installed the latest version and immediately had problems:

NanoBot.ino: 1:21: fatal error: arduino.h: No such file or directory
   compilation terminated
Error compiling project sources
Build failed for project 'NanoBot'

The output is attached.
« Last Edit: Jul 29th, 2019 at 3:54pm by Tim@Visual Micro »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler Error
Reply #1 - Jul 29th, 2019 at 3:54pm
Print Post  
Please zip and send your project

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler Error
Reply #2 - Jul 29th, 2019 at 3:57pm
Print Post  
2nd question does it build okay with the new menu item vmicro>compiler>add include -I for shared projects?
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Compiler Error
Reply #3 - Jul 29th, 2019 at 4:27pm
Print Post  
It compiles OK when I turn vmicro>compiler>add include -I for shared projects OFF. Do you still want the code (there is a lot of it)?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler Error
Reply #4 - Jul 29th, 2019 at 4:32pm
Print Post  
Yes please i need the entire solution with all projects so I can see interdencies etc
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Compiler Error
Reply #5 - Jul 29th, 2019 at 5:24pm
Print Post  
I emailed you the files.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler Error
Reply #6 - Jul 29th, 2019 at 6:09pm
Print Post  
Fixed in the latest release (1907.29.3) which has also been published to the Gallery.

Thanks very much for the report.
« Last Edit: Jul 29th, 2019 at 9:25pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Compiler Error
Reply #7 - Jul 30th, 2019 at 1:24am
Print Post  
Tim,

I cannot find the link to download the July 29 version. Can you please point me to the right URL?

Thanks,

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler Error
Reply #8 - Jul 30th, 2019 at 12:39pm
Print Post  
It's in the gallery now, use Tools>Extensions and Updates>Online in VS2017 or Extensions>Extensions and Updates>Online in VS2019


You don't need this link but for future reference please click it and click the "Notifications" button top right of the list.

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint