Using Eclipse with package Wascana and Mingw.
First install Wascana. This gives you a read to use Mingw environment to use. But wxArt2D wants a static build of wxWidgets (debug and release or best).
Next install wxMSW in order to compile a debug version of wxWidgets for Mingw.
Start a shell:
c:\tools\Wascana\msys\msys.bat
This will open in your home directory, and in windows that is something like: c:\Documents and Settings\klaas\My Documents\Wascana Workspaces\home\klaas\ So i installed wxMSW-2.8.9-Setup.exe into that directory as wxwin In your MSYS unix shell, you now type:
- cd wxwin
- cd ..
- mkdir debugbuild
- cd debugbuild
- ../wxwin/configure --enable-debug --enable-debug-gdb --disable-shared
- make
- make install
- cd contrib
- make
- make install
In case of release use:
- ./configure --disable-shared
Now extend your path in order to find wx-config from here: PATH=/usr/local/bin:$PATH
Now use c:/tools/cmake/bin/CMakeSetup.exe to generate project files for your Eclipse IDE.
Where is the source code: C:\soft\wxartcvs\wxArt2D
Where to build the binaries: C:\soft\wxartcvs\wx288eclip
The generator type to use is: Eclipse CDT4 - Unix Makefiles
One of the Cache values should be: wxWidgets_CONFIG_EXECUTABLE C:/tools/Wascana/msys/local/bin/wx-config The option wxWidgest_USE_DEBUG should be set to OFF, if you want to work with release build later on.
After CMakeSetup.exe has finished, you can make wxArt2D, by typing make in C:\soft\wxartcvs\wx288eclip
See for more on Mingw installation: http://max.berger.name/howto/wxWidgets/wxWidgets_MinGW.jsp