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
Hot Topic (More than 8 Replies) visual micro board gray out and no board list (Read 13597 times)
Jerry15
Junior Member
**
Offline


Posts: 10
Joined: May 13th, 2014
visual micro board gray out and no board list
May 14th, 2014 at 12:44am
Print Post  
Installed the latest visual micro and debugger in visual studio 2010 ide.  But have no board list and board in dropdown is grayed out.  Arduino download ide works fine.  Using windows 8.1.  Any  ideas?  (Have an earlier version of visual micro installed on a different windows 7 computer with no problem.)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: visual micro board gray out and no board list
Reply #1 - May 14th, 2014 at 12:44pm
Print Post  
Hi,

If using Arduino 1.5 then please ensure you have used the Arduino 1.5.x location option in the Visual Micro options

Thanks

  
Back to top
IP Logged
 
Jerry15
Junior Member
**
Offline


Posts: 10
Joined: May 13th, 2014
visual micro will not compile
Reply #2 - May 14th, 2014 at 1:21pm
Print Post  
Got the board problem fixed.  Now my visual micro test case will not compile.  Get the following message:
"Compiling 'TestVisualMicro' for 'Arduino Uno'
CreateProcess*:No such file or directory
Error compiling"
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: visual micro board gray out and no board list
Reply #3 - May 14th, 2014 at 1:23pm
Print Post  
Please confirm the exact path you have entered into the Ide location field?

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


Posts: 10
Joined: May 13th, 2014
Re: visual micro board gray out and no board list
Reply #4 - May 14th, 2014 at 9:34pm
Print Post  
using "c:\Program Files (x86)\Arduino"  as the path. Same as the path on my windows 7 pc that works when compling. But on my windows 8.1 desktop I get the compling error using the same path.
  
Back to top
 
IP Logged
 
Jerry15
Junior Member
**
Offline


Posts: 10
Joined: May 13th, 2014
This is the output received when trying to compile the "Blink" sketch in visual micro
Reply #5 - May 15th, 2014 at 1:04am
Print Post  
Compiling 'Blink' for 'Arduino Uno'
Build folder: file:///C:/Users/Jerry/AppData/Local/VMicro/Arduino/Builds/Blink/uno
Summary: Header=1 Prototypes=3 Imports=0
Additional Defines: VISUALMICRO_COMPILER_VER=1;
Architecture Tools: C:\Users\Jerry\Documents\Arduino\hardware\tools\avr\bin\
Sketchbook: file:///C:/Users/Jerry/Documents/Arduino
Include Path 'c:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino'
Include Path 'c:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard'
Include Path 'c:\Program Files (x86)\Arduino\libraries'
Include Path 'c:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries'
Include Path 'C:\Users\Jerry\Documents\Arduino\libraries'
"C:\Users\Jerry\Documents\Arduino\hardware\tools\avr\bin\avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=156 -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\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\Jerry\Documents\Arduino\libraries" "C:\Users\Jerry\AppData\Local\VMicro\Arduino\Builds\Blink\uno\Blink.cpp" -o "C:\Users\Jerry\AppData\Local\VMicro\Arduino\Builds\Blink\uno\Blink.cpp.o" -DVISUALMICRO_COMPILER_VER=1
CreateProcess*:No such file or directory
Error compiling
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: visual micro board gray out and no board list
Reply #6 - May 15th, 2014 at 10:40am
Print Post  
Hi,

If you have set a winAVR path in the tools>options>visual micro then please clear it.

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


Posts: 10
Joined: May 13th, 2014
Re: visual micro board gray out and no board list
Reply #7 - May 16th, 2014 at 1:10am
Print Post  
No winAVR path under tool chains, it is blank next to "avr"
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: visual micro board gray out and no board list
Reply #8 - May 16th, 2014 at 12:17pm
Print Post  
Okay we have a stray path in your config somewhere probably from an older release. To save us to exploration time please do this...

The easiest fix is to close the Ide, open regedit.exe and delete the key "HK_CURRENT_USER\Software\Visual Micro"

Then re-start the ide and re-enter the Arduino IDE location when prompted.

Thanks

  
Back to top
IP Logged
 
Jerry15
Junior Member
**
Offline


Posts: 10
Joined: May 13th, 2014
Re: visual micro board gray out and no board list
Reply #9 - May 16th, 2014 at 11:51pm
Print Post  
Followed your instructions but no change.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: visual micro board gray out and no board list
Reply #10 - May 17th, 2014 at 1:58am
Print Post  
Please switch on "tools>options>visual micro>compiler>show build properties" then run the compile again

For some reason Visual Micro has resolved the arduino tools for the Uno to "C:\Users\Jerry\Documents\Arduino\hardware\tools\avr\bin" instead of "c:\Program Files (x86)\Arduino\hardware\arduino\avr"

Hopefully the build properties will show what and why

Thanks

  
Back to top
IP Logged
 
Jerry15
Junior Member
**
Offline


Posts: 10
Joined: May 13th, 2014
Re: Last half of output
Reply #11 - May 17th, 2014 at 8:16pm
Print Post  
ide.location.key=Arduino15x
ide.location.ide.winreg=Arduino 1.5.x Application
ide.location.sketchbook.winreg=Arduino 1.5.x Sketchbook
ide.location.sketchbook.preferences=sketchbook.path
ide.appid=arduino15x
location.sketchbook=C:\Users\Jerry\Documents\Arduino
vm.boardsource.path=C:\Program Files (x86)\Arduino\hardware\arduino\avr
vm.platformname.name=avr
build.arch=AVR
vm.runtime.compiler.showwarnings=false

Compiling 'Blink' for 'Arduino Uno'
Build folder: file:///C:/Users/Jerry/AppData/Local/VMicro/Arduino/Builds/Blink/uno
Summary: Header=1 Prototypes=3 Imports=0
Additional Defines: VISUALMICRO_COMPILER_VER=1;
Architecture Tools: C:\Users\Jerry\Documents\Arduino\hardware\tools\avr\bin\
Sketchbook: file:///C:/Users/Jerry/Documents/Arduino
Include Path 'C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino'
Include Path 'C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard'
Include Path 'C:\Program Files (x86)\Arduino\libraries'
Include Path 'C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries'
Include Path 'C:\Users\Jerry\Documents\Arduino\libraries'
"C:\Users\Jerry\Documents\Arduino\hardware\tools\avr\bin\avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=156 -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\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" -
« Last Edit: May 18th, 2014 at 2:46pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Jerry15
Junior Member
**
Offline


Posts: 10
Joined: May 13th, 2014
Re: First part of output
Reply #12 - May 17th, 2014 at 8:18pm
Print Post  
build.board=AVR_UNO
build.core=arduino
build.variant=standard
runtime.ide.path=C:\Program Files (x86)\Arduino
build.system.path=C:\Program Files (x86)\Arduino\hardware\arduino\avr\system
runtime.ide.version=156
« Last Edit: May 18th, 2014 at 2:49pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: visual micro board gray out and no board list
Reply #13 - May 18th, 2014 at 2:54pm
Print Post  
Thanks for the info. Sorry about the delay.

Can you please look to see if you have a folder called ""C:\Users\Jerry\Documents\Arduino\hardware\tools\avr\bin"

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


Posts: 10
Joined: May 13th, 2014
Re: visual micro board gray out and no board list
Reply #14 - May 18th, 2014 at 8:24pm
Print Post  
Yes, I do have that folder. Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: visual micro board gray out and no board list
Reply #15 - May 19th, 2014 at 10:18am
Print Post  
Hi Jerry,

It sounds like that folder incorrectly exists on your machine. Visual Micro can use the location for custom hardware however in your case I suspect the folder exists by mistake?

In any event we will ensure that Visual Micro ignores it in future releases if it contains invalid tool chain files. Unless you have a reason for the folder to exist I suggest you remove or rename it then re-start the Ide and all will work.

nb: The folder is normally created when you install the arduino ide in the location where the ide is being installed to. So this suggests a previous arduino installation existed in your documents folder which would not be a good location because libraries etc might become confused

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


Posts: 10
Joined: May 13th, 2014
Re: visual micro board gray out and no board list
Reply #16 - May 20th, 2014 at 12:05am
Print Post  
Thanks Tim,  That worked
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint