This ticket shows the important steps to configure Code::Blocks with SDL 2 support.

Requirements

* Code::Blocks 20.03

* MSYS2 framework

* SDL 2.0 (MSYS64 package)

* Windows 10

Code::Blocks tabs

Just add the following lines as in the different screenshots.




 


Useful links

MSYS2

https://www.msys2.org/

https://www.devdungeon.com/content/install-gcc-compiler-windows-msys2-cc

Code::Blocks

https://www.codeblocks.org