MacOS - 10.15.7
Codelite - 15.0.0
wxWidgets - 3.1.5
I'm trying to do the Hello World tutorial and cannot get it to compile. I originally ran into "error: No Target! You should use wx-config program for compilation flags!"
I did some research and ended up going into my project settings and changing all the wx-config entries to: /usr/local/bin/wx-config and it greatly reduced the number of these errors, but I still have a few. ex. Compiler options: -g;-O0;$(shell /usr/local/bin/wx-config —cflags). I made this change in: compiler-> C++ Compiler Option, linker->linker options.
I've changed every instance of wx-config to /usr/local/bin/wx-config so I'm not sure where my problem is coming from. Since this is a brand new installation, I feel as if I might've missed something fundamental. (I compiled the wxWidgets and copied the resulting set over to /usr/local).
The build log now looks like this:
/bin/sh -c '/usr/bin/make -j4 -e -f Makefile'
----------Building project:[ NFL2 - Debug ]----------
In file included from In file included from MainDialog.cppwxcrafter.cpp::17:
:
In file included from In file included from ./MainDialog.h./wxcrafter.h::311:
:
In file included from In file included from ./wxcrafter.h/usr/local/include/wx/settings.h:
:
In file included from In file included from /usr/local/include/wx/settings.h/usr/local/include/wx/colour.h:
:
In file included from /usr/local/include/wx/colour.h/usr/local/include/wx/defs.h:
:13/usr/local/include/wx/defs.h:: 62error:: 13"No Target! You should use wx-config program for compilation flags!":
error: "No Target! You should use wx-config program for compilation flags!"
error "No Target! You should use wx-config program for compilation flags!"
^# error "No Target! You should use wx-config program for compilation flags!"
Code: Select all
^
In file included from wxcrafter_bitmaps.cpp:5:
In file included from /usr/local/include/wx/wxprec.h:12:
/usr/local/include/wx/defs.h:62:13: error: "No Target! You should use wx-config program for compilation flags!"
error "No Target! You should use wx-config program for compilation flags!"
^
In file included from main.cpp:1:
In file included from /usr/local/include/wx/app.h:19:
In file included from /usr/local/include/wx/event.h:14:
/usr/local/include/wx/defs.h:62:13: error: "No Target! You should use wx-config program for compilation flags!"
error "No Target! You should use wx-config program for compilation flags!"
^
1 error generated.
make[1]: *** [../build-Debug/NFL2/MainDialog.cpp.o.d] Error 1
make[1]: *** Waiting for unfinished jobs....
1 error generated.
1 error generated.
make[1]: *** [../build-Debug/NFL2/wxcrafter_bitmaps.cpp.o.d] Error 1
make[1]: *** [../build-Debug/NFL2/wxcrafter.cpp.o.d] Error 1
1 error generated.
make[1]: *** [../build-Debug/NFL2/main.cpp.o.d] Error 1
make: *** [All] Error 2
====3 errors, 5 warnings====