For your first question the simpliest way is to create a file addons.make with the name of your library inside(ofxOsc for example) next to your .cbp file.
After you can use it when you made a #include “ofxOsc.h”
in your testApp.h file
I got Debian Wheezy and same configuration for CB and of.
I have exactly the same problem with linking, same list of static libraries not found, and I could not solve it with adding paths in settings ( compiler and debugger settings / Search Directories / Linker ).
I also tried to add in addon.make the following lines :
Currently the way addons are added is by adding them to the addons.make file in the project directory.
You don’t need to edit anything in Codeblocks (you used to have to, though not anymore)
For each addon, add the name of the addon to the addons.make file, one per line, e.g.
Then just compile. The codeblocks project just calls a makefile that does the rest of the magic.
If you are still getting errors, then something is wrong with your installation or setup. Try running the install_dependencies script in the Scripts/Linux/Ubuntu folder. Also, try running any addon example from the Examples/Addons directory.
By the way, there is also a plugin for Codeblocks Linux in the current development branch on github that will enable you to create a project using a wizard and add initial addons. Or you can use the projectGenerator, an OF project that generates other OF projects.