All prebuilt libraries are available in the php-libs repositories
Only static library (.lib) are available for now.
-
libjpeg sources, fetch our patched (see below) version or the original sources
-
Common tools used to compile PHP
To compile libjpeg to be used with PHP (and more generally with any decent VC), the makefile has to be altered, add the /MD flag as follow (~ line 15):
CFLAGS= $(cflags) $(cdebug) $(cvars) -I. /MD
then
copy jconfig.vc jconfig.h
Two modes are available, debug or non debug (fully optimized).
nmake /f makefile.vc nodebug=1
nmake /f makefile.vc