I have same problem, I read very very well this post and I did ecerithing but the compiler give to me always the some error, only one but I don't know what can I do.
C:/wxWidgets-2.8.12/include/wx/string.h:368: undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'
obj\Debug\main.o:main.cpp:(.rdata$_ZTV5MyApp[__ZTV5MyApp]+0x44): undefined reference to `wxApp::Initialize(int&, char**)'
Thanks you for your patience
something strange
I try to rebuild the some progject and I recive this error from the compiler:
-------------- Build: Debug in secondo (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -Wall -fexceptions -g -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\lib\gcc_dll\mswu -c "D:\prove cpp\secondo\main.cpp" -o obj\Debug\main.o
In file included from C:\wxWidgets-2.8.12\include/wx/defs.h:21:0,
from C:\wxWidgets-2.8.12\include/wx/wx.h:15,
from D:\prove cpp\secondo\main.h:4,
from D:\prove cpp\secondo\main.cpp:1:
C:\wxWidgets-2.8.12\include/wx/platform.h:196:22: fatal error: wx/setup.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings (0 minutes, 0 seconds)
I don't understand, yesterday It was working