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 Compile Error on 1st use, sketch does compile in Arduino IDE (Read 1760 times)
arduino_al
Newbies
*
Offline


Posts: 2
Location: Texas
Joined: Dec 1st, 2018
Compile Error on 1st use, sketch does compile in Arduino IDE
Dec 1st, 2018 at 2:20am
Print Post  
Please Help With a Compile error on 1st installation and use of AtmelStudio V7 and Visual Micro for Arduino Uno on Windows 10.  This sketch does compile and runs correctly using the Arduino IDE.  There appears to be a missing bin directory. I reinstalled the arduino IDE and the bin directory is still missing.  The path looking for the directory is the "Architecture Tools:' in the compile output attached.  this path c:/Users/almoo/AppData/..../tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/    but no /bin/ folder exists.  Deep search cannot find the file avr-g++

What am i missing?  Thanks in advance
Al
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compile Error on 1st use, sketch does compile in Arduino IDE
Reply #1 - Dec 1st, 2018 at 2:42am
Print Post  
Thanks for the info.

It sounds like you have a partial install of hardware via Board Manager

If using avr then it comes with the arduino ide so you don't need board manager

Remove this folder: This removes all the board manager downloaded packages.

c:/Users/almoo/AppData/Local/Arduino15/packages


or remove this folder: This removes any "arduino" packages that were downloaded with board manager

c:/Users/almoo/AppData/Local/Arduino15/packages/arduino

or remove this folder then restart the arduino ide: Removes all packages and package index files from board manager

c:/Users/almoo/AppData/Local/Arduino15

note

All board manager packages can be re-downloaded at any time therefore removing the above folders does not destroy anything useful

Restart Visual Micro (IDE) after making changes or click the Rescan command
« Last Edit: Dec 1st, 2018 at 2:43am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
arduino_al
Newbies
*
Offline


Posts: 2
Location: Texas
Joined: Dec 1st, 2018
Re: Compile Error on 1st use, sketch does compile in Arduino IDE
Reply #2 - Dec 1st, 2018 at 2:59am
Print Post  
That worked beautifully, thanks so much
Al
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint