Trying to compile an existing project code using Codelite 17.0.0 under Mint 21.2
Started a new project, set the Makefile generator to CMake
when I compile, I get:
/usr/local/include/wx-3.2/wx/platform.h:216:18: error: #if with no expression
which stalls everything.
I then try to define wxUSE_UNICODE in the compiler project settings under Preprocessor, but no luck at all.
Compiling the same code using the default Codelite builder & defining wxUSE_UNICODE in the same way is all that was needed to get a good compile for that generator
I am trying to use the CMake generator because I would like to build a flatpak for the app and am stuck on that issue as well
@eranif: I have tried that as well, but am not familiar enough with CMake and have been able to generate Unix makefiles, but have no idea where and how to run those.
My experience with Mint etc is way too short & shallow to be able to just run on my own.
My trial with trying to generate Codelite Ninja files were equally hopeless.
As I am constrained on the one side by what Flatpak will accept and my inexperience on the other and what the tools I use can handle on the third ....
Another thought: I assumed changing the build generator should not make much difference.
If I can specify libraries for the default generator, I ought to be able to do so for any other that Codelite says it supports.
Possibly there are restrictions on those other options, but I have not seen them and you did not mention anything of the sort.
I am not trying to built wxWidgets, I just want to generate a 'makefile' build system such that the output will allow me to link to libraries just as the default make generator does.
I was simply hoping to have a build setup the I cam utilize and invoke from the Flatpak manifest.