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 Missing quotation marks around toolchain exe paths (Read 6365 times)
Francesco14
Junior Member
**
Offline


Posts: 10
Joined: Mar 25th, 2014
Missing quotation marks around toolchain exe paths
Mar 26th, 2014 at 9:56am
Print Post  
Hi,

I am a long time user of Visual Micro for Visual Studio; I use it from about 2 years with Visual Studio 2010 on a PC with Win7 Pro 64-bit and with many different version of Arduino IDE; in the past I developed and debugged successfully many Arduino sketches.

Suddenly some days ago it stopped working; it doesn't compile any sketch claiming for missing toolchain exes (g++.exe, gcc.exe, etc.), nonetheless them are present in the configured path; unfortunately I don't remember if this problem was caused by some installation of new software on my PC. If I use the orginal Arduino IDE all sketches compile perfectly whitout errors.

Enabling the "verbose" mode I noted that when Visual Micro calls the toolchain exes, it omit the quotation marks around the file name (e.g.: C:\Program Files (x86)\arduino-1.0\hardware\tools\avr\avr\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -I"C:\Program Files (x86)\arduino-1.0\hardware\arduino\cores\arduino" -I"C:\Program Files (x86)\arduino-1.0\hardware\arduino\variants\standard" -o \CC_ArduinoSketch.cpp.o"  \CC_ArduinoSketch.cpp"  -DVISUALMICRO_COMPILER_VER=1"

I suspect that the problem is related to the omission of those quotation marks but I am unable to solve the problem by myself.

Can I have some support about this problem?

Francesco
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Missing quotation marks around toolchain exe paths
Reply #1 - Mar 26th, 2014 at 10:32am
Print Post  
Hi. Please say which version of arduino and which version of visual micro you are using. Thanks
  
Back to top
IP Logged
 
Francesco14
Junior Member
**
Offline


Posts: 10
Joined: Mar 25th, 2014
Re: Missing quotation marks around toolchain exe paths
Reply #2 - Mar 26th, 2014 at 11:01am
Print Post  
Hi Tim,

I am using the latest version of Visual Micro (1.1401.26) with Arduino v1.0.5 and v1.5.5r2.

I noted that, nonetheless I configure the toolchain path using the Configuration Manager of Visual Micro plugin, if seems to be unable to find them because the intellisense doesn't work at all (all the basic Arduino functions/classes like pinMode of Serial are not recognized and appear underlined in red in my source code).

I also tried to reload the toolchain using the Tools->Visual Micro->Reload Tool Chains command but whitout success.

If there is some known compatibility issue with my Arduino versions and the Visual Micro plug-in, please say me what is the correct version to use.

Thank you for your support.

Regards
« Last Edit: Mar 26th, 2014 at 11:08am by Francesco14 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Missing quotation marks around toolchain exe paths
Reply #3 - Mar 26th, 2014 at 11:08am
Print Post  
Tool chain path must be empty thanks
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Missing quotation marks around toolchain exe paths
Reply #4 - Mar 26th, 2014 at 11:18am
Print Post  
Hi,

The tool chain [path in options is an old setting and should be empty. We will shortly remove it from Visual Micro.

The version of Visual Micro you are using supports the version of Arduino you are using. Both should work well
  
Back to top
IP Logged
 
Francesco14
Junior Member
**
Offline


Posts: 10
Joined: Mar 25th, 2014
Re: Missing quotation marks around toolchain exe paths
Reply #5 - Mar 26th, 2014 at 1:15pm
Print Post  
Hi Tim,

I removed the path in options and now the plug-in works again!

Thank you very much!

Regards
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Missing quotation marks around toolchain exe paths
Reply #6 - Mar 26th, 2014 at 1:26pm
Print Post  
Great. Please also update your email address because the one you submitted was wrong and your notifications are bouncing back. 

I found your alternative email which I used to forward your password to you on your university web site.

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