2013년 8월 29일 목요일

wxWidgets (7) Retry to Install the toolkit for wxWidgets in MS Windows.

I have fault to compile a wxWidget application by wxPack.

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 -j4 -f makefile.gcc SHARED=0 UNICODE=1 BUILD=debug
pause


I copied batch files into C:\wxWidgets-2.8.12\build\msw\




And I run build_debug.bat and build_release.bat

Wait..
Wait..

Hum...

It's done about 20 minutes.


Congratulation !! We are completed to install wxWidget toolchain.

댓글 없음:

[C#] Community Toolkit

 https://kaki104.tistory.com/806