c++ - SDL2 - cannot find lsdlmain and lsdl. Codeblocks -


i started fooling around sdl2 using lazy foo's tutorial , i'm having issues. when building 2 errors:

cannot find lsdl

cannot find lsdlmain

now... of course can't find because not in lib folder linked. have lsdl2main , lsdl2. put sdl2.dll in project folder , did lazy foo said, yet still have issue. did manage bypass issue copying lsdl2 , lsdl2main lib folder , changing them lsdl , lsdlmain. have both lsdl/lsdlmain , lsdl2/lsdlmain ... though same libraries. don't think ok, why i'm asking question. proper way solve this? read on lazy foo compiler picking 32-bit libs on 64-bit , using 32-bit ones 32-bit folder, i'm not sure if issue.

the proper way use sdl2main , sdl2 instead of obsolete sdlmain , sdl in linker options. lazy foo's tutorials obsolete , require corrections if intend use sdl2 instead of sdl 1.x version tutorials based on.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -