Closed shiftleftplusone closed 4 years ago
@shiftleftplusone did you create build directory and cd into it?
I realize this issue is old, but did you resolve it?
hello, thanks for your interest, but I dropped that a long time ago. Actually I still needed a simple lib to #include just for basic things like playwav(filename) and recwav(soundcardpath, filename). tbh, I also never used cmake before, not even makefile, just the Geany IDE with a couple of compile and build flags. I uninstalled cmake meanwhile completely, it's too weird to me. So I woud prefer something where cmake will not be needed at all.
hello,
I am using g++ (GCC) 6.3.0, C++(14), on my Raspberry Pi 2 Raspbian GNU/Linux 8 (jessie) Linux RPi 4.4.38-v7+ #938 SMP Thu Dec 15
I followed your instructions and installed cmake: sudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg8-dev libfreetype6-dev libudev-dev libraspberrypi-dev
and sfml-pi: sudo git clone https://github.com/mickelson/sfml-pi.git
but for the cmake cmd to build the sfml-library there are lots of errors:
cmake .. -DSFML_RPI=1 -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so
. . .