internals:windows:libs:libjpeg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
internals:windows:libs:libjpeg [2008/05/27 20:37] – pajoye | internals:windows:libs:libjpeg [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
===== Available prebuilt libraries ===== | ===== Available prebuilt libraries ===== | ||
- | All prebuilt libraries are available in the php-libs [[http://pecl2.php.net/ | + | All prebuilt libraries are available in the php-libs [[http://windows.php.net/ |
The filename format is: | The filename format is: | ||
Line 11: | Line 12: | ||
where x.y.z defines the version, vcversion which Visual C++ has been used. | where x.y.z defines the version, vcversion which Visual C++ has been used. | ||
- | ===== Building | + | Only static library (.lib) are available for now. |
+ | |||
+ | ===== Building | ||
==== Requirements ===== | ==== Requirements ===== | ||
- | * LibJpeg Sources, fetch our patched | + | * LibJpeg Sources, fetch our (possibly |
* Common tools used to compile PHP | * Common tools used to compile PHP | ||
+ | |||
==== Preparing the sources ===== | ==== Preparing the sources ===== | ||
Line 23: | Line 27: | ||
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): | 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 | + | CFLAGS= $(cflags) $(cdebug) $(cvars) -I. /MD |
+ | </ | ||
+ | |||
+ | then | ||
+ | |||
+ | |||
+ | <code makefile> | ||
+ | copy jconfig.vc jconfig.h | ||
</ | </ | ||
Line 46: | Line 57: | ||
</ | </ | ||
+ | For VC11 you might need to copy the win32.mak from the Windows SDK file into the jpeg source dir. |
internals/windows/libs/libjpeg.1211920624.txt.gz · Last modified: 2017/09/22 13:28 (external edit)