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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Shados

Pages: [1]
1
C / Re: Problem configuring csfml2 with cmake
« on: May 30, 2013, 03:45:11 pm »
Yep, the name of the variable used in FindSFML.cmake on my system is SFML_ROOT.

Just tested something a friend mentioned to me, and manually setting the SFML_..._LIBRARY_RELEASE variables to their respective .a file paths and the SFML_INCLUDE_DIR path appropriately does let the configure/generation process work, and I can compile from that. Hope that helps?

2
C / Re: Problem configuring csfml2 with cmake
« on: May 30, 2013, 03:30:26 pm »
Alright, just tried deleting the cache & defining SFML_ROOT as before hitting configure, same error output q.q

3
C / Re: Problem configuring csfml2 with cmake
« on: May 30, 2013, 03:18:36 pm »
Here's what I did (from cmake-gui, with source/build directories set):
1. File->Delete Cache
2. Hit configure
3. Add Entry -> Name: SFML_ROOT, Type: Path, Value: C:/Program Files (x86)/SFML, left 'Description' blank
4. Hit configure again, get error output posted previously

Is there any other information you might need?

4
C / Re: Problem configuring csfml2 with cmake
« on: May 30, 2013, 03:04:31 pm »
Setting SFML_ROOT to C:\Program Files (x86)\SFML, where `mingw32-make install` installed SFML to by default, didn't help - I'm getting exactly the same error output. The DLLs & .a files are definitely in there under bin/ and lib/, respectively.

5
C / Re: Problem configuring csfml2 with cmake
« on: May 30, 2013, 02:18:36 pm »
I let it install to the default path at C:\Program Files (x86)\SFML, I haven't set SFML_ROOT

6
C / Re: Problem configuring csfml2 with cmake
« on: May 30, 2013, 02:10:25 pm »
So, I gather from reading this thread that I should just be able to copy the FindSFML.cmake file to my cmake/Modules directory? Because when I do that and then run configure, I get:

CMake Error at C:/.../cmake-2.8.11-win32-x86/share/cmake-2.8/Modules/FindSFML.cmake:199 (message):
  Could NOT find SFML (missing: SFML_SYSTEM_LIBRARY SFML_WINDOW_LIBRARY
  SFML_NETWORK_LIBRARY SFML_GRAPHICS_LIBRARY SFML_AUDIO_LIBRARY)
Call Stack (most recent call first):
  src/SFML/CMakeLists.txt:27 (find_package)


Configuring incomplete, errors occurred!

Am I missing something here?

Pages: [1]
anything