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 - infinitebox

Pages: 1 [2]
16
SFML projects / Re: SFGUI (0.1.1 released)
« on: November 18, 2013, 09:04:45 am »
I haven't built SFML as of late, not sure if the CMake scripts got a change, but it sounds rather that you're <path-to-sfml> on SFML_ROOT is not set right.
Does the specified directory contain the lib and include directories of SFML?
I had my lib files in different directories so CMake couldn't find them :P (it was a custom VS2013 build).

17
SFML projects / Re: SFGUI (0.1.1 released)
« on: November 18, 2013, 08:55:39 am »
That you'll have to define SFML_ROOT is said in the User Guide, unfortunately the part with actually finding SFML, isn't explain though.

For CMake to find SFML you'll have to add CMAKE_MODULE_PATH and set path to <path-to-sfml>/cmake/Modules/. Then you set SFML_ROOT to <path-to-sfml> and you should be fine. On the other hand you can manually install the FindSFML.cmake to <path-to-cmake>/share/cmake-2.8/Modules, just make sure to update every time it changes in SFML.

Im also having trouble with this. After doing what you've explained, I'm now getting a "Could NOT find SFML (missing: SFML_GRAPHICS_LIBRARY SFML_WINDOW_LIBRARY SFML_SYSTEM_LIBRARY)" error in CMake.

The call stack shows:
CMakeLists.txt:22 (find_package)



UPDATE: nvm. my problem was my lib files were in different directories :P

18
Graphics / Re: [2.0] RenderWindow, GLStates, and VBOs
« on: August 14, 2013, 01:04:57 pm »
Hi,

Sorry to dig this back up, but currently I'm experiencing the exact problem that the OP ran into. Basically calling pushGLStates() and popGLStates() alone will crash the application. This can be re-mediated by calling
glDisableClientState(GL_COLOR_ARRAY);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);

The application crashes again if I draw a sf::CircleShape in between pushGLStates() and popGLStates()..
Visual studio returns an "Access violation reading location 0x00000000" error dialog.

I would like to know if there's a work around for this. I am doing an OpenGL unit this semester and I wanted to use SFML instead of Freeglut or GLFW for windowing, and 2D stuff.

I'm using SFML2.1 and OpenGL 3.2.

19
General discussions / Re: SFML Game Development -- A book on SFML
« on: June 28, 2013, 04:12:19 pm »
Hi. If I purchase the book from Amazon, will I get the "free eBook + free PacktLib access" to the book?  :)

Pages: 1 [2]
anything