2011년 3월 5일 토요일

wxWidgets 2.9.1 & MinGW

WxWidgets: http://www.wxwidgets.org/downloads/
MinGW: http://sourceforge.net/projects/mingw/files/

* Microsoft Windows

Environment Variables:
set WXWIN = c:\wxwidgets-2.9.1
cd $(WXWIN)\build\msw

Microsoft Visual C++
  1. Visual Studio Command Prompt (2010)
nmake -f makefile.vc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release

MinGW
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release

* Apple OSX
mkdir osx-build
cd osx-build
../configure -with-osx_cocoa -with-opengl -enable-stl -enable-monolithic -enable-debug -enable-debug-gdb -enable-dynlib
make

* Compile
/D _UNICODE;__WXMSW__;NOPCH;WXUSINGDLL;

댓글 없음: