And again "cannot find -lSDLmain"

Hello, i try to setup sdl2 in devCpp on windows10
like the lazy foo tutorial

→ include/
→ lib

→ linker: -lmingw32 -lSDL_main -lSDL
→ and sdl.dll to project folder


now it comes


… whats wrong

I fix it :slight_smile:

I edit: -lSDL to -lSDL2
and -lSDLmain to -lSDL2main

Now it works

1 Like