wxwidgets+codeblocks搭建,测试老是不能通过
codeblocks吧
全部回复
仅看楼主
level 3
某某某代 楼主
用codeblocks建立个wxwidgets项目,老是不能通过
报警告:
F:\workspace\wxTest\wxTestApp.cpp|34|warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations] }
还有:(几十个这之类的)
F:\wxWidgets-3.0.2\lib\gcc_lib\libwxmsw30u_core.a(corelib_imagjpeg.o):imagjpeg.cpp|| undefined reference to `jpeg_std_error'|
......
F:\wxWidgets-3.0.2\lib\gcc_lib\libwxmsw30u_core.a(corelib_imagtiff.o):imagtiff.cpp|| undefined reference to `TIFFReadDirectory'|
......
2016年01月04日 00点01分 1
level 3
某某某代 楼主
上面的问题解决了,但出现新问题:用codeblocks建立的wxwidgets项目能编译,但运行时报错,如下
(第一个对话框)
Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0(wchar_t, compiler with C++ ABI 1008, wx containers, compatible with 2.8),
and your program used 3.0(wchar_t, complier with C++ ABI 1009, wx containers, compatible with 2.8).
(第二个对话框)
Rumtime Error!
Program:F:\workspace\wxTest\bin\Debug\wxTest.exe
This application has requested the Rumtime to terminate it in an unusual way.
Please conatct the application's support team for more infomation.
2016年01月04日 06点01分 2
1