SFML community forums
Help => General => Topic started by: easy on August 15, 2011, 07:37:34 pm
-
Bonjour! :D
This is my first post here.
I've installed SFML 1.6 without problems on my system but I'd like try out the upcoming version 2. So I've followed the instructions and this is how far I've made it:
(http://kepfeltoltes.hu/thumb/110815/sfml2cmake_www.kepfeltoltes.hu_.jpg) (http://kepfeltoltes.hu/view/110815/sfml2cmake_www.kepfeltoltes.hu_.jpg)
And the directory where SMFL 2 is:
(http://kepfeltoltes.hu/thumb/110815/sfml2extract_www.kepfeltoltes.hu_.jpg) (http://kepfeltoltes.hu/view/110815/sfml2extract_www.kepfeltoltes.hu_.jpg)
The complete error message from CMake is:
Could NOT find SNDFILE (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SNDFILE_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/easy/Dokumentumok/Programozas/SFML-2/src/SFML/Audio
Configuring incomplete, errors occurred!
That is, CMake s complaining about not founding SNDFILE.
Did this happen before? How can I fix it?
Thanks in advance,
easy
-
You must have the development files of libsndfile. This is explained in the tutorial...
-
My bad!
Thanks Laurent! Now it compiled all right.