Hello all,
I’ve just posted-online a package with the 0.04 version of OpenFrameworks for Code::Blocks with some modifications to make the whole package a bit more user friendly for the workshop.
Here’s the changelog:
* Code::Blocks was deleting rtAudio.o and GLee.o on project clean or
rebuild. Fixed by packing rtAudio.o into rtAudio.a and GLee.o into
GLee.a. Updated all example projects to use packaged libs.
* Post build steps were failing for the example code and presenting
a confusing error to the user although the code compiled fine. Fixed the
Code::Blocks variables used to build the path and comented out the post
build steps by default because export library copying is not needed to
run the app from inside Code::Blocks.
* Fixed all compiler warnings in examples, mostly due to declared
but unused variables and missing casts.
* Added a Linux version of the OpenCV addon and example code to the
package (this is a port of the 0.02 addon with libopencv 1.0 plus a
couple of changes needed for the workshop).
* Added a toplevel ‘docs’ folder to keep a static copy of the OF
documentation and a couple of help files on how to install Code::Blocks
and it’s dependencies on Ubuntu.
* Added an ‘ofRun.sh’ script to ‘export’ folder in an intial try to
use Code::Blocks’ target run options to run OF apps from inside CB.
This doesn’t work because CB check if the target is executable and
refuses to run executables as arguments to other executables. I still
feel this is the right way to do this, and I’ll try to work with
the CB devs to fix this.
* Fixed a compiler warning in the FOBS library header about missing
virtual destructors. This required building a new version of FOBS.
* Exposed the Joystick callbacks from GLUT to OF apps. Used the patch
found in the OF forum
(http://forum.openframeworks.cc/t/joystick-interface/418/0)
* Added a top level ‘tools’ folder to keep helper scripts. Right now
there’s only a quick’n’dirty installer script I used to install cb and
the dependencies on the 12 Linux PC’s used in the workshop, and a
wrapper script used for running OF apps from inside Code::Blocks. To
use the wrapper script you must start up Code::Blocks and change the
“Terminal to launch console programs:” field in Settings->Environment
from ‘xterm -T $TITLE -e’ to ‘xterm -T $TITLE -e
/path/to/your/of-install/0.04_cb/tools/cb_of_wrapper.sh’
Have fun,
P.