Compiler can't find wx.h when building with CodeLite?

49 views Asked by At
  1. I downloaded the wxWidgets source.
  2. Compiled wxWidgets using MinGW.
  3. Created a CodeLite project under the GUI category with the executable (wxWidgets enabled) type.
  4. In project settings > Compiler > Include Paths, I added the line "C:\Libraries\wxWidgets-3.2.4\include".
  5. In project settings > Linker > Libraries Search Path, I added the line "C:\Libraries\wxWidgets-3.2.4\lib\gcc_dll".
  6. In project settings > Linker > Libraries, I added the line "libwxmsw32u_core;libwxbase32u".
  7. Cleaned the project.

However, when building, this error happens:

C:/Users/Name/Workspaces/BegginerProjects/GUITest.cpp:1:10 fatal error: wx/wx.h: No such file or directory.

I don't know what else to do. Any help?

I am on windows btw.

0

There are 0 answers