so im trying to get codeblocks + OF running on my beaglebone ( http://beagleboard.org/ ). The codeblocks install script works just fine but the install_dependencies script fails with:
make: Nothing to be done for `Debug'.
compiling object for ../../../openFrameworks/graphics/ofTessellator.cpp
mkdir -p obj/Release/openFrameworks/graphics
g++ -march=native -mtune=native -finline-functions -funroll-all-loops -Os -Wall -fexceptions -I../../../FreeImage/include -I../../../assimp/include -I../../../assimp/include/Compiler -I../../../cairo/include -I../../../cairo/include/libpng15 -I../../../cairo/include/pixman-1 -I../../../cairo/include/cairo -I../../../fmodex/include -I../../../freetype/include -I../../../freetype/include/freetype2 -I../../../freetype/include/freetype2/freetype -I../../../freetype/include/freetype2/freetype/internal -I../../../freetype/include/freetype2/freetype/internal/services -I../../../freetype/include/freetype2/freetype/config -I../../../glew/include -I../../../glew/include/GL -I../../../kiss/include -I../../../portaudio/include -I../../../rtAudio/include -I../../../tess2/include -I../../../poco/include -I../../../glu/include -I../../../openFrameworks/ -I../../../openFrameworks/graphics -I../../../openFrameworks/events -I../../../openFrameworks/math -I../../../openFrameworks/sound -I../../../openFrameworks/communication -I../../../openFrameworks/gl -I../../../openFrameworks/utils -I../../../openFrameworks/video -I../../../openFrameworks/3d -I../../../openFrameworks/app -I../../../openFrameworks/types -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabi/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DOF_USING_GTK -MMD -MP -MFobj/Release/openFrameworks/graphics/ofTessellator.d -MTobj/Release/openFrameworks/graphics/ofTessellator.d -o obj/Release/openFrameworks/graphics/ofTessellator.o -c ../../../openFrameworks/graphics/ofTessellator.cpp
cc1plus: error: bad value (native) for -march switch
cc1plus: error: bad value (native) for -mtune switch
make: *** [obj/Release/openFrameworks/graphics/ofTessellator.o] Error 1
there has been a problem compiling Release OF library
please report this problem in the forums
Im guessing the arm architecture is not supported. Anyone know what it would take to get it to work?
I could also try cross compiling, but in my experience that has been more of a hassle than it was worth.
I could upload the disk image somewhere if you want to try it that way. I really am trying to get OpenNI (got it compiled and installed) /Kinect to work with it but I am having USB issues
Thanks for the tip- still banging my head on this one though…
now its :
In file included from ../../../openFrameworks/graphics/ofTessellator.h:3:0,
from ../../../openFrameworks/graphics/ofTessellator.cpp:1:
../../../openFrameworks/utils/ofConstants.h:157:22: fatal error: GLES/gl.h: No such file or directory
compilation terminated.
and im running the beaglebone ubuntu distro btw.
I also tried copying the contents of my usr/include/GL folder to utils/GLES/ , which solved the above problem, but lead to others…
did it build out of the box under debian?
that would be AWESOME.
I might give android a try too, as for my purpose it shouldn’t make much of a difference.
Ok! got your image up and running,
so i guess you are just using OF for the interface libraries? (no display)
what are you making, out of curiosity?
I installed xfce4 and tightvncserver with aspirations of actually rendering something…
as you noted the default ofGlutWindow is a nOgO. replacing it ofBaseWindow will get it to compile & run, but still nothing is displayed.
perhaps I’m missing some dependency…?
i’ll check into this more in the morning
i’m really interested in working with oF on the beaglebone as well! do you know some people or blogs i could follow on the matter? i’m especially interested in hooking up the kinect with the beaglebonde
@xach - mostly just experimenting with trying to get the kinect working with it as well as a few USB devices (an NFC reader/writer). But yeah - OF is a great interface to the libs and would like to get something going like Bonescript as an addon.
jvcleave that’s awesome! I’ve been looking at trying to get my Pandaboard to work with my Kinect, but really haven’t had much time to play with it yet. I have OF more or less up and running, but I haven’t really dug into interfacing any camera with it yet. Any thoughts on how you might do graphics output?
How big was that SD Card that you installed Debian on and as a secondary q, why is it so huge?
base@factoryfactory ~/Downloads $ zcat beaglebone_debian_of_cloud9_no_FIBERS.img.gz | sudo dd of=/dev/mmcblk1p1 bs=64M
dd: writing `/dev/mmcblk1p1’: No space left on device
0+117255 records in
0+117254 records out
3903848448 bytes (3.9 GB) copied, 1469.91 s, 2.7 MB/s
Did I do something wrong or does it just require a 8GB microSD?
I am pretty sure I have it on some 4GB cards but I did buy some 8GB ones later. I was running out of space at one point as I was pulling OF from github. There may be a lot of build files as I was also compiling a bunch of NFC stuff, building Cloud9/node from scratch…
Hi Jvcleave, i m trying to use OF within a Pandaboard. Actually i’ve installed Ubuntu server 11.10 on my PandaboardES, following these instructions https://sites.google.com/site/andrewssobral/pandaboard ; but i i had a lot of troubles . I have used Damianz armv7 version of Openframework from Arturo github repo. I had issue with OpenGLES because i had omap sgx opengles lib installed instead of libgles-mesa. Running the script install_dependencies.sh was succesful. But when i create a new codeblocks project with the python script (that in path_to_openframeworks007/scripts/linux) and compiled the project, i receive error about vfp not matching . maybe it’is not a good idea run the python script for create projects…? And maybe the linux distro that you used(this: http://elinux.org/BeagleBoardDebian#SGX-Video-Acceleration ) is also suited for the PandaBoardES? this shuold helpme a lot. Maybe someone else has working with a Pandaboard and can give me some more hints…