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) Arduino libraries (Read 8202 times)
boylesg
Junior Member
**
Offline


Posts: 14
Joined: Jan 17th, 2014
Arduino libraries
Jan 18th, 2014 at 1:08am
Print Post  
Have installed Visual Micro successfully except for the fact that the 'Import Library' menu is empty / disabled.

How do you fix this?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino libraries
Reply #1 - Jan 18th, 2014 at 1:18am
Print Post  
Hi,

Sorry to hear about this problem. Have a few questions?

1) Which version of Visual Micro you are using
   Find this on "Tools>Options>Visual Micro>Version>version"

2) Which version of Arduino 1.0.x, 1.5.x, Teensy, Intel etc?

3) Which Ide? Atmel or Visual Studio? If Visual Studio then which version?

4) Confirm that compile and upload is all working okay?

5) Can you see a list of boards on the tool bar okay?

6) What is the sketchbook folder that you have set for the application you are using (or is it empty/not set)?
   Find this on the <Configuration Manager> entry that appears on the applications tool bar combobox

7) Click "Tools>Visual Micro>reset User Interface" you will be prompted to close the Ide and it will re-start. Does this fix the problem?

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


Posts: 14
Joined: Jan 17th, 2014
Re: Arduino libraries
Reply #2 - Jan 18th, 2014 at 4:00am
Print Post  
Tim@Visual Micro wrote on Jan 18th, 2014 at 1:18am:
Hi,

Sorry to hear about this problem. Have a few questions?

1) Which version of Visual Micro you are using
   Find this on "Tools>Options>Visual Micro>Version>version"

2) Which version of Arduino 1.0.x, 1.5.x, Teensy, Intel etc?

3) Which Ide? Atmel or Visual Studio? If Visual Studio then which version?

4) Confirm that compile and upload is all working okay?

5) Can you see a list of boards on the tool bar okay?

6) What is the sketchbook folder that you have set for the application you are using (or is it empty/not set)?
   Find this on the <Configuration Manager> entry that appears on the applications tool bar combobox

7) Click "Tools>Visual Micro>reset User Interface" you will be prompted to close the Ide and it will re-start. Does this fix the problem?

Thanks


1) Which version of Visual Micro you are using
   Find this on "Tools>Options>Visual Micro>Version>version"
1.1401.15

2) Which version of Arduino 1.0.x, 1.5.x, Teensy, Intel etc?
1.05

3) Which Ide? Atmel or Visual Studio? If Visual Studio then which version?
Visual Studio 2013

4) Confirm that compile and upload is all working okay?
Sketch wont compile - one of the errors is something about size_t being re-defined.

5) Can you see a list of boards on the tool bar okay?
No

6) What is the sketchbook folder that you have set for the application you are using (or is it empty/not set)?
   Find this on the <Configuration Manager> entry that appears on the applications tool bar combobox
A sketch that I originally wrote with the arduino ide

7) Click "Tools>Visual Micro>reset User Interface" you will be prompted to close the Ide and it will re-start. Does this fix the problem?
Can's see this option Tools>Visual Micro>
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino libraries
Reply #3 - Jan 18th, 2014 at 4:10am
Print Post  
Thanks for the answers. I am sorry you have had this problem with the beta download.

Please close all Ide instances, then open task manager and ensure that there are no devenv.exe processes running. If there are any then terminate them because it means visual studio has not closed down properly.

Then run the visual micro installer and again select Un-install. When that has completed please run the installer again and click install.

Then open Visual Studio and report if you can see a menu item at the top of the Ide "Tools>Visual Micro"

Thanks

ps: You will see the version has changed in the beta channel to 1401.18 which does contain some library fixes but the problem you are having is that Visual Micro has not installed fully or been setup correctly
  
Back to top
IP Logged
 
boylesg
Junior Member
**
Offline


Posts: 14
Joined: Jan 17th, 2014
Re: Arduino libraries
Reply #4 - Jan 18th, 2014 at 7:45am
Print Post  
Tim@Visual Micro wrote on Jan 18th, 2014 at 4:10am:
Thanks for the answers. I am sorry you have had this problem with the beta download.

Please close all Ide instances, then open task manager and ensure that there are no devenv.exe processes running. If there are any then terminate them because it means visual studio has not closed down properly.

Then run the visual micro installer and again select Un-install. When that has completed please run the installer again and click install.

Then open Visual Studio and report if you can see a menu item at the top of the Ide "Tools>Visual Micro"

Thanks

ps: You will see the version has changed in the beta channel to 1401.18 which does contain some library fixes but the problem you are having is that Visual Micro has not installed fully or been setup correctly


I have downloaded the install from here: https://visualmicro.codeplex.com/releases/view/106554

Either you have the wrong version here or else you still have work to do to make it compatible with Visual Studio 2013 because it just doesn't work.

I have uninstalled and installed a number of times and it still doesn't work.

Unless you believe also uninstalling Visual Studio might make a difference.

I am also trying it with Visual Studio 2010 and it appears to be working in that case - I can see the list of arduino boards in the drop down list.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino libraries
Reply #5 - Jan 18th, 2014 at 12:48pm
Print Post  
Hi,

Yes it work in 2013, my initial questions have been to ensure you have a clean installation which you have and to understand what software you have installed.

Please open Visual Studio and click "Tools>Addin Manager". This will open a window and you should see Visual Micro in the list. Please ensure the checkbox to the left or the words Visual Micro and to the immediate right of the words Visual Micro are ticked. If they are not ticked and you receive an access denied error clicking them then re-start Visual Studio using right click "Run As Administrator", then switch on the checkboxes.

If this fails we can look at one last thing.

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


Posts: 14
Joined: Jan 17th, 2014
Re: Arduino libraries
Reply #6 - Jan 19th, 2014 at 1:51am
Print Post  
Tim@Visual Micro wrote on Jan 18th, 2014 at 12:48pm:
Hi,

Yes it work in 2013, my initial questions have been to ensure you have a clean installation which you have and to understand what software you have installed.

Please open Visual Studio and click "Tools>Addin Manager". This will open a window and you should see Visual Micro in the list. Please ensure the checkbox to the left or the words Visual Micro and to the immediate right of the words Visual Micro are ticked. If they are not ticked and you receive an access denied error clicking them then re-start Visual Studio using right click "Run As Administrator", then switch on the checkboxes.

If this fails we can look at one last thing.

Thanks


Visual micro add in is present in addin manager and it is checked.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino libraries
Reply #7 - Jan 19th, 2014 at 11:49am
Print Post  
Which version of Arduino are you using
  
Back to top
IP Logged
 
boylesg
Junior Member
**
Offline


Posts: 14
Joined: Jan 17th, 2014
Re: Arduino libraries
Reply #8 - Jan 19th, 2014 at 2:55pm
Print Post  
Tim@Visual Micro wrote on Jan 19th, 2014 at 11:49am:
Which version of Arduino are you using

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino libraries
Reply #9 - Jan 19th, 2014 at 4:06pm
Print Post  
Hi,

Please find the file called Visual.Micro.Visual.Studio.Arduino.2013.AddIn in the visual micro program files folder.

The file is just a text file and can be edited with notepad. Confirm that the two dll references inside the file point to the Visual.Micro.Visual.Studio.Arduino.13.dll in the same folder.

The visual micro program files folder defaults to C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino

If the dll is correct then you do have the vs 13 version of Visual Micro installed for VS 2013 and it has been confirmed to work by other VS 2013 users.

If the dll path is correct then please close Visual Studio and run it as administrator performing a Visual Micro reset as folllows:-

To reset the arduino addin, run visual studio (devenv.exe) with the same paramaters as your "Visual Studio" application short cut passing the following /resetaddin command.

[path to devenv.exe] /resetaddin Visual.Micro.Visual.Studio.Arduino.Helper

After running Visual Studio once you can clear the /resetaddin command from the short cut.

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