我有一个关于SDL编译的问题,我使用DEV C ++编译器一个SDL程序,但是有一个错误,错误日志:
d:\program files (x86)\dev-cpp\mingw64\x86_64-w64-mingw32\bin\ld.exe cannot find -lSDLmain
d:\program files (x86)\dev-cpp\mingw64\x86_64-w64-mingw32\bin\ld.exe cannot find -lSDL
d:\program files (x86)\dev-cpp\mingw64\x86_64-w64-mingw32\bin\ld.exe cannot find -lobjc
D:\C++\SDL\collect2.exe [Error] ld returned 1 exit status
我从以下方面了解到:http://tjumyk.github.io/sdl-tutorial-cn/lessons/lesson01/windows/devcpp/index.html
我一步一步地按照课程安装和配置,但它没有编译。