Ofx dependencies on arm7hf

hello all,
i’m trying to compile the latest (0.8.3) ofx on an Udoo runing Udoobuntu:
http://www.udoo.org/downloads/

the install dependencies shell script didn’t find any packages to install.
apt-get is not finding any of the packages either.

i’ve tried updating and upgrading apt-get, synaptic is installed, and my list of repositories in “/etc/apt/sources.list” has:

deb http://ports.ubuntu.com/ precise main restricted universe multiverse

nonetheless, trying to install things like “openssl” or “libudev” or “gstreamer-app-0.10” with apt-get is giving me:

“E: Unable to locate package ***”

does anyone see what i’m doing wrong?

ali

so thanks to Jason VC’s help,
i’ve found that installing manually with apt-get is working, so

instead of

sudo apt-get install libcairo

i do:

sudo apt-get install libcairo2-dev

also followed JVC’s advice and made the dependency check a “warning” instead of an “error” in the

now the compilation gets much further along, but i’m having trouble with ofTrueTypeFont.
i ran this to make sure freetype is installed:

sudo apt-get install freetype*

and then tried compiling:

Compiling …/…/…/libs/openFrameworks/graphics/ofTrueTypeFont.cpp
g++ -O3 -Wall -march=armv7 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -DOF_USING_GTK -I…/…/…/libs/fmodex/include -I…/…/…/libs/glfw/include -I…/…/…/libs/glfw/include/GLFW -I…/…/…/libs/kiss/include -I…/…/…/libs/openssl/include -I…/…/…/libs/openssl/include/openssl -I…/…/…/libs/poco/include -I…/…/…/libs/rtAudio/include -I…/…/…/libs/tess2/include -I…/…/…/libs/openFrameworks -I…/…/…/libs/openFrameworks/types -I…/…/…/libs/openFrameworks/app -I…/…/…/libs/openFrameworks/gl -I…/…/…/libs/openFrameworks/graphics -I…/…/…/libs/openFrameworks/3d -I…/…/…/libs/openFrameworks/communication -I…/…/…/libs/openFrameworks/events -I…/…/…/libs/openFrameworks/sound -I…/…/…/libs/openFrameworks/math -I…/…/…/libs/openFrameworks/utils -I…/…/…/libs/openFrameworks/video -MMD -MP -MF …/…/…/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/graphics/ofTrueTypeFont.d -MT…/…/…/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/graphics/ofTrueTypeFont.o -o …/…/…/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/graphics/ofTrueTypeFont.o -c …/…/…/libs/openFrameworks/graphics/ofTrueTypeFont.cpp
In file included from …/…/…/libs/openFrameworks/graphics/ofTrueTypeFont.cpp:4:0:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
compilation terminated.
make[2]: *** […/…/…/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/graphics/ofTrueTypeFont.o] Error 1
make[1]: *** [Release] Error 2
make[1]: Leaving directory `/home/ubuntu/of_v0.8.3_linuxarmv7l_release/libs/openFrameworksCompiled/project’
make: *** [Release] Error 2
(16:21 ubuntu@udoobuntu 3DPrimitivesExample) >

so the question is how do i tell the openframeworks compilation process where a header file is?
i’ve located it on my machine:

(16:21 ubuntu@udoobuntu 3DPrimitivesExample) > locate ftheader.h
/home/ubuntu/of_v0.8.3_linuxarmv7l_release/libs/freetype/include/freetype2/freetype/config/ftheader.h
/usr/include/freetype2/freetype/config/ftheader.h
(16:47 ubuntu@udoobuntu 3DPrimitivesExample) >

Following Jason’s advice, i ran “ldd” with the compiled example on the Udoo to see what libraries it’s using; the report is below. i’m wondering if anyone sees any obvious problems, since i wasn’t able to use the install_dependencies.sh on arvm7/udoo.

i see that both libGLESv1 and lib GLESv2 are listed. could that affect my performance negatively?


ubuntu@udoobuntu: ~/of_v0.8.3_linuxarmv7l_release/examples/3d/3DPrimitivesExample/bin $ ldd 3DPrimitivesExample
libgstapp-0.10.so.0 => /usr/lib/arm-linux-gnueabihf/libgstapp-0.10.so.0 (0x2ac07000)
libgstvideo-0.10.so.0 => /usr/lib/arm-linux-gnueabihf/libgstvideo-0.10.so.0 (0x2ac2e000)
libgstbase-0.10.so.0 => /usr/lib/arm-linux-gnueabihf/libgstbase-0.10.so.0 (0x2ac49000)
libgstreamer-0.10.so.0 => /usr/lib/arm-linux-gnueabihf/libgstreamer-0.10.so.0 (0x2ac90000)
libudev.so.0 => /lib/arm-linux-gnueabihf/libudev.so.0 (0x2aaf3000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x2ab75000)
libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0x2ad36000)
libfontconfig.so.1 => /usr/lib/arm-linux-gnueabihf/libfontconfig.so.1 (0x2abcb000)
libssl.so.1.0.0 => /lib/arm-linux-gnueabihf/libssl.so.1.0.0 (0x2ad97000)
libcrypto.so.1.0.0 => /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 (0x2add4000)
libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 (0x2aee7000)
libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0x2af60000)
libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0x2af9c000)
libGLESv1_CM.so.1 => /usr/lib/libGLESv1_CM.so.1 (0x2b056000)
libGLESv2.so.2 => /usr/lib/libGLESv2.so.2 (0x2b091000)
libEGL.so.1 => /usr/lib/libEGL.so.1 (0x2aafd000)
libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0x2b0c7000)
libXrandr.so.2 => /usr/lib/arm-linux-gnueabihf/libXrandr.so.2 (0x2ab35000)
libXxf86vm.so.1 => /usr/lib/arm-linux-gnueabihf/libXxf86vm.so.1 (0x2ab8c000)
libXi.so.6 => /usr/lib/arm-linux-gnueabihf/libXi.so.6 (0x2ab98000)
libXcursor.so.1 => /usr/lib/arm-linux-gnueabihf/libXcursor.so.1 (0x2ab14000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x2abf6000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x2b1ac000)
libfreeimage.so.3 => /usr/lib/libfreeimage.so.3 (0x2b1c7000)
libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x2b26f000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x2b316000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x2ab43000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x2b380000)
/lib/ld-linux-armhf.so.3 (0x2ab55000)
liborc-0.4.so.0 => /usr/lib/arm-linux-gnueabihf/liborc-0.4.so.0 (0x2b462000)
libgmodule-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0x2aabf000)
libxml2.so.2 => /usr/lib/arm-linux-gnueabihf/libxml2.so.2 (0x2b4ba000)
libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x2b588000)
libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0x2b5a0000)
libpixman-1.so.0 => /usr/lib/arm-linux-gnueabihf/libpixman-1.so.0 (0x2b5c0000)
libpng12.so.0 => /lib/arm-linux-gnueabihf/libpng12.so.0 (0x2b634000)
libxcb-shm.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0x2ab2b000)
libxcb-render.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render.so.0 (0x2ac18000)
libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0x2b655000)
libXrender.so.1 => /usr/lib/arm-linux-gnueabihf/libXrender.so.1 (0x2b667000)
libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0x2b675000)
libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0x2b683000)
libGAL.so => /usr/lib/libGAL.so (0x2b6b9000)
libXext.so.6 => /usr/lib/arm-linux-gnueabihf/libXext.so.6 (0x2b77a000)
libXfixes.so.3 => /usr/lib/arm-linux-gnueabihf/libXfixes.so.3 (0x2b78c000)
libjpeg.so.8 => /usr/lib/arm-linux-gnueabihf/libjpeg.so.8 (0x2b798000)
libmng.so.1 => /usr/lib/arm-linux-gnueabihf/libmng.so.1 (0x2b7d2000)
libopenjpeg.so.2 => /usr/lib/libopenjpeg.so.2 (0x2b828000)
libIlmImf.so.6 => /usr/lib/libIlmImf.so.6 (0x2b844000)
libHalf.so.6 => /usr/lib/libHalf.so.6 (0x2b8d7000)
libIex.so.6 => /usr/lib/libIex.so.6 (0x2b922000)
libraw.so.5 => /usr/lib/libraw.so.5 (0x2b93e000)
libgomp.so.1 => /usr/lib/arm-linux-gnueabihf/libgomp.so.1 (0x2b9be000)
libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0x2aaca000)
libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0x2b9d1000)
libXdamage.so.1 => /usr/lib/arm-linux-gnueabihf/libXdamage.so.1 (0x2abac000)
liblcms.so.1 => /usr/lib/arm-linux-gnueabihf/liblcms.so.1 (0x2b9dd000)
libIlmThread.so.6 => /usr/lib/libIlmThread.so.6 (0x2ba08000)
libjasper.so.1 => /usr/lib/arm-linux-gnueabihf/libjasper.so.1 (0x2ba15000)
liblcms2.so.2 => /usr/lib/arm-linux-gnueabihf/liblcms2.so.2 (0x2ba56000)

I moved a post to a new topic: openFrameworks for UDOO Udoobuntu - Working Recipe