Looks like an issue with Kinc, if possible, could you (or anyone who can reproduce this issue) try to compile one of the Kinc sample projects with Kinc/make -g opengl
using a fresh git clone from the repository in my first link and then build it with Codeblocks? If it also happens with these samples you should report it as a Kinc issue.