internals:windows:libs:cclient

This is an old revision of the document!


C-client for Windows, How to compile

C-client is a common API for accessing mailboxes. For more information, please see the UW IMAP homepage: WWW: http://www.washington.edu/imap/

Available prebuilt libraries

All prebuilt libraries are available in the php-libs repositories

The filename format is:

cclient-x.y.z-vcversion-architecture.zip

where x.y.z defines the version, vcversion which Visual C++ has been used and architecture defines whether the build is for win32 or win64.

Only static library (cclient_a.lib) are available for now.

Building CCLient 2007b

Requirements

  • imap-2007a Sources, fetch our version or the original sources (no patch required)
  • Common tools used to compile PHP

Preparing the sources

Simply uncompress the sources archives.

Configuration

Modify the file in imap-2007b\sc\osdep\nt\makefile.w2k, on line 39:

  CCLIENTLIB = cclient_a.lib

No other special configuration required. Be sure to have the platform SDK in your path.

Compilation

Release

The following command:

cd imap-2007b\
nmake /f makefile.w2k

will build the cclient.lib required to build php's imap extension.

internals/windows/libs/cclient.1214848545.txt.gz · Last modified: 2017/09/22 13:28 (external edit)