小时后我终于可以编译wxWidgets的-2.8.12库如下: -wxWidgets的应用程序运行失败
我解压的.zip到一个文件夹d:\ wxwidgets2812 \ wxWidgets的-2.8.12
我去d:\ MinGW的\ MSYS \ 1.0运行批处理文件,并做了以下内容: -
又到以下路径: -
cd /d/{WXWIN}/build/msw
,并以下列方式为编译库: -
mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=1 UNICODE=0 BUILD=release
它构建/编译成功地然后我在项目属性添加 - >包括目录 - > d:\ wxwidgets2812 \ wxWidgets的-2.8.12 \包括addidtional选项 - >wx-config --cxxflags
,在连接我加入库 - >wx-config --libs
Now when i run my code/project ,it gives me following errors:-
The application failed with exit code -1073741515 (0xc0000135).
This could indicate that no required .dll was found in the PATH.
Please try to start the following command from the command shell (cmd.exe).
This may give some additional information.
C:\Users\Lenovo\Documents\NetBeansProjects\CppApplication_6\dist\Debug\MinGW_1-
Windows\cppapplication_6
RUN FAILED (exit value -1,073,741,515, total time: 22ms)
请帮我运行应用程序。 感谢
为什么不去wxWidgets 2.9.x.既然你在窗户上,我会建议Visual Studio。这会让你的工作更简单。这可以帮助http://wiki.wxwidgets.org/Microsoft_Visual_C%2B%2B_Guide – 2012-04-21 04:28:06