Hello, I'm having a problem building the Unofficial OpenGL SDK. I have done the following as the tutorial commands:
Type premake4 plat <--- Where plat is the platform. In my case gmake since I'm using mingw under windows.
premake4 gmake
Then I proceeded to make the build for debug and release and got the following errors respectively:
make config=debug
1 2 3 4 5 6 7 8 9 10 11 12
"==== Building glload (debug) ====""==== Building glimg (debug) ====""==== Building glfw (debug) ====""==== Building freeglut (debug) ===="
freeglut_callbacks.c
In file included from src/freeglut_callbacks.c:29:0:
src/freeglut_internal.h:32:24: fatal error: config.h: No such file or directory
compilation terminated.
Makefile:152: recipe for target 'obj/Debug/freeglut_callbacks.o' failed
mingw32-make[1]: *** [obj/Debug/freeglut_callbacks.o] Error 1
Makefile:28: recipe for target 'freeglut' failed
mingw32-make: *** [freeglut] Error 2
make config=release
1 2 3 4 5 6 7 8 9 10 11 12
"==== Building glload (release) ====""==== Building glimg (release) ====""==== Building glfw (release) ====""==== Building freeglut (release) ===="
freeglut_callbacks.c
In file included from src/freeglut_callbacks.c:29:0:
src/freeglut_internal.h:32:24: fatal error: config.h: No such file or directory
compilation terminated.
Makefile:152: recipe for target 'obj/Release/freeglut_callbacks.o' failed
mingw32-make[1]: *** [obj/Release/freeglut_callbacks.o] Error 1
Makefile:28: recipe for target 'freeglut' failed
mingw32-make: *** [freeglut] Error 2
I specificially don't know what it means by src/freeglut_internal.h:32:24: fatal error: config.h as I downloaded both premake and the unofficial SDK from their official sites. I also wanted to note I did add premake to my path.
Any suggestions/advice on how to fix this problem would be greatly appreciated.