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 Errors compiling Arduino Example. (Read 315 times)
Livio
Junior Member
**
Offline


Posts: 55
Location: Italy
Joined: Jan 10th, 2018
Errors compiling Arduino Example.
Feb 5th, 2021 at 12:19pm
Print Post  
After many posts and many helps from this forum I can use Atmel-ICE to debug Blink Example with Visual Studio on the board MKRWiFi1010.

Now I try to use another example: EthernetHTPS, I can compile this file with Arduino IDE without errors.

I try to import: Visual Studio - Continue without code - Extensions - vMicro - Open Existing Arduino Project - I select the same code I compiled wit Arduino IDE

When I try Debug - Compile there is an error: 

Error linking for board Arduino MKR WiFi 1010
Build failed for project 'EthernetHTTPS2'
 
SSLClient.cpp.o: In function __gnu_cxx::new_allocator<SSLSession>::allocate(unsigned int, void const*)
new_allocator.h:102: undefined reference to std  __throw_bad_alloc()
 
collect2.exe*: error: ld returned 1 exit status


Here attached the output from Arduino IDE and Visual Studio

Thanks for your help
Livio
  

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


Posts: 55
Location: Italy
Joined: Jan 10th, 2018
Re: Errors compiling Arduino Example.
Reply #1 - Feb 5th, 2021 at 1:04pm
Print Post  
This Topic was moved here from Project Guidance [move by] Livio.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint