So I decided to compile wxWidget source by Mingw.
1. Install Mingw
I have installed tdm-gcc-4.7.1-2.exe (the latest version). It is easy to install.
link : http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%204.7%20series/4.7.1-tdm-1%20SJLJ/
2. Install wxWidget source
I installed wxMSW
You can download wxMSW-2.8.12-Setup.exe on the link below.
link : http://www.wxwidgets.org/downloads/#latest_stable
And Install the package.
3. Compile the wxWidget
I wanted to use standalone executable file that was static compile file.
So I compiled wxWidget by static.
I edited batch files to build wxWidget.
"build_release.bat"
mingw32-make SHELL=CMD.exe -f makefile.gcc SHARED=0 UNICODE=1 BUILD=release clean
pause
mingw32-make SHELL=CMD.exe -j4 -f makefile.gcc SHARED=0 UNICODE=1 BUILD=release
pause
and "build_debug.bat"
mingw32-make SHELL=CMD.exe -f makefile.gcc SHARED=0 UNICODE=1 BUILD=debug clean
pause
mingw32-make SHELL=CMD.exe -f makefile.gcc SHARED=0 UNICODE=1 BUILD=debug clean
pause
mingw32-make SHELL=CMD.exe -j4 -f makefile.gcc SHARED=0 UNICODE=1 BUILD=debug
pause
댓글 없음:
댓글 쓰기