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 Can't compile anything (Read 3600 times)
canol
Newbies
*
Offline


Posts: 8
Joined: Oct 30th, 2013
Can't compile anything
Apr 23rd, 2015 at 2:58pm
Print Post  
Hello,

Sorry for the too general subject, but I didn't understand anything from the error, hence this subject.

I recently installed Visual Micro to my Visual Studio 2013 community edition, my OS is Windows 10 build 10061.

When I try to compile anything it quickly fails saying:

Code
Select All
Compiling 'MyProject' for 'Arduino Uno'
	Process: "{runtime.tools.avr-gcc.path}\bin\avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=163 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial" -I"C:\Users\XXX\Documents\Arduino\libraries\PWM" -I"C:\Program Files (x86)\Arduino\libraries" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\XXX\Documents\Arduino\libraries"  -o o"
	Process: "{runtime.tools.avr-gcc.path}\bin\avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=163 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial" -I"C:\Users\XXX\Documents\Arduino\libraries\PWM" -I"C:\Program Files (x86)\Arduino\libraries" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\XXX\Documents\Arduino\libraries" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp" -o SoftwareSerial.cpp.o"
	Process: "{runtime.tools.avr-gcc.path}\bin\avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=163 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial" -I"C:\Users\XXX\Documents\Arduino\libraries\PWM" -I"C:\Program Files (x86)\Arduino\libraries" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\XXX\Documents\Arduino\libraries" -I"C:\Users\XXX\Documents\Arduino\libraries\PWM\utility" "C:\Users\XXX\Documents\Arduino\libraries\PWM\utility\ATimerDefs.cpp" -o merDefs.cpp.o"
	Process: "{runtime.tools.avr-gcc.path}\bin\avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=163 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial" -I"C:\Users\XXX\Documents\Arduino\libraries\PWM" -I"C:\Program Files (x86)\Arduino\libraries" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\XXX\Documents\Arduino\libraries" -I"C:\Users\XXX\Documents\Arduino\libraries\PWM\utility" "C:\Users\XXX\Documents\Arduino\libraries\PWM\utility\BTimerDefs.cpp" -o merDefs.cpp.o"
Error compiling 



Do you have any guess what the problem might be?
« Last Edit: Apr 23rd, 2015 at 3:00pm by canol »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't compile anything
Reply #1 - Apr 23rd, 2015 at 3:01pm
Print Post  
You need the beta of visual micro because you have a new release of the arduino ide
  
Back to top
IP Logged
 
canol
Newbies
*
Offline


Posts: 8
Joined: Oct 30th, 2013
Re: Can't compile anything
Reply #2 - Apr 23rd, 2015 at 3:21pm
Print Post  
Thank you very much for the quick response, it worked Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint