SFML community forums

Help => General => Topic started by: c-jay on August 14, 2016, 05:24:17 pm

Title: Could NOT find SFML missing LIBRARY
Post by: c-jay 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
Title: Re: Could NOT find SFML missing LIBRARY
Post by: c-jay on August 16, 2016, 07:17:06 pm
first install libsfml-dev....