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 in AtmelStudio 6 with Arduino 1.6.8 and Visual Micro (Read 6326 times)
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Can't compile in AtmelStudio 6 with Arduino 1.6.8 and Visual Micro
Mar 29th, 2016 at 4:50pm
Print Post  
I upgraded my Arduino IDE and now when I work in Atmel Studio 6 (Version: 6.2.1153) I get the following:

"{runtime.tools.avr-gcc.path}/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=167 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\tools\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\tools\Arduino\hardware\arduino\avr\variants\mega" \loopback.cpp" -o \loopback.cpp.o"
The system cannot find the file specified
     Process: "{runtime.tools.avr-gcc.path}\bin\avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=167 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\tools\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\tools\Arduino\hardware\arduino\avr\variants\mega" \loopback.cpp" -o \loopback.cpp.o"
Error compiling

Not sure where to set 'runtime.tools.avr-gcc.path'

Please help!!! Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't compile in AtmelStudio 6 with Arduino 1.6.8 and Visual Micro
Reply #1 - Mar 29th, 2016 at 7:07pm
Print Post  
Hi,

Arduino has changed a lot since 1.6.5 which is the documented max version for Visual Micro in As6.2

So you need to use 1.6.5 with Visual Micro in As6.2

You need to install Visual Studio Community edition for the latest release of Visual Micro and Arduino 1.6.8

Thanks
  
Back to top
IP Logged
 
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Can't compile in AtmelStudio 6 with Arduino 1.6.8 and Visual Micro
Reply #2 - Mar 29th, 2016 at 7:21pm
Print Post  
Thank you.

I changed my Arduino rev back to 1.6.5-r5 and all is well again...  Cool
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't compile in AtmelStudio 6 with Arduino 1.6.8 and Visual Micro
Reply #3 - Mar 29th, 2016 at 7:24pm
Print Post  
Great thanks for the update. Let me know if you have problems switching to VS in the future.
  
Back to top
IP Logged
 
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Can't compile in AtmelStudio 6 with Arduino 1.6.8 and Visual Micro
Reply #4 - Mar 29th, 2016 at 7:26pm
Print Post  
Will do.  If I have time to fool with it again.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't compile in AtmelStudio 6 with Arduino 1.6.8 and Visual Micro
Reply #5 - Mar 29th, 2016 at 7:37pm
Print Post  
The only issue I found it if atmel 7 has previously been installed. Then I had to uninstall the older "Visual Studio Shell 14" that atmel studio installs before Visual Studio would install properly. It also requires the C++ option be ticked during install.

Hope that helps sometime.
  
Back to top
IP Logged
 
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Can't compile in AtmelStudio 6 with Arduino 1.6.8 and Visual Micro
Reply #6 - Mar 29th, 2016 at 7:55pm
Print Post  
That could be part of the problem, I did have atmel studio 7 installed at one time, but I uninstalled it a long time ago too.  Maybe registry issue.. who knows... i'm not a big fan of Windoze... but have to use it for work some times.

thanks.  When I have time I'll look into reinstalling VS14 again.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't compile in AtmelStudio 6 with Arduino 1.6.8 and Visual Micro
Reply #7 - Mar 29th, 2016 at 10:25pm
Print Post  
Yes when you uninstall As7 it doesn't remove the old copy of the Visual studio shell.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint