Unable to build apps on latest raspbian

Hey guys,

I’m trying to get my RPI3 up and running using this guide: https://www.libcinder.org/docs/guides/linux-notes/rpi3.html. I’ve been able to compile everything successfully, but I’m getting errors when building the basic app on latest master:

root@raspberrypi:~/Cinder/samples/BasicApp/proj/cmake/build# make

/usr/bin/cmake -H/root/Cinder/samples/BasicApp/proj/cmake -B/root/Cinder/samples/BasicApp/proj/cmake/build --check-build-system CMakeFiles/Makefile.cmake 0

/usr/bin/cmake -E cmake_progress_start /root/Cinder/samples/BasicApp/proj/cmake/build/CMakeFiles /root/Cinder/samples/BasicApp/proj/cmake/build/CMakeFiles/progress.marks

make -f CMakeFiles/Makefile2 all

make[1]: Entering directory '/root/Cinder/samples/BasicApp/proj/cmake/build'

make -f CMakeFiles/BasicApp.dir/build.make CMakeFiles/BasicApp.dir/depend

make[2]: Entering directory '/root/Cinder/samples/BasicApp/proj/cmake/build'

cd /root/Cinder/samples/BasicApp/proj/cmake/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/Cinder/samples/BasicApp/proj/cmake /root/Cinder/samples/BasicApp/proj/cmake /root/Cinder/samples/BasicApp/proj/cmake/build /root/Cinder/samples/BasicApp/proj/cmake/build /root/Cinder/samples/BasicApp/proj/cmake/build/CMakeFiles/BasicApp.dir/DependInfo.cmake --color=

make[2]: Leaving directory '/root/Cinder/samples/BasicApp/proj/cmake/build'

make -f CMakeFiles/BasicApp.dir/build.make CMakeFiles/BasicApp.dir/build

make[2]: Entering directory '/root/Cinder/samples/BasicApp/proj/cmake/build'

make[2]: *** No rule to make target '/opt/vc/lib/libEGL.so', needed by 'Debug/BasicApp/BasicApp'.  Stop.

make[2]: Leaving directory '/root/Cinder/samples/BasicApp/proj/cmake/build'

CMakeFiles/Makefile2:70: recipe for target 'CMakeFiles/BasicApp.dir/all' failed

make[1]: *** [CMakeFiles/BasicApp.dir/all] Error 2

make[1]: Leaving directory '/root/Cinder/samples/BasicApp/proj/cmake/build'

Makefile:86: recipe for target 'all' failed

make: *** [all] Error 2

Can any of you cinder geniuses assist?

Cheers,
Nick

It seems that libEGL is missing from /opt/vc/lib/libEGL.so.

Found a related post on rpi forums: https://www.raspberrypi.org/forums/viewtopic.php?t=191638
it suggests running sudo rpi-update. Does it help?

1 Like

Works great. Thanks @gabor_papp :slight_smile: