Forcing recompilation of user library
Posted: Sun Jan 29, 2017 3:27 pm
I have written a library to verify TOTP tokens. It is imaginatively named verifyTOTP and it's installed on my Linux system in ~/Arduino/libraries/verifyTOTP which, as I understand it, is the correct place.
The functions in the library are recognised in my code. One function works perfectly but I have clearly made an error in one of the other functions so I wanted to add a bit of debugging code. Unfortunately, this debugging code is not doing anything, which leads me to believe that the library is not being recompiled.
The documentation here https://www.arduino.cc/en/hacking/libraries says that I simply have to delete the .o file in my library directory and it will be recompiled. The only problem with that is that there isn't an .o file there nor anywhere else as far as I can see.
What am I missing?
The functions in the library are recognised in my code. One function works perfectly but I have clearly made an error in one of the other functions so I wanted to add a bit of debugging code. Unfortunately, this debugging code is not doing anything, which leads me to believe that the library is not being recompiled.
The documentation here https://www.arduino.cc/en/hacking/libraries says that I simply have to delete the .o file in my library directory and it will be recompiled. The only problem with that is that there isn't an .o file there nor anywhere else as far as I can see.
What am I missing?