1
General discussions / SFML 2 Release?
« on: November 05, 2011, 02:50:09 pm »
I've seen some changes on SDL 1.3 page.
I hope SFML will be ready before next SDL release!
I hope SFML will be ready before next SDL release!
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.
#include <SFML/OpenGL.hpp>
#include <SFML/Window.hpp>
int main()
{
sf::ContextSettings settings;
settings.MajorVersion = 2;
settings.MinorVersion = 0;
sf::Window window(sf::VideoMode(800, 600), "SFML test", sf::Style::Default, settings);
const GLubyte* version = glGetString(GL_VERSION);
return 0;
}
przemoli@przemoli-laptop:~/Programowanie/OGLProjekt$ g++ -c ogl_version.cpp -I/home/przemoli/Programowanie/sfml2/include
przemoli@przemoli-laptop:~/Programowanie/OGLProjekt$ g++ -o ogl_version ogl_version.o -lsfml2-window -lsfml2-system -lGLU -L/home/przemoli/Programowanie/sfml2/lib/
przemoli@przemoli-laptop:~/Programowanie/OGLProjekt$ /lib/ld-linux.so.2 --library-path /home/przemoli/Programowanie/sfml2/lib/ ./ogl_version
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "� Ъ�
"
after 115 requests (114 known processed) with 0 events remaining.