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 After some ARDUINO DEBUGGER testing I cannot build projects anymore (Read 3096 times)
Bernd Neudecker
Newbies
*
Offline


Posts: 3
Joined: Jan 8th, 2013
After some ARDUINO DEBUGGER testing I cannot build projects anymore
Apr 14th, 2013 at 8:43am
Print Post  
After first session with debug extension with changing some debug options I am not able to build my project anymore.

Visual Studio reports:
Compiling 'BN_EthernetServer' for 'Arduino Mega 2560 or Mega ADK'
core.a(main.cpp.o)* : : In function `main':
main.cpp : undefined reference to `loop'
avr-objcopy* : : N_EthernetServer.elf': No such file
avr-objcopy* : : N_EthernetServer.elf': No such file
Couldn't determine program size:

Same with the Arduino-IDE, it stops with error

core.a(main.cpp.o): In function `main':
D:\Programme\arduino\hardware\arduino\cores\arduino/main.cpp:15: undefined reference to `loop'

This is what I tested: 
rebuild/cleaning project map
cleaning the files in users/.../vmicro
uninstall debug extension(not installed yet)
uninstall and reinstall vmicro-plugin
deleting all files in my project exept the source-files and build a new project-map
renaming the sources and build a new sketch/project
serching and deleting any arduino temp files 

Windows 8, Arduino IDE 1.04, Visual Studio 2012, newest stable vmicro plugins
« Last Edit: Apr 14th, 2013 at 8:43am by Bernd Neudecker »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After some ARDUINO DEBUGGER testing I cannot build projects anymore
Reply #1 - Apr 14th, 2013 at 10:20am
Print Post  
If you have same problem with arduino ide then you have an error in your sketch code. Visual micro does not alter any arduino files so we can be sure this is a code problem.

Keep in mind that with arduino projects that all source files in the sketch folder are compiled. This means that if you have copied/renamed files to back them up they might still be included in the compile unless moved to another folder.

What error do you get when attempting to compile with the arduino ide? Same as VS or different?

Make sure your sketch includes 

Code
Select All
void loop(){

}

 

« Last Edit: Apr 14th, 2013 at 10:22am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint