File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ if not exist "obj" (
2121)
2222:: Compile the source file to an object file (with irrKlang include path)
2323
24- g++.exe -w -fexceptions -g -I. -IOpenGL\\include -IOpenGL\\include\\SDL2 -IOpenGL\\include\\Freetype -c " %SOURCE_FILE% " -o obj\\opengl.o
24+ MINGW\\bin\\ g++.exe -w -fexceptions -g -I. -IOpenGL\\include -IOpenGL\\include\\SDL2 -IOpenGL\\include\\Freetype -c " %SOURCE_FILE% " -o obj\\opengl.o
2525
2626if %ERRORLEVEL% neq 0 (
2727 echo Compilation failed.
@@ -30,7 +30,7 @@ if %ERRORLEVEL% neq 0 (
3030
3131echo Compiling %SOURCE_FILE% to object file...
3232
33- g++.exe -static-libgcc -static-libstdc++ -L.\\OpenGL\\lib -o bin\\opengl.exe obj\\opengl.o -lmingw32 -lSDL2main -lSDL2 -lSDL2_mixer -lOPENGL32 -lfreeglut -lwinmm -lfreetype
33+ MINGW\\bin\\ g++.exe -static-libgcc -static-libstdc++ -L.\\OpenGL\\lib -o bin\\opengl.exe obj\\opengl.o -lmingw32 -lSDL2main -lSDL2 -lSDL2_mixer -lOPENGL32 -lfreeglut -lwinmm -lfreetype
3434
3535if %ERRORLEVEL% neq 0 (
3636 echo Linking failed.
You can’t perform that action at this time.
0 commit comments