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] 2 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Re: vMicro 2024.102.1903 arduino.h: No such file or directory (Read 6860 times)
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Jan 29th, 2024 at 7:05pm
Print Post  
I am having the same issue. The Arduino IDE libraries are not found while user libraries are. Where would I be able to set the build configuration to release? My current debugger settings are in the image.
« Last Edit: Jan 29th, 2024 at 7:23pm by robots4life »  

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #1 - Jan 29th, 2024 at 10:29pm
Print Post  
Please follow the guide in the yellow box about.
  
Back to top
IP Logged
 
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #2 - Jan 30th, 2024 at 2:11pm
Print Post  
Here is the build output
  

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #3 - Jan 30th, 2024 at 5:25pm
Print Post  
Thanks. I only see espre v 2.0.13 in the list of released esp32 packages. what board index url have you added to arduino 1.8?
« Last Edit: Jan 30th, 2024 at 5:40pm by Tim@Visual Micro »  
Back to top
IP Logged
 
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #4 - Jan 30th, 2024 at 5:27pm
Print Post  
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #5 - Jan 30th, 2024 at 5:54pm
Print Post  
ah, I didn't see you were using an adafruit board.

what json url are you using for that?
  
Back to top
IP Logged
 
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #6 - Jan 30th, 2024 at 5:56pm
Print Post  
That is the only url I have linked on my Arduino 1.8 IDE. Do I need to add another url through VMicro or Arduino?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #7 - Jan 30th, 2024 at 6:04pm
Print Post  
Normally you have an index file for each type of hardware however arduino.cc have been slowly adding duplicates for many boards to their own cores.

Please open arduino 1.8 and confirm what is in the file>preferences>board packages field.

Also confirm what is in the visual micro IDE Locations board packages field. 

Thanks
  
Back to top
IP Logged
 
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #8 - Jan 30th, 2024 at 6:12pm
Print Post  
this is what i have installed.
« Last Edit: Jan 30th, 2024 at 6:14pm by robots4life »  

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #9 - Feb 1st, 2024 at 1:35am
Print Post  
Thanks, yes I found the adafruit boards in the esp32 core.

Most of your core is being found for certain. No libraries are coming from arduino ide, the #include that can't be found is the arduino.h (that you have #included in your .ino code)

The arduino.h is not a library it is part of the esp32 core. The core also has libraries below it and your code has found them OK.

Question

A lot fails if the Arduino.h can't be found. Are you working on a case sensitive system?





  
Back to top
IP Logged
 
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #10 - Feb 1st, 2024 at 1:38pm
Print Post  
It isn't case sensitive as far as I know. I tried it with arduino.h instead of Arduino.h as well and it still didn't work.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #11 - Feb 1st, 2024 at 2:53pm
Print Post  
does this build in a new project? ..

#include <Arduino.h>

void setup()
{

}

void loop()
{
}
  
Back to top
IP Logged
 
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #12 - Feb 1st, 2024 at 5:07pm
Print Post  
That was able to build.
  

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #13 - Feb 1st, 2024 at 5:22pm
Print Post  
Can click build on your main project again and post the output again.

Don't remove the \/ slashes just keep it as is thanks
  
Back to top
IP Logged
 
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #14 - Feb 1st, 2024 at 5:27pm
Print Post  
The entire build output is copied in
  

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #15 - Feb 1st, 2024 at 5:59pm
Print Post  
Strange issue. Must be related to the onedrive symbolic folder. 

I see you switched on local build folder, try switching off Tools>Options>VMicro>Build In Project Intermediate. 

Then build and post the output.
  
Back to top
IP Logged
 
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #16 - Feb 1st, 2024 at 6:02pm
Print Post  
It did the same thing before I turned that on. I was testing other settings to see if it would start working but it didn't.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #17 - Feb 1st, 2024 at 8:07pm
Print Post  
If you remove the #include arduino.h does it build okay?
  
Back to top
IP Logged
 
robots4life
Junior Member
**
Offline


Posts: 21
Joined: Jan 29th, 2024
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #18 - Feb 1st, 2024 at 8:10pm
Print Post  
No, then it says it could not find ArduioOTA.h which should also be in the board package since it isn't one of the user libraries.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro 2024.102.1903 arduino.h: No such file or directory
Reply #19 - Feb 1st, 2024 at 8:27pm
Print Post  
ArduinoOTA is a library that is supplied with the platform. It should be top of the list in Current Platform libraries.

If you use the menus to add the library they should simply add this to the code

#include <ArduinoOTA.h>
  
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint