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 Cannot open source file "stddef.h" (Read 1954 times)
Justin64
Newbies
*
Offline


Posts: 1
Joined: Feb 19th, 2019
Cannot open source file "stddef.h"
Feb 19th, 2019 at 3:33am
Print Post  
Hi,

I am running vMicro on Visual Studio Community 2017 for Arduino Nano. I used to have this setup without any problems for a long while, but then I took a break, now I came back, and whenever I create a new project, I get an Intellisense error "Cannot open source file "stddef.h"". The sketch still compiles and works, but these errors are irritating. I know I can suppress all Intellisense errors by selecting "Build only" in the Error List, but I actually like Intellisense and the help it provides, so I don't want to disable it altogether.

Why am I getting these error messages? There hasn't been any like them before. Did some reference get broken? Or did I set Intellisense to some higher level of error sensitivity by accident somewhere?

Here is my build output:
https://pastebin.com/U0aKHFC1

I would very much appreciate some help. Thanks!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot open source file "stddef.h"
Reply #1 - Feb 19th, 2019 at 1:58pm
Print Post  
I see you are using arduino nightly builds which might have a new tool chain.

It's also possible the error has always been there. Intellisense is only 99% correct.

You have the option to set the error list to "Open Documents" which gives you full intellisense errors but not within code that is not current or your code.

Can you see which file is trying to access stddef.h?

Are you working with or without vMicro>Toggle Hidden Files?
« Last Edit: Feb 19th, 2019 at 1:59pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint