How to display header in .cpp
-
I'm changing over from another IDE and have a newbie question regarding: how to get my .hpp into this: <>
As instructed I created an includepath in .pro:
INCLUDEPATH += "C:\\MinGW\\include\\GL\\"then, in main.cpp:
GL/glut.h>But, get error:
GL/glut.h: No such file or directory.
Of course I need this. -
Hi
try
INCLUDEPATH += "C:/MinGW/include/GL"and
#include "glut.h" -
Hi,
You already have
GLin yourINCLUDEPATHstatement so you should either remove it from there or change the#includestatement from your main.cpp.