I was following the tutorial then when i followed it all the way though but when i went to run the code it gave me the cannot find -lsdlmain
. I am using the minGW compiler and can use g++ in the command line from any directory. The full console out
23:32:34 **** Incremental Build of configuration Debug for project Game 1 ****
Info: Internal Builder is used for build
g++ -o "Game 1.exe" "src\\Game 1.o" -lmingw32 -lsdlmain -lsdl2
b:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lsdlmain
collect2.exe: error: ld returned 1 exit status
23:32:35 Build Finished (took 272ms)