ok, finally it ran. But only in code blocks. When I try to make exe via cmd (mingw32-make) I got same error.
Also when I copy/ pased example code from "Create your first program" on github I got "undefined reference to 'TLN_SetLayerTilemap' (code blocks)