SFML community forums
Help => General => Topic started by: atac57 on May 17, 2013, 01:09:12 am
-
I followed this tutorial to download 2.0...
http://onlyakiss.net/2013/04/how-to-install-sfml-2-0-into-ubuntu-12-04/ (http://onlyakiss.net/2013/04/how-to-install-sfml-2-0-into-ubuntu-12-04/)
and I got these errors at step 3:
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindJPEG.cmake:31 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/SFML/Graphics/CMakeLists.txt:104 (find_package)
Configuring incomplete, errors occurred!
The only thing I can think of is I'm running Ubuntu 10.04 and that tutorial is for 12.04. I have no idea where to go from here, I can't find any tutorials for installing on 10.04. Thanks for the help.
-
Have you installed libjpeg?
-
Thank you, that got me up to the linking stage. I'm trying out the sample program on the SFML tutorial, it compiled and appeared to link, but when I ran the exe ./sfml-app I got:
./sfml-app: error while loading shared libraries: libsfml-graphics.so.2: cannot open shared object file: No such file or directory
-
Nevermind, I just needed to run sudo ldconfig. Thanks for the help.