SFML community forums

Help => General => Topic started by: Dreamflask on February 16, 2015, 07:33:46 pm

Title: [SOLVED]CMake GNUtoMS building error
Post by: Dreamflask on February 16, 2015, 07:33:46 pm
Hello guys,
i cloned the Git master SFML repository.
Now i want to build it with cmake & mingw32_make.
(I followed: http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.php)
This is my %PATH% Variable:
C:\Program Files (x86)\CMake\bin;C:\Microsoft Visual Studio 2013 Ultimate\VC\bin;C:\MinGW\bin;
I always run cmd in Admin mode!

My Problem looks like this (but only if i checked GNUtoMS because i want .lib prefix)
(http://s23.postimg.org/3x4la0l7v/fail.png)
I dont know what to do here :S (googled and searched a lot)
Please help

Dreamflask
Title: Re: CMake GNUtoMS building error
Post by: eXpl0it3r on February 16, 2015, 08:23:32 pm
I'm not sure what is all required, but I think converting a MinGW/GCC import library to VS import library only works for pure C libraries or maybe some very rare C++ cases.
As such you should build SFML for your MinGW compiler and build SFML for your VS 2013 compiler and not try to build with one compiler for the other compiler. ;)
Besides there are pre-built binaries for Visual Studio 2013.
Title: Re: CMake GNUtoMS building error
Post by: Dreamflask on February 16, 2015, 09:32:10 pm
Thanks, it worked now :)