Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm testing the glslDevil debugger with a simple (and working) SFML application in Linux + NVidia. But it always fails in the window creation step:

W! Program Start
|  glXGetConfig(0x86a50b0, 0x86acef8, 4, 0xbf8228c4)
|  glXGetConfig(0x86a50b0, 0x86acef8, 5, 0xbf8228c8)
|  glXGetConfig(0x86a50b0, 0x86acef8, 8, 0xbf8228cc)
|  glXGetConfig(0x86a50b0, 0x86acef8, 9, 0xbf8228d0)
|  glXGetConfig(0x86a50b0, 0x86acef8, 10, 0xbf8228d4)
|  glXGetConfig(0x86a50b0, 0x86acef8, 11, 0xbf8228d8)
|  glXGetConfig(0x86a50b0, 0x86acef8, 12, 0xbf8228dc)
|  glXGetConfig(0x86a50b0, 0x86acef8, 13, 0xbf8228e0)
|  glXGetConfig(0x86a50b0, 0x86acef8, 100000, 0xbf8228e4)
|  glXGetConfig(0x86a50b0, 0x86acef8, 100001, 0xbf8228e8)
|  glXCreateContext(0x86a50b0, 0x86acef8, (nil), 1)
E! Child process exited
W! Program termination forced!

And the code that fails:

#include <SFML/Graphics.hpp>
#define GL_GLEXT_PROTOTYPES 1
#define GL3_PROTOTYPES 1
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>

int main(){
    sf::RenderWindow window{ sf::VideoMode(800, 600), "Test SFML+GL" };
    bool running = true;
    while( running ){
        sf::Event event;
        while( window.pollEvent(event) ){
            if( event.type == sf::Event::Closed ){
                running = false;
            }else if(event.type == sf::Event::Resized){
                glViewport(0, 0, event.size.width, event.size.height);
            }
        }
        window.display();
    }
    return 0;
}

Is It posible to solve this problem? or get around the problem to continue the gslsDevil use?.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.