compiling palabos with code block

i have a problem with c++ compiler because i coding with fortran i dont how to compile palabos with code block when i compile example (cavity 2D) this error will e appear:
palabos.2d .h:: no such folder in directory…
i think i must change workspace (in fortran we do that) but in code block i dont know .
i will be appreciate if u help me about this technical problem

Dear Arash
Refer to below link to know how to compile a code by using codeclocks.