1
General / Issue locating SFML libraries on Windows
« on: October 18, 2015, 02:39:47 pm »
Hi,
I'm trying to compile some examples using the latest SFML release on Windows with the FindSFML.cmake module contained within. Problem is, I can't locate the libraries anymore.
I have the SFML_ROOT environment variable set to C:/C++ Libs/sfml 2.3.2/, yet the includes and libs can't be found, whereas setting the CMake variable SFML_ROOT to the aforementioned path results in the libraries being found correctly.
On a hunch, I displayed the values of both ${SFML_ROOT} and $ENV{SFML_ROOT}, but they are different (the environment variable one is using backslashes, instead of forward slashes). Issue on FindSFML.cmake or CMake itself?
- SFML 2.3.2 x86
- MinGW 4.9.2 x86
- cMake 3.0.2
I'm trying to compile some examples using the latest SFML release on Windows with the FindSFML.cmake module contained within. Problem is, I can't locate the libraries anymore.
I have the SFML_ROOT environment variable set to C:/C++ Libs/sfml 2.3.2/, yet the includes and libs can't be found, whereas setting the CMake variable SFML_ROOT to the aforementioned path results in the libraries being found correctly.
On a hunch, I displayed the values of both ${SFML_ROOT} and $ENV{SFML_ROOT}, but they are different (the environment variable one is using backslashes, instead of forward slashes). Issue on FindSFML.cmake or CMake itself?
- SFML 2.3.2 x86
- MinGW 4.9.2 x86
- cMake 3.0.2