I used msys64 - mingw32 (on Windows 7, 64 bit) to build a 3rd party library (https://sourceforge.net/p/libosmscout/code/ci/master/tree/) using a supplied makefile. Libraries and demo programs built fine, and one particular demo I was interested in (Demos/src/DrawMapCairo) runs well.
Now I would like to build this demo program in Code::Blocks IDE. So far I found LIBS and CFLAGS in makefile, and copied the flags into project->linker settings->other linker options.
Program builds fine (0 errors/warnings) but doesn't run (crashes upon execution). What compiler flags and settings from the makefile should I search for and copy to project settings, if I want the IDE to build the program as well?