[Winpt-devel] New build environment for the source

Timo Schulz twoaday at gmx.net
Tue Nov 22 17:36:28 CET 2005


Hi!

I thought it would be useful to post some information how to build 
the WinPT sources.

First let me say, if somebody prefers to use MSVC I will provide
a source archive with MSVC structure and project files.


Here is what you need to build the WinPT.exe (PTD.dll):

1. Linux system (Debian preferred because it comes with the mingw32 packages)
2. Mingw32/gcc packets (I currently use 3.4.2 without any problems)
3. autoconf/make (in general development specific tools)

You can either download the source or fetch the nightly generated tarball
from the wald.intevation.org WinPT ("SCM") tab.

Then do a simple ./autogen.sh --build-w32 in the source directory.

That's it. Please keep in mind that you also need libgpgme and libgpg-error
to build the executable of WinPT.

You can build these packages exactly like WinPT. For MSVC users, I'm
willing to provide a binary zip archive with the libs and the header files.


Feel free to post any questions about problems about the build process
to this list.


        Timo

p.s.
We recently stumbled about a problem that newer versions of mingw32 
strip damage DLL's so please be careful when you try to strip DLLs
with a newer version of mingw32/gcc than I use!



More information about the Winpt-devel mailing list