I’m trying to get Openframeworks installed on the new Raspberry Pi 2 but it is failing to even start the compile as it reports there are missing packages. I’ve tried both the Raspberry Pi install and the generic arm7 and neither work.
I’ve installed it on my old Pi without problem, I’ve followed all the steps in the same way.
the way we detect that a board is a raspberry relies slightly on the cpu type and once we detect it’s a rpi we include the arm6 libs by default so the new one having arm7 will surely fail. we’ll need to do some changes to the makefiles to detect the correct architecture.
Thanks for that. I can’t even get past the first stage. I get:
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+-3.0 libmpg123 glesv1_cm glesv2 egl
makefileCommon/config.shared.mk:260: *** couldn't find some pkg-config packages, did you run the latest install_dependencies.sh?. Stop.
The install_dependencies script didn’t fail with any kind of error. I won’t spent any more time on this now I know there are obstacles ahead right now.
I could spend sometime on this, if it would help. But I’d need some hints of where to start… is possible to get some hints on where changes in the makefile system these changes may need to happen. I have had a look through…
I’ve tried your suggestions @bakercp and I get the same problem as @rc1
../../../libs/openFrameworks/video/ofVideoGrabber.cpp:1:0: error: target CPU does not support ARM mode
makefileCommon/compile.core.mk:228: recipe for target '../../../libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Debug/libs/openFrameworks/video/ofVideoGrabber.o' failed
Doing this on the latest from github throws the error:
error: ‘shared_ptr’ is already declared in this scope
error: ‘weak_ptr’ is already declared in this scope
error: ‘enable_shared_from_this’ is already declared in this scope
Since the raspberry Pi 2 is an Armv7 device (the raspberry pi 1 was an armv6 device), you’ll need to start with the Armv7 distribution. The website hasn’t been updated for the raspberry pi 2 yet. Then you’ll need to follow the rest of the instructions in this thread.