Compiling ADCH++ with Mingw on Windows

And another how-to on compiling ADCH++. This time with Mingw on Windows. Check out the previous POSIX and Visual Studio 2005 (Windows) tutorials.

Credit for this tutorial goes to Pothead.

  1. Install Python
  2. Install scons
  3. Install swig
  4. Install boost (copy the contents of boost_1_33_1\boost to C:\Boost\include\boost-1_33_1\boost )
  5. Install mingw (not sure what parts are needed, but i got the gcc-core gcc-g++ binutils runtime utilities and w32api, and it works with all of them)
  6. Install Msys (part of mingw)
  7. Download and place Stlport 5.0.2 in the STLPort directory in Adchpp’s root directory
  8. Ensure Pyton, Swig and Mingw’s paths are available in %PATH%
  9. Compile STLPort
    1. Load up Msys
    2. Navigate to the STLPort\build\lib directory
    3. Type: make -f gcc.mak depend
    4. Type: make -f gcc.mak install
    5. Close Msys
  10. Compile Adchpp
    1. Goto adchpp directory
    2. To build in debug mode Type: scons to build in debug mode
    3. To build in release mode Type: scons mode=release

(To find links to the other programs, look in the previous posts or use a search engine.)

One Response to Compiling ADCH++ with Mingw on Windows

  1. Pingback: ADCH++ First Release « DC++: Just These Guys, Ya Know?

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: