why there is an error of undefined reference on raylib?
I have tried serval times, but it won’t work. The code that I used is gcc main.c -o main.exe -O1 -Wall -std=c99 -Wno-missing-braces -I E:\Dev\w64devkit\i686-w64-mingw32\include -L E:\Dev\w64devkit\i686-w64-mingw32\lib -lraylib and the error was E:\Dev\w64devkit\bin/ld.exe: C:\Users\jake\AppData\Local\Temp\cc8QGLal.o:test.c:(.text+0x26): undefined reference to `InitWindow’ E:\Dev\w64devkit\bin/ld.exe: C:\Users\jake\AppData\Local\Temp\cc8QGLal.o:test.c:(.text+0x32): undefined reference to `SetTargetFPS’ E:\Dev\w64devkit\bin/ld.exe: C:\Users\jake\AppData\Local\Temp\cc8QGLal.o:test.c:(.text+0x37): undefined reference to `WindowShouldClose’ E:\Dev\w64devkit\bin/ld.exe: C:\Users\jake\AppData\Local\Temp\cc8QGLal.o:test.c:(.text+0x47): undefined reference to … Read more