As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
I got it working I used just this link and it works now https://github.com/bluehazzard/codeblocks_sf/wiki/build_linux_mint_18