SFML community forums

Help => General => Topic started by: emu23 on July 27, 2014, 12:34:02 pm

Title: Problem with Cmake (while building SFML)
Post by: emu23 on July 27, 2014, 12:34:02 pm
After few hours of fight with standard realases i decided to build sfml by my own, but i found it problematic too. I keep getting the same error every time i try to configure sfml in cmake. In the log window i see
Quote
C:/devlib/SFML-2.1-build/CMakeFiles/CMakeTmp/cmTryCompileExec590248793.exe: System Error: Permission denied
and many of that messages (with different .exe files)
but that's not the problem, cmake ignores that, but later there is
Quote
Found SNDFILE: C:/devlib/SFML-2.1/extlibs/libs-mingw/x86/libsndfile.a 
Configuring incomplete, errors occurred!
See also "C:/devlib/SFML-2.1-build/CMakeFiles/CMakeOutput.log".
See also "C:/devlib/SFML-2.1-build/CMakeFiles/CMakeError.log".
and then pops up error window with
Quote
Error in configuration process, project files may be invalid.

I'm using CodeBlocks as IDE in meantine i reinstalled it so you may assume that it is a fresh installation.
version codeblocks-13.12mingw-setup.exe
in Cmake i used CodeBlocks - MinGW Makefile

Source files are in C:\devlib\SFML-2.1
I want to build it in C:\devlib\SFML-2.1-build
i downloaded it today, and later i've dane it again hopping that it would help :)

here is the log file:
CMakeOutput.log
http://pastebin.com/GRWTffL0


There is a little more, in fact after failed configuration i can click this button again, and then i see in log only one line:
Quote
Configuring done
so i tried to use files from SFML-2.1-build, and even i was able to build it in codeblocks, but later it wouldnt work, and i assume that the problem may be here.
Title: Re: Problem with Cmake (while building SFML)
Post by: Hapax on July 27, 2014, 01:54:34 pm
few hours of fight with standard realases
What does this mean?
Title: Re: Re: Problem with Cmake (while building SFML)
Post by: Strelok on July 27, 2014, 02:12:01 pm
few hours of fight with standard realases
What does this mean?
SFML 2.1 official binaries?
Title: Re: Problem with Cmake (while building SFML)
Post by: emu23 on July 27, 2014, 02:28:20 pm
Yes, official binaries, sorry for imprecision. I was using GCC 4.7 MinGW (DW2) - 32 bits


EDIT:
dosn't metter i succeeded with binaries ;)