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 Deep search not finding files (Read 1172 times)
Mart
Newbies
*
Offline


Posts: 3
Joined: Jun 5th, 2020
Deep search not finding files
Jun 5th, 2020 at 12:12pm
Print Post  
I've successfully built Arduino projects using Arduino and Visual Studio IDEs with VisualMicro. I've rebuilt my PC and have the latest VS2019 (Community 16.6.1) and VM (20_05_18_1).

I'm trying to compile an Arduino programme (unchanged from earlier this year when it compiled OK) and get an error:

arduino.h: 27:20: fatal error: stdlib.h: No such file or directory
An error was encountered during the 'Deep Search' library discovery process.

I can manually find the arduino.h and stdlib.h files in folders under:
e\esp8266\2.6.3\cores\esp8266

and

e\esp8266\2.6.3\tools\sdk\libc\xtensa-lx106-elf\include\sys 

respectively.

I'm pulling my hair out trying to work out what's changed and how I can fix this.

Attached is the compiler output with properties and verbose.

Many Thanks,

Mart
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2351
Joined: Feb 13th, 2019
Re: Deep search not finding files
Reply #1 - Jun 5th, 2020 at 12:21pm
Print Post  
Thanks for the report, I cannot see the attachment at present, could you try attaching it again?
  
Back to top
 
IP Logged
 
Mart
Newbies
*
Offline


Posts: 3
Joined: Jun 5th, 2020
Re: Deep search not finding files
Reply #2 - Jun 5th, 2020 at 3:22pm
Print Post  
"Build Output.txt" attached
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Mart
Newbies
*
Offline


Posts: 3
Joined: Jun 5th, 2020
Re: Deep search not finding files
Reply #3 - Jun 5th, 2020 at 4:06pm
Print Post  
Noticed that there was a version mismatch in the ESP8266 libraries. Just refreshed the libraries and copied the v2.6.3 library using the VM board manager. 

Same error - stdlib.h not found - new log file attached.

I can see a stdlib.h in the files I downloaded in MyDocuments but if I look at where VM has put the updated libraries there's no stdlib.h under:

C:\Users\micro\AppData\Local\arduino15\packages\esp8266\hardware\esp8266\2.6.3

I tried deleting the "C:\Users\micro\AppData\Local\arduino15" folder as I'd seen notes elsewhere that had solved a file not found problem for someone else ... but VS couldn't find any ESP8266 boards - it didn't seem to be looking in the MyDocuments esp8266 library with my .ino file.


  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint