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) After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem (Read 11179 times)
NewGuy
Newbies
*
Offline


Posts: 9
Joined: May 11th, 2015
After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
May 11th, 2015 at 2:24pm
Print Post  
I read a bunch of posts, so sorry if I missed the one I need.

Uno board and Yun complies worked fine before I upgraded to IDE 1.6.4 and VM 1505.10. Now, only the UNO works without error.

When I compile for the Yun, I get the error below:

Compiling 'YunWifiWorking' for 'Arduino Yún'
Build folder: file:///C:/Users/xxx/AppData/Local/V.Micro/Arduino/Builds/YunWifiWorking/yun
Summary: Header=1 Prototypes=4 Imports=3
Additional Defines: 
Architecture Tools: C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/
Sketchbook: file:///C:/Users/xxx/Documents/Arduino
Core Include Paths
Include Path 'C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino'
Include Path 'C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\yun'
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=164 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 -DUSB_MANUFACTURER="\"Unknown\"" -DUSB_PRODUCT="\"Arduino Yun\"" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\yun" king.cpp" -o king.cpp.o"
YunWifiWorking.ino:1:20: fatal error: Bridge.h: No such file or directory
Error compiling


It doesn't matter which Yun lib/header comes first, it will fail with same error. If I use IDE 1.6.4, it compiles fine. 

In the 'Configure Ide Locations':
C:\Program Files (x86)\Arduino

I was think of removing 1.6.4 and just loading directly to c:\arduino

Any suggestions? Again, it worked before upgrade.

Thanks!


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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #1 - May 11th, 2015 at 2:27pm
Print Post  
Thanks for the post. We will retest the Yun libs over the next 24/48

Visual Micro allows you to install more than one arduino ide. Instead of using the arduino windows installer grab the arduino 1.6.1 zip and expand to a new folder then register the folder in Visual Micro as arduino 1.5

Notice I suggest using arduino 1.6.1 because that is the last release before they made some significant changes.
« Last Edit: May 11th, 2015 at 2:27pm by Tim@Visual Micro »  
Back to top
IP Logged
 
NewGuy
Newbies
*
Offline


Posts: 9
Joined: May 11th, 2015
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #2 - May 11th, 2015 at 2:30pm
Print Post  
Awesome. I will, and report back.
  
Back to top
 
IP Logged
 
NewGuy
Newbies
*
Offline


Posts: 9
Joined: May 11th, 2015
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #3 - May 11th, 2015 at 2:41pm
Print Post  
unziped to c:\ , pointed ide location to folder ...

Looks like it got the same error:

Compiling 'Bridge' for 'Arduino Yún'
Build folder: file:///C:/Users/xxx/AppData/Local/V.Micro/Arduino/Builds/Bridge/yun
Summary: Header=1 Prototypes=7 Imports=3
Additional Defines: 
Architecture Tools: c:\arduino-1.6.1/hardware/tools/avr/bin/
Sketchbook: file:///C:/Users/xxx/Documents/Arduino
All import libraries will be re-compiled
Core Include Paths
Include Path 'c:\arduino-1.6.1\hardware\arduino\avr\cores\arduino'
Include Path 'c:\arduino-1.6.1\hardware\arduino\avr\variants\yun'
"c:\arduino-1.6.1/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=161 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 -DUSB_MANUFACTURER="\"Unknown\"" -DUSB_PRODUCT="\"Arduino Yun\"" -I"c:\arduino-1.6.1\hardware\arduino\avr\cores\arduino" -I"c:\arduino-1.6.1\hardware\arduino\avr\variants\yun" "C:\Users\xxx\AppData\Local\V.Micro\Arduino\Builds\Bridge\yun\Bridge.cpp" -o "C:\Users\xxx\AppData\Local\V.Micro\Arduino\Builds\Bridge\yun\Bridge.cpp.o"
Bridge.ino:17:20: fatal error: Bridge.h: No such file or directory
Error compiling
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #4 - May 11th, 2015 at 2:48pm
Print Post  
Oh sorry you will have to use the old release of Visual Micro from a month or so ago. The link is available at the bottom of the downloads page
  
Back to top
IP Logged
 
NewGuy
Newbies
*
Offline


Posts: 9
Joined: May 11th, 2015
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #5 - May 11th, 2015 at 3:33pm
Print Post  
Well, not sure what I did now. But, that isn't working either. I removed atmel studio then reinstalled with the old (March 18th 2015) version on the page. Still shows 1505.10 under tools/options/Visual Micro/Version

change ide to 1.5+ and pointed to the C:\arduino location:

Compiling 'Bridge' for 'Arduino Yún'
Build folder: file:///C:/Users/xxx/AppData/Local/V.Micro/Arduino/Builds/Bridge/yun
Summary: Header=1 Prototypes=7 Imports=3
Additional Defines: 
Architecture Tools: c:\arduino-1.6.1/hardware/tools/avr/bin/
GCC: 4.8.1
Sketchbook: file:///C:/Users/xxx/Documents/Arduino
Core Include Paths
Include Path 'c:\arduino-1.6.1\hardware\arduino\avr\cores\arduino'
Include Path 'c:\arduino-1.6.1\hardware\arduino\avr\variants\yun'
"c:\arduino-1.6.1/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=161 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 -DUSB_MANUFACTURER="\"Unknown\"" -DUSB_PRODUCT="\"Arduino Yun\"" -I"c:\arduino-1.6.1\hardware\arduino\avr\cores\arduino" -I"c:\arduino-1.6.1\hardware\arduino\avr\variants\yun" "C:\Users\xxx\AppData\Local\V.Micro\Arduino\Builds\Bridge\yun\Bridge.cpp" -o "C:\Users\xxx\AppData\Local\V.Micro\Arduino\Builds\Bridge\yun\Bridge.cpp.o"
Bridge.ino:17:20: fatal error: Bridge.h: No such file or directory
Error compiling


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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #6 - May 11th, 2015 at 5:27pm
Print Post  
With a project open you can click "Build>Clean Solution" to ensure you have the most recent arduino sources.

There is some confusion between downloaded avr hardware from the boards manager and the avr that is installed with the arduino ide.

I will look at the arduino source to see how they have resolved this. If you have installed avr via boards manager then I suggest you remove it because 1.6.4 contains the latest arduino tool chainis the latest.

This area has been the thing holing up the main release. Unfortunately arduino made this massive changes without going through a beta. I've been working towards implementing the changes fully as opposed to a quick fix. So sorry for the hassle.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #7 - May 11th, 2015 at 6:03pm
Print Post  
Ahhh. That was a bug in the last couple of releases failing to find the ide libraries. Sorry about that it's been a busy few weeks!

The release candidate has been replaced with 1505.11
  
Back to top
IP Logged
 
NewGuy
Newbies
*
Offline


Posts: 9
Joined: May 11th, 2015
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #8 - May 11th, 2015 at 7:43pm
Print Post  
hehehe - I understand. I will load up and report back.
  
Back to top
 
IP Logged
 
NewGuy
Newbies
*
Offline


Posts: 9
Joined: May 11th, 2015
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #9 - May 11th, 2015 at 8:02pm
Print Post  
reinstalled Atmel studio 6.2 and installed the latest VM from the site (1505.11)

Well, I got a pop up error about "There was an error create an instance of the Arduino addin. Please report ..."

I tried to attach a pic of it, but the forum came back with:

"Could not open a new file on the server, check the paths and chmods D:/Domains/visualmicro.com/www/public_html/yabbfiles/Attachments"

If needed, I can post on photobucket or msg to you?

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #10 - May 11th, 2015 at 8:42pm
Print Post  
Thanks, you don;t have to reinstall as6.2 for this

Please go to control panel >add or remove programs and uninstall Visual Micro.

Then download the latest from the downloads page. 

I have refreshed the build, changed all version numbers so a clean download and install will probably solve.

Thanks
  
Back to top
IP Logged
 
NewGuy
Newbies
*
Offline


Posts: 9
Joined: May 11th, 2015
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #11 - May 11th, 2015 at 9:20pm
Print Post  
Same error Sad

I uninstalled VM via control panel and installed 1505.1101 from the site. The same error popped up. 

I'm doing a fresh install on another machine to see if any diff
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #12 - May 11th, 2015 at 9:25pm
Print Post  
I was hoping you would leave it for an hour Smiley

I replicated the error, missing windows GAC registration of data.Extensions.dll and fixed it by installing the latest release that was refreshed about 15-20 mins ago. No need to to uninstall just run the install
  
Back to top
IP Logged
 
NewGuy
Newbies
*
Offline


Posts: 9
Joined: May 11th, 2015
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #13 - May 11th, 2015 at 9:27pm
Print Post  
LOL - Funny. That is what my wife just said. So, I will try this after dinner.

Thanks.
  
Back to top
 
IP Logged
 
NewGuy
Newbies
*
Offline


Posts: 9
Joined: May 11th, 2015
Re: After 1.6.4 and VM 1505.10 Upgrade, I have Yun problem
Reply #14 - May 11th, 2015 at 11:00pm
Print Post  
WhooHoo!

It works perfectly! Thank you for the excellent support.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint