小時後我終於可以編譯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