Skip to content

Commit abf1316

Browse files
fix
1 parent 01b5c13 commit abf1316

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runner.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

2626
if %ERRORLEVEL% neq 0 (
2727
echo Compilation failed.
@@ -30,7 +30,7 @@ if %ERRORLEVEL% neq 0 (
3030

3131
echo 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

3535
if %ERRORLEVEL% neq 0 (
3636
echo Linking failed.

0 commit comments

Comments
 (0)