Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Problem with Cmake (while building SFML)  (Read 2030 times)

0 Members and 1 Guest are viewing this topic.

emu23

  • Newbie
  • *
  • Posts: 2
    • View Profile
Problem with Cmake (while building SFML)
« 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.

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Problem with Cmake (while building SFML)
« Reply #1 on: July 27, 2014, 01:54:34 pm »
few hours of fight with standard realases
What does this mean?
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

Strelok

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • GitHub
Re: Re: Problem with Cmake (while building SFML)
« Reply #2 on: July 27, 2014, 02:12:01 pm »
few hours of fight with standard realases
What does this mean?
SFML 2.1 official binaries?

emu23

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Problem with Cmake (while building SFML)
« Reply #3 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 ;)
« Last Edit: July 27, 2014, 08:15:30 pm by emu23 »