Skip to content

Instantly share code, notes, and snippets.

@abigpotostew
Created February 27, 2015 04:20
Show Gist options
  • Save abigpotostew/f893f7fe79881fdfc537 to your computer and use it in GitHub Desktop.
Save abigpotostew/f893f7fe79881fdfc537 to your computer and use it in GitHub Desktop.
ofxCairo.h failure on RPi 1 (arm6)
pi@raspberrypi ~/openFrameworks/apps/myApps/luaExample $ make
armv6l
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-2.0 libmpg123
Compiling OF library for Release
make[1]: Entering directory '/home/pi/openFrameworks/libs/openFrameworksCompiled/project'
armv6l
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-2.0 libmpg123
armv6l
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-2.0 libmpg123
make[2]: Nothing to be done for 'ReleaseABI'.
armv6l
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-2.0 libmpg123
Done!
make[1]: Leaving directory '/home/pi/openFrameworks/libs/openFrameworksCompiled/project'
Compiling luaExample for Release
make[1]: Entering directory '/home/pi/openFrameworks/apps/myApps/luaExample'
armv6l
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-2.0 libmpg123
Package -lluajit-5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `-lluajit-5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package '-lluajit-5.1' found
Package -lluajit-5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `-lluajit-5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package '-lluajit-5.1' found
Package -lluajit-5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `-lluajit-5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package '-lluajit-5.1' found
Compiling src/main.cpp
g++ -c -O3 -Wall -march=armv6 -mfpu=vfp -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -DOF_USING_MPG123 -DTARGET_RASPBERRY_PI -DSTANDALONE -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -DUSE_DISPMANX_TRANSFORM_T -I./src -I../../../addons/ofxLua/src -I../../../addons/ofxLua/src/bindings -I../../../addons/ofxLua/src/bindings/desktop -I../../../addons/ofxLua/src/bindings/linuxarm -I../../../addons/ofxLua/src/bindings/ios -I../../../addons/ofxLua/libs -I../../../addons/ofxLua/libs/lua -I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -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/math -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/video -I../../../libs/openFrameworks/app -MMD -MP -MF obj/linuxarmv6l/Release/src/main.d -MT obj/linuxarmv6l/Release/src/main.o -o obj/linuxarmv6l/Release/src/main.o -c src/main.cpp
In file included from ../../../libs/openFrameworks/ofMain.h:53:0,
from src/main.cpp:11:
../../../libs/openFrameworks/graphics/ofCairoRenderer.h:4:28: fatal error: cairo-features.h: No such file or directory
compilation terminated.
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:191: recipe for target 'obj/linuxarmv6l/Release/src/main.o' failed
make[1]: *** [obj/linuxarmv6l/Release/src/main.o] Error 1
make[1]: Leaving directory '/home/pi/openFrameworks/apps/myApps/luaExample'
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:126: recipe for target 'Release' failed
make: *** [Release] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment