|
From: Gisle V. <gv...@br...> - 2013-01-02 20:15:06
|
"Guenter" <gue...@on...> wrote: > After reading a bit more about gcc and include I believe that mingw take > ´ wx/xxx.h ´ (out of #include <wx/xxx.h>) > as a filename. How can I mingw explain that wx/ is a subdirectory of the > include directory and xxx.h is the file name. > All the system headers of wxWidgets are located in C:\wxWidgets\include\wx. > C:\wxWidgets\include is the PATH variable. Simply put this in your environment (e.g. press WinKey-Break and enter Advanced | Environment). Or whatever method you use to setup your environment block. Add (or edit) this env-var: C_INCLUDE_PATH=c:/wxWidgets/include Thus when gcc looks for <wx/xxx.h> it will find a match in c:/wxWidgets/include/wx/xxx.h. (verify by gcc -v ...) But why wxWWidgets? Qt is so much better.. --gv |