Compiling Box2D with Codeblocks [Solved]

hi, i have compiling problems, i am using the last version of box2d 2.3.0, and MingGW with codeblocks, i have a project with SDL, and now i wanna integrate box2d for physics, first i take the folder that have the Box2D header,Common,Dynamics,Colision,Rope. And set it in Search Directories->Compiler, later i add -lBox2D to the linker settings->Other linker Settings. after that i took the libBox2D.a from a previus version, because this file doesnt come with the 2.3.0, and put it in the Search directories->Linker. after that i create a new .h and cpp inside the project and #include "Box2D",but dont recognize the functions.

Original thread: https://box2d.org/forum/viewtopic.php?t=9583