Go Down

Topic: How to build a library from the Arduino IDE? (Read 725 times) previous topic - next topic

Mega

I want to use the servo library in my Arduino project.
However I want to perform some minor modifications to the code of the library.
I noticed that when I use the 'Import Library' in the Arduino IDE, the library is rebuild.
However, this is only done the first time the library is imported.

So my question is, how can I rebuild a library?
Or if this not possible, how can I remove the 'imported library' such that I can trigger a build
by redoing the 'import library' operation?

Thanks!
Visit my robotics blog at http://megabotblog.blogspot.com/

mem

#1
Dec 23, 2007, 06:13 pm Last Edit: Dec 23, 2007, 06:16 pm by mem Reason: 1
delete the .o file in the directory you want the library rebuilt.
A new one will be generated when you recompile the sketch that includes the library.

Mega

Thanks!
I could have figured out that one myself... :P
Visit my robotics blog at http://megabotblog.blogspot.com/

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy