Hi - I have installed all this in Windows:
Then I build wxWidgets in the directory
C:\usr\local\wxWidgets-22.214.171.124\build (that seemed the right place to do that), using the
gcc executables above, using
mingw32-make from the compiler directory. The binaries end up in
build\lib\gcc_x64_dll in the wxWidgets directory.
My plan is to just build a 'Hello World' program with a GUI, just to see how to do that with wxWidgets.
What I did to set up CodeLite were the following steps:
changed Settings -> Build Settings, to add the compiler above
changed Settings -> GDB Settings, to add the debugger in the same directory as the compiler
WXCFG=gcc_x64_dll\mswuto the environment variables
Then, for the project:
I started a new C++ workspace,
opened a new project 'hello_wxwidget' of the category 'GUI', type 'wxWidgets GUI application', compiler and debugger as just specified, build system 'CodeLite Makefile Generator',
in the Golbal Settings of the project itself, add 'C:\usr\local\wxWidgets-126.96.36.199\include' to the Additional Include Paths
The last item on the list was to get rid of the error
wx/wxprec.h: No such file or directory. After adding the
include directory, the C++ compiler itself returns no errors any more, but
windres.exe returns the error
wx/msw/wx.rc: No such file or directory.
But that does not make sense because this path is also in the same
include directory that I have just added...
So I would be grateful to find out: does this mean I have done something wrong in my settings, in either the numbered or the lettered list? Should I not have built the wxWidgets library in the directory that was already there? Did I choose the wrong project type for this goal? Or is something else wrong that I haven't thought of?
Thanks for your help! Also: happy to send more information or output files if that makes the situation clearer.