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/

LipJpeg for Windows, How to compile

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 (.lib) are available for now.

Building LibJpeg 6b

Requirements

  • LibJpeg Sources, fetch our patched (see below) version or the original [[http://www.ijg.org|sources]
  • Common tools used to compile PHP

Preparing the sources

To compile libjpeg to be used with PHP (and more generally with any decent VC), the makefile has to be altered, add the /MT flag as follow (~ line 15):

CFLAGS= $(cflags) $(cdebug) $(cvars) -I. /MT

then

 copy jconfig.vc jconfig.h

Configuration

Two modes are available, debug or non debug (fully optimized).

Compilation

Release

nmake /f makefile.vc nodebug=1

Debug

nmake /f makefile.vc
internals/windows/libs/cclient.1212251494.txt.gz · Last modified: 2017/09/22 13:28 (external edit)