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 Windows Install Issue (Read 6258 times)
miketoo
Newbies
*
Offline


Posts: 5
Location: Coppell, Texas
Joined: Jan 4th, 2014
Windows Install Issue
Jan 4th, 2014 at 1:17am
Print Post  
Environment: Windows 7
Arduino IDE 1.5.4
Visual Studio 2008 Pro

Download Visual Micro
Add-in Appears in the Add-in list
I want to start a new project...
NEW->FILE->ARDUINO PROJECT but when I key
NEW->FILE... there is no ARDUINO PROJECT to select.

Visual Micro with all its associate options appears in the TOOLS menu.

If I choose OPEN->FILE and navigate to an Arduino
directory find a *.pde file, the file opens in VS but
there is no option to BUILD or run DEBUG...

If I try to create a simple *.ino text file to blink the LED
I do not have an option to run (via Debug) or Build...

Have I missed a step in the install process??? Undecided
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Windows Install Issue
Reply #1 - Jan 4th, 2014 at 1:24am
Print Post  
Hi,

1)

I assume you are saying "File>Open>Sketch Project" is missing? (It was renamed from "Arduino Project" to sketch project in the last release)

If you have missing File menu menu items then please click "Tools>Visual Micro>Reset User Interface". Which will close and re-start Visual Studio (save your work first)

2)

Compile and run uses the standard Visual Studio menu items (not created by Visual Micro). What happens when you press F5 or click the menu item called "Debug>Start Debugging"?

Can you confirm you have the VC++ module for VS 2008 installed?

Thanks
  
Back to top
IP Logged
 
miketoo
Newbies
*
Offline


Posts: 5
Location: Coppell, Texas
Joined: Jan 4th, 2014
Re: Windows Install Issue
Reply #2 - Jan 4th, 2014 at 1:40am
Print Post  
Hello...
1a. There is no "Sketch Project" option.  When I click FILE->OPEN I am given the following options: PROJECT/SOLUTION, WEBSITE, FILE, CONVERT - Selecting PROJECT/SOLUTION takes me to WINDOWS EXPLORER to locate and select the project... 
1b. Selecting TOOLS->VISUAL MICRO->Reset User Interface does not change the menu options...
2. Haven't tried F5, but Debug->Start Debugging is grayed out and unselectable.
3. VC++ IS installed and the TEMPLATES I have to choose from if I go FILE->NEW->PROJECT are VC++ templates.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Windows Install Issue
Reply #3 - Jan 4th, 2014 at 1:47am
Print Post  
Hi,

Thanks for the clear report. 

I guess the standard compile debug/start commands are probably grayed out because you do not have a project open that can be compiled. 

Normally Visual Micro will create and open a project for you when using the menu command(s) that you can not currently see.

It sounds like Visual Micro is not loading.

Question: When you clicked "Reset User Interface" did VS close and re-start automatically after your were prompted to continue?

Thanks

  
Back to top
IP Logged
 
miketoo
Newbies
*
Offline


Posts: 5
Location: Coppell, Texas
Joined: Jan 4th, 2014
Re: Windows Install Issue
Reply #4 - Jan 4th, 2014 at 1:58am
Print Post  
When I "Reset User Interface" it appears to re-start VS.
It does return me to the initial page with the Headlines and from where I would launch projects, files, etc. so I would say it has been re-started.
There are NO boards displayed on the tool bar but they
do appear on TOOLS->VISUAL MICOR->BOARDS.

Admin: This means that Visual Studio had not shutting down properly. Close all instances of Visual Studio and terminate any remaining devenv.exe processes. devenv.exe is the name of the Visual Studio .exe program.  (see comment from miketoo later in this thread)
« Last Edit: Jan 4th, 2014 at 5:23pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
miketoo
Newbies
*
Offline


Posts: 5
Location: Coppell, Texas
Joined: Jan 4th, 2014
Re: Windows Install Issue
Reply #5 - Jan 4th, 2014 at 2:53am
Print Post  
I've uninstalled then downloaded and reinstalled VM.
Still don't get "Sketch Project" in the FILE->OPEN->... stream.  There was a change in behavior... the DEBUG
option is no longer grayed out but the complier complains
"Debug WIN32" is out of date. Clicking YES to build it gets me by the message but the compiler complains it can't find "lightfun.exe" (lightfun is the name of the *pde file.)  I'm not sure why the compiler is looking for an exe file since that is what the compiler is supposed to build.. ???

Admin: This happens if Visual Micro has not loaded/installed properly. In this case Visual Studio attempts a normal C++ compile of the project as an .exe.

« Last Edit: Jan 4th, 2014 at 5:20pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
miketoo
Newbies
*
Offline


Posts: 5
Location: Coppell, Texas
Joined: Jan 4th, 2014
Re: Windows Install Issue
Reply #6 - Jan 4th, 2014 at 3:06am
Print Post  
I completely shut-down and restarted VS.... magically I now have the Sketch Project option in FILE->OPEN->...

I created a quick LED blinking sketch, compiled and successfully ran it. 

Let's see if it is still the tomorrow...
Thanks for your quick responses and help.

« Last Edit: Jan 4th, 2014 at 3:07am by miketoo »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Windows Install Issue
Reply #7 - Jan 4th, 2014 at 5:18pm
Print Post  
Well done. That sounded like VS hadn't shutdown properly during the install of Visual Micro. 

VS will send a message to Visual Micro the very first time it starts after Visual Micro has installed. This is when some menu items need to be created Visual Micro. This includes the menu items you reported as missing.

So ensuring VS makes a full/clean re-start was good thinking!

Thanks for the update
« Last Edit: Jan 4th, 2014 at 5:19pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint