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) Build issue using vMICOR (Read 4310 times)
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Build issue using vMICOR
Nov 14th, 2023 at 7:02pm
Print Post  
I am getting this error "cstdlib:41: fatal error  bits/c++config.h  No such file or directory
   #include <bits/c++config.h>" while trying to build the code.
I am able to build and upload to Sparkfun Thing Plus using Arduino IDE 2.2.1 with no issues at all.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Build issue using vMICOR
Reply #1 - Nov 14th, 2023 at 7:28pm
Print Post  
Thanks for the report.

Please follow the instructions at the top of the page to get the verbose logging information, and attach that as a text file for us to review.
  
Back to top
IP Logged
 
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Re: Build issue using vMICOR
Reply #2 - Nov 14th, 2023 at 7:43pm
Print Post  
Here you go.

Thanks,
Manny
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Re: Build issue using vMICOR
Reply #3 - Nov 14th, 2023 at 7:53pm
Print Post  
I tried building blink program but it too fails.  So I am guessing it would build anything with this error.

Thanks,
Manny
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Build issue using vMICOR
Reply #4 - Nov 15th, 2023 at 10:50am
Print Post  
Thanks for the report.

From your logs it appears as though the ESP32 board package has been installed beneath the MBED board package instead of alongside it.

Can you attach a screenshot of the vMicro > General > IDE Locations screen, with the Arduino2 option selected?
(I suspect the "Optional Physical Folder for Downloaded Board Packages" has been set but want to confirm this is the case)


« Last Edit: Nov 15th, 2023 at 11:31am by Simon@Visual Micro »  
Back to top
IP Logged
 
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Re: Build issue using vMICOR
Reply #5 - Nov 15th, 2023 at 12:01pm
Print Post  
Here you output verbose compline.

Thanks,
Manny
  

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


Posts: 2695
Joined: Feb 13th, 2019
Re: Build issue using vMICOR
Reply #6 - Nov 15th, 2023 at 12:35pm
Print Post  
Thanks, can you also attach the screenshot of the vMicro > General > IDE Locations screen, with the Arduino2 option selected?
  
Back to top
IP Logged
 
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Re: Build issue using vMICOR
Reply #7 - Nov 15th, 2023 at 12:47pm
Print Post  
Here you go,

Thanks,
Manny
  

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


Posts: 2695
Joined: Feb 13th, 2019
Re: Build issue using vMICOR
Reply #8 - Nov 15th, 2023 at 12:51pm
Print Post  
Thanks, and this confirms my suspicion.

Can you clear out the 3rd Text Box "Optional Physical Folder for Downloaded Board Packages", and then press OK to save it.

Then if you click vMicro > General > Rescan Toolchains and Libraries, this will then use the same files the Arduino IDE is using.

If you then use Build > Clean Solution, and then try to build the project again.

NOTE: In the Arduino IDE you have the Sparkfun ESP 32 Thing Plus selected from the Sparkfun Board package, however in vMicro  you had it selected from the ESP32 Board Package.
« Last Edit: Nov 15th, 2023 at 12:52pm by Simon@Visual Micro »  
Back to top
IP Logged
 
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Re: Build issue using vMICOR
Reply #9 - Nov 15th, 2023 at 1:49pm
Print Post  
Hi, it still failed. log output included
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Re: Build issue using vMICOR
Reply #10 - Nov 15th, 2023 at 1:56pm
Print Post  
Hi again, I loaded example blink for Arduino Uno and this time it did compile.  This is a good thing,  Don't know why my other program load on Sparkfun think plus using Arduino 2.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Build issue using vMICOR
Reply #11 - Nov 15th, 2023 at 4:54pm
Print Post  
Thanks for the update and glad the Arduino Uno code is working as expected.

Can you confirm which version of the ESP32 Board Package you have installed now? (I believe it is 2.0.10 from the previous logs).

It may also be worth deleting the "Packages" folder which is beneath the mbed\3.3.0 folder you had set previously on the IDE locations screen, and then running vMicro > General > Rescan Toolchains and Libraries, just in case these redundant files are causing a conflict.
  
Back to top
IP Logged
 
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Re: Build issue using vMICOR
Reply #12 - Nov 16th, 2023 at 1:27pm
Print Post  
Hi, tried find esp32 Board Package directory and can't find.  Can you till me the path.  I see in a directory Arduino board package. I include new log to see that help you.  I also tried another Micro nodemcu-32s which it doesn't find.  I opened Arduino 2 ide and selected Nodemcu-32s which it finds.

Thanks,
Manny
  

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


Posts: 2695
Joined: Feb 13th, 2019
Re: Build issue using vMICOR
Reply #13 - Nov 16th, 2023 at 3:51pm
Print Post  
You should be able to see the Board Package versoin in Visual Micro in vMicro > Visual Micro Explorer, on the Board Manager Tab.

The folder I mentioned to delete is in the attached file, and then run vMicro > General > Rescan Toolchains and Libraries afterwards.

Are you compiling the exact same sketch in the Arduino IDE when comparing the two?

Can you attach the Arduino IDE Log alongside the Visual Micro log if there are still issues with the same board, board options and sketch in use in both IDEs?
  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Re: Build issue using vMICOR
Reply #14 - Nov 16th, 2023 at 9:22pm
Print Post  
Hi, still having problems. I'll attached files for yo to check.

Thanks,
Manny

Maybe I should uninstall and reinstall both vMicro and Arduino 2
If you don't make head way with this.  I do have a laptop I could load with trial version to see if I can get it to work?

Thanks
  

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


Posts: 2695
Joined: Feb 13th, 2019
Re: Build issue using vMICOR
Reply #15 - Nov 17th, 2023 at 9:53am
Print Post  
From your screenshot you have entered the URL shown in the error message into the IDE Locations > Optional Board Manager URLs box.

The URL is for a GIT package which is not a valid JSON URL for a board package download, so this should be removed from the IDE Locations screen to remove this message.

The Arduino MBED boards should already be shown in Board Manager without the need for this, with the "Arduino MBED OS Boards" package now showing as Deprecated, so this can also be uninstalled from Board Manager as well.  There are now separate board packages for each of the types of MBED board to make the packages smaller and much quicker to compile.
  
Back to top
IP Logged
 
Manny
Junior Member
**
Offline


Posts: 18
Location: Texas
Joined: Oct 11th, 2016
Re: Build issue using vMICOR
Reply #16 - Nov 28th, 2023 at 2:16pm
Print Post  
Still doesn't work.  My laptop still has a active subscription to vMICRO and sketch complies with no problem and runs.  Is there a way for you to remote to my desktop and fix this issue?

Thanks,
Manny
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Build issue using vMICOR
Reply #17 - Nov 28th, 2023 at 2:48pm
Print Post  
Can you attach the requested logs from the Arduino IDE and Visual Micro, both compiling the same sketch for the same board, where Visual Micro fails?

Also please try installing Visual Micro on your spare machine mentioned previously, and see if that works as expected.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint