openFrameworks-RaspberryPi/openFrameworks — pull request #32 by arturoc (2012-11-24 00:58:41+00:00)
Title: working on panda board

This joins ofxAppRPiWindow and ofAppEGLWindow in one class in the core with the option to open an x11 window or an rpi one, i think we don't need the raspberry specific window since we only need one different function. Also this will allow for applications to run in different boards if we don't have dependencies with a specific addon by default but I've kept ofxAppRpiWindow in the addon just in case

I've also removed some ifdef's that i think are not necessary, things like TARGET_NO_GLU which seem weird since the target defines are used for platforms. Perhaps we can rename them to something different like OF_USE_GLUT or similar but i think it's really few places were they are used and they can be replaced with the platforms where they are not needed, it's less flexible but i think we should deprecate GLU at some point so probably it's better to keep it simpler.

Also i would remove the mandatory dependency with ofxRaspberryPi to make the applications platform independent. For mobiles the addons are a good idea since it's more closed platforms with different operating systems but for this boards most of the classes should be the same or as much need a couple of ifdefs, then we can have addons for very specific functionality in each platform but imo they shouldn't be mandatory in the makefiles

I've added the libraries for armv7 hard float, I'm still using the old makefile system, haven't looked into the new ones in depth, @bakercp would be great if we can talk one day so you can explain me a little how they work don't have very clear what depends on what or what's the entry point of all of the files

There's also a script with the additional files for omap4 i've only tested on the panda but should work with any similar board, will post instructions on how to install everything