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

Pages: [1]
1
General discussions / CMake Find
« on: April 24, 2011, 12:03:03 am »
Well I got the FindSFML.cmake from the git repository.  However, it seems as though it only recognizes where my include files are.  ${SFML_LIBRARIES} and ${SFML_SYSTEM_LIBRARY_RELEASE} both were empty.

I'm using ArchLinux and sfml was installed in /usr/lib for me.

Code: [Select]

[joe@joseph lib]$ ls /usr/lib |grep sfml
libsfml-audio.so
libsfml-audio.so.1.6
libsfml-graphics.so
libsfml-graphics.so.1.6
libsfml-network.so
libsfml-network.so.1.6
libsfml-system.so
libsfml-system.so.1.6
libsfml-window.so
libsfml-window.so.1.6


Is it something I'm doing wrong or does it have to do with the FindSFML.cmake file?

2
General discussions / CMake Find
« on: April 23, 2011, 10:40:11 pm »
I'm using sfml 1.6.

Is there a version for sfml 1.6, or should the cmake find from the 2.0 git repository suffice?

3
General discussions / CMake Find
« on: April 23, 2011, 01:56:54 am »
Does anyone know where I can find an find sfml cmake file?

This would be extremely helpful for making my code more portable.

Thanks,

poseidon

4
Graphics / CEGUI & openGL
« on: January 09, 2010, 02:45:01 am »
I want to be able to use sfml to handle the window and events, however, I want to use openGL to render 3d graphics and CEGUI to render a UI.  However, when I tried to use both at the same time I can't see anything being rendered by openGL.

What I simply used the code from the CEGUI tutorial.  I then created a boolean variable which decided whether CEGUI should render or not.

When I pressed the esc button a boolean variable would be changed and the following code
Code: [Select]

mWindow.Draw(mString);
mGUIManager.Draw();
mWindow.Display();

would not be called.  A method to which called all the openGL commands needed to draw a cube was called instead.

However, no cube ever shows up.

Can someone help me figure out how to get CEGUI and openGL to both take turns displaying (or maybe CEGUI overlaying over the openGL rendered scene).


Thank you for your time,


Joseph

Pages: [1]
anything