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 Problems with "portable" Arduino IDE (Read 3681 times)
Slimey
Newbies
*
Offline


Posts: 3
Joined: May 10th, 2017
Problems with "portable" Arduino IDE
May 10th, 2017 at 11:52am
Print Post  
Hello!

I am having trouble getting a "portable" version of the Arduino IDE to work correctly.

I am setting up my IDE location like this:
http://imgur.com/VtD71DG

That folder is Arduino 1.8.2 with the preferences.txt file inside the "portable" folder as described by the Arduino documentation.

When I rescan from the Visual Micro Explorer it goes blank and doesn't work. http://imgur.com/a/Hoaox

If I remove the portable directory and click rescan it works correctly.

I am using version 1705.8.0 of Visual Micro with Visual Studio 2017 (15.1)

Thanks
-Simon


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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with "portable" Arduino IDE
Reply #1 - May 11th, 2017 at 10:33pm
Print Post  
Hi,

I just tested this and it worked okay so I have a few questions.

The blanking of the explorer might be unrelated. 

Is the tool bar/vMicro menu set to "Arduino 1.6/1.8" or "Visual Micro (No IDE)" ?

After restarting the ide can you create/compile projects using the avr boards such as Uno okay?

When you open the micro explorer and click board manager does the list show the arduino avr platform?

Thanks
  
Back to top
WWW  
IP Logged
 
Slimey
Newbies
*
Offline


Posts: 3
Joined: May 10th, 2017
Re: Problems with "portable" Arduino IDE
Reply #2 - May 12th, 2017 at 2:31pm
Print Post  
Thanks for the reply!

The tool bar/vMicro menu is set to "Arduino 1.6/1.8".

After restarting the explorer is still blank. 

I can compile simple projects but any projects that reply on external libraries within the <IDE_Path>/portable/libraries directory will fail to compile. If I move those libraries to theĀ  <IDE_Path>/libraries directory I can compile correctly.

The board manager list still shows the ardunio avr platform and well as the ESP8266 boards (http://imgur.com/a/X6NMs)
« Last Edit: May 12th, 2017 at 2:32pm by Slimey »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with "portable" Arduino IDE
Reply #3 - May 12th, 2017 at 2:51pm
Print Post  
Set the sketchbook folder in the visual micro ide locations window to the portable folder.

Then portable\libraries is where custom libraries can be located.

You also need to close the solution you have created with the zillion projects and open one project and follow the first steps guide.

After you do this compile should work okay. then you can switch on "vmicro>compiler>show build folder" and "vMicro>compiler>verbose". Then click rebuild and post the output as a .txt or email to info[at]visualmicro.com with link to this post

« Last Edit: May 12th, 2017 at 2:55pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Slimey
Newbies
*
Offline


Posts: 3
Joined: May 10th, 2017
Re: Problems with "portable" Arduino IDE
Reply #4 - May 13th, 2017 at 2:40am
Print Post  
Setting the "optional sketchbook location" to <IDE_Path>/portable/sketchbook has fixed the problem!

The explorer is no longer blank and all my projects compile correctly.

Thanks very much for your help!

Do you still want a copy of the verbose build log?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with "portable" Arduino IDE
Reply #5 - May 13th, 2017 at 6:54pm
Print Post  
No thanks. I will try to reproduce the issue from what you have said.

Thanks for the update.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint