SFML community forums
Help => General => Topic started by: seyuup on September 22, 2016, 03:58:08 am
-
Hello, I've been trying to build SFML from source over the past few days (I'm used to just using Visual Studio, but I wanted to try using CLion with MinGW-w64.
While following the build tutorial on the main site, I unfortunately encountered an error that I have no idea how to solve. Here is Cmake and the error.
(http://i1356.photobucket.com/albums/q724/seyuup/Capture_zps3sjvwfou.png)
I hope someone will be able to share some insight on helping me solve the issue.
-
Do you have a graphics driver installed?
-
You're having some issues with your environment/path.
CMake somehow picked up some stuff from MinGW and some stuff from Cygwin. That shouldn't happen. Try removing Cygwin's bin dir from your path, then try again starting from scratch.
-
eXpl0it3r - Yes, I just recently updated my Nvidia GeForce driver to GeForce Game Ready.
Mario - Ok, I will remove it from the path. How exactly do I start from scratch? Remove any files created in SFML_2.4.0_BUILD and clear Cmake's cache?
Thanks for the speedy responses!
-
Yes, that's the easiest way to do so.
-
Mario - Thank you very much, that did the trick. I think I'm going to make a video showing how to setup SFML with Clion, as it was quite a mess trying to figure it out with little knowledge of MinGW and Cmake.
Thanks again.