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.


Topics - armornick

Pages: [1]
1
Window / segfault when trying to open a window
« on: June 23, 2012, 11:30:32 am »
Hey everyone

I'm trying to use SFML for an application but my application segfaults when I try to open a window.

I'm using Code::Blocks and I've set up my project like shown in the tutorial. I'm using SFML 1.6.

These are the relevant parts of my code:
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");

. . .

bool Running = true;
while (Running)
{
    App.Display();
}

 

I've also tried copying the code from the tutorial and creating an SFML template project, with the same results.

Other information which is probably irrelevant:
  • My graphics card is Intel Graphics with a Core i3. This should support up to OpenGL 2.1
  • The rest of my code is using LuaJIT 2.0

I hope someone can help me, since I really want to do more with SFML.

Pages: [1]