Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
If you are using GCC do not include MSVC-specific header.
Regardless of the compiler, do not #include "wx\msw\setup.h" in your files.
If you are getting "setup.h not found" error, see e.g. here: http://wxwidgets.org/docs/faq/windows/#setuph. Obviously, if you are using GCC your path will have "gcc" instead of "vc". You also need to add the folder with build-specific setup.h (e.g., WXWIN/lib/gcc_lib/mswud) before the general include path (WXWIN/include).
Thanks For Reply, But What Is The Meaning Of "Error: wx/setup.h File Or Directory Not Found" I Has Been Going Around These For A Long Time. Do I Have To Copy The File To Any Foler? I Need Help.
Window 8.1 x86, Codeblock 20.03, TDC-GCC-10.3.0, C++ 20, wxWidgets-3.2.1
Chikwado wrote:Thanks For Reply, But What Is The Meaning Of "Error: wx/setup.h File Or Directory Not Found" I Has Been Going Around These For A Long Time. Do I Have To Copy The File To Any Foler? I Need Help.
The solution is described in the third paragraph of my previous post in this thread.
OK, then to obtain "C:\wxWidgets\lib\gcc_lib\mswud", you have to build wxWidgets Debug for Windows against MinGW (aka. GCC) under "C:\wxWidgets\lib\gcc_lib" (here "gcc_lib" is arbitrary, you can name it at your convenience).
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]