Hey. I am trying to use CLion ide for my C11 Windows projects cause VS is not supporting it, and I have some weird issues with it, I can compile exact same thing with gcc from console but somehow Cmake is focking up everything. I have set my toolchain to C\msys64\mingw64 etc and I can import ie zlib, but I cant use any things from it, in example:
Code:
import <zlib.h>; //ok
int main() {
printf(zlib_version); //error no such thing zlib_version
}
Seriously why this $#$% have to be such a complicated butth@rt? How can I use anything with that $@%@ piece of garbage cmake?