Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGABRT, ERROR: No display callback registered for window 1 #2

Open
tex opened this issue May 5, 2015 · 1 comment
Open

SIGABRT, ERROR: No display callback registered for window 1 #2

tex opened this issue May 5, 2015 · 1 comment

Comments

@tex
Copy link

tex commented May 5, 2015

./bin/ex101_creating_a_plot
Registering new figure
freeglut (./bin/ex101_creating_a_plot): ERROR: No display callback registered for window 1

terminate called without an active exception
fish: Job 1, './bin/ex101_creating_a_plot ' terminated by signal SIGABRT (Abort)

@acajic
Copy link

acajic commented Sep 15, 2015

I am having the same problem when executing most simple freeglut example code.

glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);
glutInitWindowPosition(500, 500);//optional
glutInitWindowSize(800, 600); //optional
glutCreateWindow("OpenGL First Window");

glutMainLoop();

It breaks on the last line, saying:

no display callback registered for window 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants