PDA

View Full Version : Error include glut.h



andrezao
25th May 2012, 19:43
Dear colleagues,

When you try to include de glut.h the following occurs:

aplication.exe exited with code -1073741515

files:
* aplication.pro

LIBS += -lglut32

other files.h \
glm.h



other files.cpp \

glm.cpp

*glm.pro
#include <GL/glut.h>

rest of file...


Someone knows solve this problem??

ChrisW67
25th May 2012, 23:31
Run the program in a debugger and find where it breaks. I guarantee it has nothing to do with the include file.

Spitfire
29th May 2012, 10:49
Exit code -1073741515 (0xC0000135) means that some libraries (dll) are missing.
I'm guessing that glut32.dll is not in the PATH nor in the directory where your app executable is.

You can use Dependency Walker (http://www.dependencywalker.com/) to verify what libraries are missing.