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 collect2.exe*:error: ld returned 1 exit status (Read 3441 times)
KVandaele
Newbies
*
Offline


Posts: 1
Joined: Feb 20th, 2016
collect2.exe*:error: ld returned 1 exit status
Feb 20th, 2016 at 4:21pm
Print Post  
I build a sketch in MS VS 2015 community edition, and use the Visual Micro Arduino plug-in for debugging. When I run the sketch without breakpoint, compiling goes well and I can run the sketch. As soon as I set a breakpoint, the sketch cannot be compiled anymore quiting with the error:

Compiling debug version of 'HAP' for 'Arduino/Genuino Uno'HAP.ino:In function `setup HAP.ino:breakWait(unsigned char) collect2.exe*:error: ld returned 1 exit status Error creating .elf

It looks as there is a conflict between my code and the debugger code. Any one has any ideas?

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