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

Author Topic: Could NOT find SFML missing LIBRARY  (Read 4476 times)

0 Members and 1 Guest are viewing this topic.

c-jay

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Could NOT find SFML missing LIBRARY
« on: August 14, 2016, 05:24:17 pm »
Hi, I have written a little program using sfml. Now I like to install it on a fresh Ubuntu 16.01 with cmake/make but i get an error which I don' get fixed.

chris@Ubuntu-PC:~/Programme/sfml-build$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -DCMAKE_BUILD_TYPE=release ../sfml
CMake Error at FindSFML.cmake:359 (message):
    Could NOT find SFML (missing: SFML_SYSTEM_LIBRARY SFML_WINDOW_LIBRARY      
    SFML_NETWORK_LIBRARY SFML_GRAPHICS_LIBRARY SFML_AUDIO_LIBRARY)
 

I tried some solutions like setting the  SFML_ROOT but it doesn't work. Do I have to set it to the header direcory or to another directory?

If you need more details I will post it next time

c-jay

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Re: Could NOT find SFML missing LIBRARY
« Reply #1 on: August 16, 2016, 07:17:06 pm »
first install libsfml-dev....

 

anything