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 library to arduino project (Read 1697 times)
timiadu_cph
Newbies
*
Offline


Posts: 4
Joined: Jul 4th, 2015
Linking library to arduino project
Nov 7th, 2017 at 10:30pm
Print Post  
I'm trying to link a library to two projects, but cant seem to get them to compile. The library compiles fine, but the projects do not.
I get the error message "undefined reference to some function", which tells me the library cannot be found. I've checked project configuration and discovered that the path to the library mysteriously disappears after building.
Is there something I'm missing? Smiley
See attached image. Thanks
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Linking library to arduino project
Reply #1 - Nov 10th, 2017 at 6:09am
Print Post  
Hi,

Arduino doesn't use compiled libraries in that way.

It used arduino compatible libraries.

If you open the visual micro explorer you will see the library manager tab. There are nearly a 1000 ready to download and use arduino libraries and more can be found on the web.

  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint