I have been trying to install SFML 2 from source but I get this error when I try to compile it
[ 43%] Built target sfml-system
[ 43%] Built target sfml-window
[ 43%] Built target sfml-network
make[2]: *** No rule to make target `/usr/local/lib/libjpeg.so', needed by `lib/libsfml-graphics.so.2.0'. Stop.
make[1]: *** [src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/all] Error 2
make: *** [all] Error 2
I have triple checked and the file '/usr/local/lib/libjpeg.so' does exist so I'm not sure whats going on. Google has failed me on this one and I couldn't find anything on the forum about it.
I'm on ubuntu 12.10 (64-bit) and I installed libjpeg using 'sudo apt-get install libjpeg-dev'.
Anyone know what I'm doing wrong?