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 Arduino IDE 2.0 (Read 4903 times)
rs 77tmp
Junior Member
**
Offline


Posts: 22
Joined: Apr 20th, 2022
Arduino IDE 2.0
Jul 9th, 2022 at 9:21pm
Print Post  
My program compiles OK in native 2.0, but in VM - I get an error about a an SD.h file not being present. 

I have my IDE 2.0 libraries pointing to the same location as the 1.8 libraries 

I am using 2.0 in VM, as I am developing the project in 2.0 in the arduino side, and when trying to run it in VM with the 1.8 selection, II was getting a segmentation error at startup, that was not occuring with the native arduino IDE.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino IDE 2.0
Reply #1 - Jul 9th, 2022 at 9:38pm
Print Post  
There is an Arduino 2 app in the list in the IDE Locations window in Visual Micro. It is better to use that because "Arduino 2" does not have a hardware or libs folder. You can configure both 1.8 and "Arduino 2" apps in visual micro, thens switch between them using the tool bar or vMicro menu. 

Please follow the guide in yellow above so that we can see what you have cofigured.

« Last Edit: Jul 9th, 2022 at 9:40pm by Tim@Visual Micro »  
Back to top
IP Logged
 
rs 77tmp
Junior Member
**
Offline


Posts: 22
Joined: Apr 20th, 2022
Re: Arduino IDE 2.0
Reply #2 - Jul 12th, 2022 at 9:32pm
Print Post  
When I set the drop down menu to Arduino 2

I get an error 

EnviroWatch.h:23: In file included from
EnviroWatch.ino:17: from
 
EMailSender.h: 284:12: fatal error: SD.h: No such file or directory
   #include <SD.h>

This error does not occur when compiling with 1.8, and does not occur when compiling with 2.0 native IDE.

When I run the software in 1.8, I get a segmentation error - related to a realloc in a routine called ChangeBuffer. This too does not happen in Native 2.0 (though presumably an error could happen and not raise an exception that gets flagged)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino IDE 2.0
Reply #3 - Jul 12th, 2022 at 10:44pm
Print Post  
Please post the information requested in the ywllow box above.

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint