请教大仙,wxwidgets+codeblocks搭建,建wxwidgets项目运行报错
codeblocks吧
全部回复
仅看楼主
level 3
某某某代 楼主
能编译,但不能运行,运行时报错,如下
(第一个对话框)
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日 12点01分 1
level 3
某某某代 楼主
使用静态库,就会出现运行时报错;使用动态库,则没有问题。——这是怎么一回事啊?
2016年01月04日 15点01分 2
level 7
看提示感觉是版本不对造成的。
2016年01月05日 05点01分 3
那该如何是好?
2016年01月05日 05点01分
前面编译的时候没加参数-static,加了参数debug版能正常运行了,但release版的仍然运行时报错。
2016年01月05日 06点01分
level 3
某某某代 楼主
前面编译的时候没加参数-static,加了参数debug版能正常运行了,但release版的仍然运行时报错。
2016年01月05日 06点01分 4
1