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 Linking Error (Read 885 times)
dducky
Newbies
*
Offline


Posts: 1
Joined: Aug 20th, 2019
Linking Error
Dec 22nd, 2020 at 4:12pm
Print Post  
After updating to the latest version of Visual Micro, my project can no longer be linked.
The following error message 
Error while linking for the board Arduino Nano 33 BLE
SPI.cpp.o: In function arduino::HardwareSPI::HardwareSPI()
HardwareSPI.h:104: undefined reference to vtable for arduino HardwareSPI
Build failed for project 'GLoggerV2
 
core.a(USBCDC.cpp.o)*: In function arduino::internal:TongueluggableUSBModule:TongueluggableUSBModule(unsigned char).
PluggableUSBDevice.h:38: undefined reference to vtable for arduino internal PluggableUSBModule
 
collect2.exe*: Error: ld returned 1 exit status


Does anyone have any ideas and can help me further?
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2441
Joined: Feb 13th, 2019
Re: Linking Error
Reply #1 - Dec 22nd, 2020 at 5:39pm
Print Post  
Thanks for the report.

Would it be possible to attach the full build output, with the Verbose / Show Build Properties settings set as shown at the top of this page?

It will also be useful to have a copy of the combined projectname.cpp, which is found in the Build Folder (link shown in Output to its location)
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint