I'm trying to compile latest OTC using CodeBlocks, I've managed (after fighting with MinGW, this thing is terrible on Windows) to generate decent output from CMake, but then when I try to compile that, I'm being informed that <X11/Xlib.h> in file x11window.h is unreachable. That is strange because that file shouldn't be even included in windows. I've dig and it seems that WIN32 is not even defined in preprocessor, and that is why platformwindow.cpp is trying to include that header file to the project.
Any suggestions what could went wrong? I've done everything exactly as in tutorial on github.
Using VS17 everything is working well.
My CMake entries
Log
Any suggestions what could went wrong? I've done everything exactly as in tutorial on github.
Using VS17 everything is working well.
My CMake entries
Log