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 Undefined reference to 'Bridge (Read 4454 times)
Stefaan
Newbies
*
Offline


Posts: 2
Joined: Feb 3rd, 2016
Undefined reference to 'Bridge
Feb 3rd, 2016 at 12:46pm
Print Post  
Hi,

I use Visual Micro on top of VS2015 community edition.  The version of the Arduino IDE is 1.6.7.  My laptop OS is Windows 10.

I get the underneath "undefined reference" error trying to compile this simplified program (Arduino Yùn target).  The same code compiles without a glitch in the Arduino IDE.

Code (C++)
Select All
#include <Bridge.h>
void setup()
{
	Bridge.begin();
}

void loop()
{
}
 



This is the error message :
Code
Select All
Compiling 'Bridge_test' for 'Arduino Yún'
Bridge_test.cpp.o:In function `HardwareSerial::begin(unsigned long)
HardwareSerial.h:undefined reference to `Bridge
HardwareSerial.h:undefined reference to `Bridge
Bridge_test.cpp.o:In function `SerialBridgeClass::begin(unsigned long)
Bridge.h:undefined reference to `Bridge
Bridge.h:undefined reference to `Bridge
Bridge.h:begin()
collect2.exe*:error: ld returned 1 exit status
Error creating .elf
 

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Undefined reference to 'Bridge
Reply #1 - Feb 3rd, 2016 at 12:50pm
Print Post  
Thanks for the report. It is discussed here http://www.visualmicro.com/forums/YaBB.pl?num=1452348321

Will be fixed later today

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Undefined reference to 'Bridge
Reply #2 - Feb 4th, 2016 at 4:54pm
Print Post  
Fixed in 1602.3
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint