Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Creating CMake files of SFML 2 on Linux Mint Debian  (Read 3416 times)

0 Members and 1 Guest are viewing this topic.

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Creating CMake files of SFML 2 on Linux Mint Debian
« 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:



And the directory where SMFL 2 is:



The complete error message from CMake is:
Code: [Select]
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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Creating CMake files of SFML 2 on Linux Mint Debian
« Reply #1 on: August 15, 2011, 08:37:21 pm »
You must have the development files of libsndfile. This is explained in the tutorial...
Laurent Gomila - SFML developer

easy

  • Full Member
  • ***
  • Posts: 146
    • MSN Messenger - easy82.contact@gmail.com
    • View Profile
    • Email
Creating CMake files of SFML 2 on Linux Mint Debian
« Reply #2 on: August 15, 2011, 09:28:54 pm »
My bad!

Thanks Laurent! Now it compiled all right.

 

anything