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 No compilation cause 'error C1083: avr/pgmspace.h no such file or directory' (Read 2141 times)
matteo94
Newbies
*
Offline


Posts: 3
Joined: Nov 3rd, 2017
No compilation cause 'error C1083: avr/pgmspace.h no such file or directory'
Nov 3rd, 2017 at 9:29am
Print Post  
Hi,

I have visual micro installed on Visual Studio 2012 Professional and I'm working with an Arduino 1.0.5 - r2.

A few days ago it asked me to be updated; after that the project that correctly worked before, now it doesn't work. During the compilation it generates some errors due to arduino's libraries; 
I've read the topic about the C1083 error and I've tried many solutions but the error remains. In the specific the error shows:
"error C1083: Impossible to open inclusion file 'avr/pgmspace.h': No such file or directory      c:\program files (x86)\arduino\hardware\arduino\cores\arduino\arduino.h"

It's strange that the error is generated in the Arduino.h file and not in a project file. I've checked the arduino libraries and it seems all ok. I think that the other 'IntelliSense' errors are due to that error. Please help me, thanks a lot.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No compilation cause 'error C1083: avr/pgmspace.h no such file or directory'
Reply #1 - Nov 3rd, 2017 at 1:18pm
Print Post  
Hi,

What name shows on the vMicro>Ide menu?

Thanks
  
Back to top
WWW  
IP Logged
 
matteo94
Newbies
*
Offline


Posts: 3
Joined: Nov 3rd, 2017
Re: No compilation cause 'error C1083: avr/pgmspace.h no such file or directory'
Reply #2 - Nov 3rd, 2017 at 2:06pm
Print Post  
It shows Arduino 1.0; I'm working with Arduino MEGA2560
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No compilation cause 'error C1083: avr/pgmspace.h no such file or directory'
Reply #3 - Nov 5th, 2017 at 8:38pm
Print Post  
Hello,

I suggest that you undo any changes you made to fix the issue and then post the original error.

When you have the original library error(s), switch on vmicro>compiler>verbose and then build. Then copy the output to a .txt file and post here or email to info[at]visualmicro.com


I can see there are intellisense errors for the arduino 1.x avr/pgmspace.h and we will resolve for the next release. In the short term it might help for you to ignore intellisense errors and also to filter the "error list" for "Build Only"


  
Back to top
WWW  
IP Logged
 
matteo94
Newbies
*
Offline


Posts: 3
Joined: Nov 3rd, 2017
Re: No compilation cause 'error C1083: avr/pgmspace.h no such file or directory'
Reply #4 - Nov 6th, 2017 at 9:50am
Print Post  
I thank you for the support but modifing some parameters, I solved the problem.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint