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 Arduino IDE 1.5.7, Atmel Studio 6.2.11.53 and Visual Micro (Read 4108 times)
twinsen
Newbies
*
Offline


Posts: 2
Joined: Jul 30th, 2014
Arduino IDE 1.5.7, Atmel Studio 6.2.11.53 and Visual Micro
Jul 30th, 2014 at 8:36am
Print Post  
Hello I have a problem compiling any project with Arduino 1.5.7 (I need it because I also use arduino yun) with  Atmel Studio 6.2.11.53 and Visual Micro. I have tried visual micro 1407.08 and 1407.10 but nothing has changed. If I compile the same project for arduino 1.0.x it works perfectly.
Here is the compiling result:

Compiling 'prova1.5' for 'Arduino Uno'
Build folder: file:///C:/Users/myName/AppData/Local/VMicro/Arduino/Builds/prova1.5/uno
Summary: Header=1 Prototypes=1 Imports=0
Additional Defines: VISUALMICRO_COMPILER_VER=1;
Architecture Tools: C:\Program Files\Arduino-1.5.7/hardware/tools/avr/bin/
GCC: 4.8.1
Sketchbook: file:///C:/Users/myName/Documents/Arduino
Core Include Paths
Include Path 'C:\Program Files\Arduino-1.5.7\hardware\arduino\avr\cores\arduino'
Include Path 'C:\Program Files\Arduino-1.5.7\hardware\arduino\avr\variants\standard'
"C:\Program Files\Arduino-1.5.7/hardware/tools/avr/bin/avr-g++" -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=157 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"C:\Program Files\Arduino-1.5.7\hardware\arduino\avr\cores\arduino" -I"C:\Program Files\Arduino-1.5.7\hardware\arduino\avr\variants\standard" "C:\Users\myName\AppData\Local\VMicro\Arduino\Builds\prova1.5\uno\prova1.5.cpp" -o " -DVISUALMICRO_COMPILER_VER=1
Error compiling

I have already checked and all the path are correct for 1.5.x as for 1.0.x
Any suggestion?
Thanks in advance
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino IDE 1.5.7, Atmel Studio 6.2.11.53 and Visual Micro
Reply #1 - Jul 30th, 2014 at 2:10pm
Print Post  
Hi,

Thanks for the post. This looks like a bug in Visual Micro causes by the dot in the sketch name. We will fix it for the next release.

If you rename the sketch by removing/changing the dot you will need to also rename the folder that contains the sketch to the same name. 

You can also rename the atmel files such as .cppproj or you can delete the atmel files and re-open the sketch using Visual Micro which will re-create the atmel project files.

Thanks again
  
Back to top
IP Logged
 
twinsen
Newbies
*
Offline


Posts: 2
Joined: Jul 30th, 2014
Re: Arduino IDE 1.5.7, Atmel Studio 6.2.11.53 and Visual Micro
Reply #2 - Aug 4th, 2014 at 8:29am
Print Post  
thanks for your answer but unfortunatly nothing changes with scketch without dot. For example compiling "Sketch3.ino" I obtain the same output.

Compiling 'Sketch3' for 'Arduino Uno'
Build folder: 
Summary: Header=1 Prototypes=3 Imports=0
Additional Defines: VISUALMICRO_COMPILER_VER=1;
Architecture Tools: C:\Program Files\Arduino-1.5.7/hardware/tools/avr/bin/
GCC: 4.8.1
Sketchbook: file:///C:/Users/Paolo%20Cantore/Documents/Arduino
Core Include Paths
Include Path 'C:\Program Files\Arduino-1.5.7\hardware\arduino\avr\cores\arduino'
Include Path 'C:\Program Files\Arduino-1.5.7\hardware\arduino\avr\variants\standard'
"C:\Program Files\Arduino-1.5.7/hardware/tools/avr/bin/avr-g++" -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=157 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"C:\Program Files\Arduino-1.5.7\hardware\arduino\avr\cores\arduino" -I"C:\Program Files\Arduino-1.5.7\hardware\arduino\avr\variants\standard" "C:\Users\Paolo Cantore\AppData\Local\VMicro\Arduino\Builds\Sketch3\uno\MyClass.cpp" -o "C:\Users\Paolo Cantore\AppData\Local\VMicro\Arduino\Builds\Sketch3\uno\MyClass.cpp.o" -DVISUALMICRO_COMPILER_VER=1
Error compiling
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino IDE 1.5.7, Atmel Studio 6.2.11.53 and Visual Micro
Reply #3 - Aug 4th, 2014 at 11:06am
Print Post  
Hi,

Thanks for the info. Would you please close the Ide and then run the Visual Micro installer clicking uninstall, then run again and click install. This will ensure a clean install.

If the problem persists after that please switch on tools>options>visual micro>compiler>show build properties

Then run the build and email the output to info[at]visualmicro.com

Thanks very much.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint