Hi
I installed Codeblocks on a OSX computer with version 13.6 Ventura. Codeblocks version is 20.03 with Wxwidgets 3.2 installed. I did many tests in order to compile a simple Wxwidgets program. Just create a new project with WxSmith Frame Based. When building, the "build log" dialog shows the following:
g++ -Wall -g -c /Users/artigas/Downloads/testCodeBlocks/test/test2/test2App.cpp -o obj/Debug/test2App.o
g++ -Wall -g -c /Users/artigas/Downloads/testCodeBlocks/test/test2/test2Main.cpp -o obj/Debug/test2Main.o
g++ -o bin/Debug/test2 obj/Debug/test2App.o obj/Debug/test2Main.o
which is missing the 'wx-config --cflags`and `wx-config --libs`already set by default in the Build Options "other compiler options" and "linker settings".
If I set up the installation folder of the WxWidgets search directories, then it tries to compile, but there are more than 40 errors and the build message end with:
error "No Target! You should use wx-config program for compilation flags!"
I tried with CodeBlocks 17, with WxWidgets compiled and installed from source, also with WxWidgets installed from Brew. Whatever I do is not able to compile any project with WxWidgets.
Any help will be wellcome
Roger