imagick > compile on windows to win x64
| From: | Sjaak Eenhuis | Date: | Sat, 03 Mar 2012 14:09:51 +0000 |
| Subject: | imagick > compile on windows to win x64 | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-9213@lists.php.net to get a copy of this message | ||
I am looking to compile pecl's imagick extension into a win x64 dll.
Currently I cannot get it to work. I followed the common php-building procedure described on https://wiki.php.net/internals/windows/stepbystepbuild.
I deviated by setting the environment to x64:
$ setenv /x64 /xp /release
You can see which errors I get in the attached "console.txt"
It boils down to errors in the included magick header files , which I copied
from the sources of imagemagick-6.7.5
to d:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick\
My development environtment:
- win xp x86 sp3
- visual studio 2008
Want be able to compile to:
- win7 x64
As there is currently no information on how to build pecl-imagick oneself on windows i hope you can
shed some light on this hard topic.
D:\dev\php\5.3\php53dev\vc9\x64\php-5.3.10>configure --disable-all --enable-cli --enable-cgi --with-imagick Saving configure options to config.nice.bat Checking for cl.exe ... <in default path> Detected compiler MSVC9 (Visual C++ 2008) Detected 64-bit compiler Checking for link.exe ... C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\x 86_amd64 Checking for nmake.exe ... <in default path> Checking for lib.exe ... <in default path> Checking for bison.exe ... <in default path> Checking for re2c.exe ... <in default path> Detected re2c version 0.13.5 Checking for zip.exe ... <in default path> Checking for lemon.exe ... <not found> Checking for mc.exe ... C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin Checking for mt.exe ... C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin Build dir: x64\Release_TS PHP Core: php5ts.dll and php5ts.lib Checking for wspiapi.h ... <in default path> Enabling IPv6 support Enabling SAPI sapi\cgi Enabling SAPI sapi\cli Enabling extension ext\date Enabling extension ext\ereg Checking for wand/MagickWand.h ... D:\dev\php\5.3\php53dev\vc9\x64\deps\include Checking for library CORE_RL_wand_.lib ... ..\deps\lib\imagick\CORE_RL_wand_.lib Checking for library CORE_RL_magick_.lib ... ..\deps\lib\imagick\CORE_RL_magick_ .lib Enabling extension ext\imagick Enabling extension ext\pcre Enabling extension ext\reflection Enabling extension ext\spl Checking for timelib_config.h ... ext/date/lib Enabling extension ext\standard Creating build dirs... Generating files... Generating Makefile Generating main/internal_functions.c [content unchanged; skipping] Generating main/config.w32.h Generating phpize Done. Enabled extensions: ----------------------- | Extension | Mode | ----------------------- | date | static | | ereg | static | | imagick | static | | pcre | static | | reflection | static | | spl | static | | standard | static | ----------------------- Enabled SAPI: ------------- | Sapi Name | ------------- | cgi | | cli | ------------- ------------------------------------------- | | | ------------------------------------------- | Build type | Release | | Thread Safety | Yes | | Compiler | MSVC9 (Visual C++ 2008) | | Architecture | x64 | ------------------------------------------- Type 'nmake' to build PHP D:\dev\php\5.3\php53dev\vc9\x64\php-5.3.10>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. Recreating build dirs cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release internal_functions.c d:\dev\php\5.3\php53dev\vc9\x64\php-5.3.10\zend\zend_execute.h(234) : warning C 267: 'function' : conversion from 'size_t' to 'int', possible loss of data MagickWand lib static interface MagickWand module static interface MagickCore lib static interface MagickCore module static interface D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : ',' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 43: syntax error : missing ')' before 'constant' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 43: syntax error : missing '{' before 'constant' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : '<Unknown>' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2061 syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2059 syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2059 syntax error : ',' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2143 syntax error : missing ')' before 'constant' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2143 syntax error : missing ')' before 'constant' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(74) : error C2061 syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(74) : error C2059 syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(76) : error C2146 syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(76) : error C2143 syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(76) : error C2091 function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(76) : error C2059 syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(98) : error C2061 syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(98) : error C2059 syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(98) : error C2182 '__nonnull__' : illegal use of type 'void' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(98) : error C2371 '__nonnull__' : redefinition; different basic types D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(74) : see declaration of '__nonnull__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : error C20 1: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : error C20 9: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(91) : error C21 6: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(91) : error C21 3: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(91) : error C20 1: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(91) : error C20 9: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(94) : error C20 1: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(94) : error C20 9: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(94) : error C23 1: 'deprecated' : redefinition; different basic types D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : s e declaration of 'deprecated' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(96) : error C21 6: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(96) : error C21 3: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(96) : error C20 1: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(96) : error C20 9: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(97) : error C21 6: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(97) : error C21 3: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(97) : error C20 1: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(97) : error C20 9: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(99) : error C21 6: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(99) : error C21 3: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(99) : error C20 1: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(99) : error C20 9: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(103) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(103) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(103) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(103) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(104) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(104) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(104) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(104) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(107) : error C2 61: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(107) : error C2 59: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(107) : error C2 73: 'deprecated' : redefinition; different type modifiers D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : s e declaration of 'deprecated' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(108) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(108) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(108) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(108) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(111) : error C2 61: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(111) : error C2 59: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(111) : error C2 73: 'deprecated' : redefinition; different type modifiers D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : s e declaration of 'deprecated' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(114) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(114) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(114) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(114) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(116) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(116) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(116) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(116) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(122) : error C2 61: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(122) : error C2 59: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(122) : error C2 71: 'deprecated' : redefinition; different basic types D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : s e declaration of 'deprecated' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(125) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(125) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(125) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(125) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(127) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(127) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(127) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(127) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(129) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(129) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(129) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(129) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(130) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(130) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(130) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(130) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(131) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(131) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(131) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(131) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : fatal er or C1003: error count exceeds 100; stopping compilation NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bi \x86_amd64\cl.exe"' : return code '0x2' Stop.
D:\dev\php\5.3\php53dev\vc9\x64\php-5.3.10>configure --disable-all --enable-cli --enable-cgi --with-imagick Saving configure options to config.nice.bat Checking for cl.exe ... <in default path> Detected compiler MSVC9 (Visual C++ 2008) Detected 64-bit compiler Checking for link.exe ... C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\x 86_amd64 Checking for nmake.exe ... <in default path> Checking for lib.exe ... <in default path> Checking for bison.exe ... <in default path> Checking for re2c.exe ... <in default path> Detected re2c version 0.13.5 Checking for zip.exe ... <in default path> Checking for lemon.exe ... <not found> Checking for mc.exe ... C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin Checking for mt.exe ... C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin Build dir: x64\Release_TS PHP Core: php5ts.dll and php5ts.lib Checking for wspiapi.h ... <in default path> Enabling IPv6 support Enabling SAPI sapi\cgi Enabling SAPI sapi\cli Enabling extension ext\date Enabling extension ext\ereg Checking for wand/MagickWand.h ... D:\dev\php\5.3\php53dev\vc9\x64\deps\include Checking for library CORE_RL_wand_.lib ... ..\deps\lib\imagick\CORE_RL_wand_.lib Checking for library CORE_RL_magick_.lib ... ..\deps\lib\imagick\CORE_RL_magick_ .lib Enabling extension ext\imagick Enabling extension ext\pcre Enabling extension ext\reflection Enabling extension ext\spl Checking for timelib_config.h ... ext/date/lib Enabling extension ext\standard Creating build dirs... Generating files... Generating Makefile Generating main/internal_functions.c [content unchanged; skipping] Generating main/config.w32.h Generating phpize Done. Enabled extensions: ----------------------- | Extension | Mode | ----------------------- | date | static | | ereg | static | | imagick | static | | pcre | static | | reflection | static | | spl | static | | standard | static | ----------------------- Enabled SAPI: ------------- | Sapi Name | ------------- | cgi | | cli | ------------- ------------------------------------------- | | | ------------------------------------------- | Build type | Release | | Thread Safety | Yes | | Compiler | MSVC9 (Visual C++ 2008) | | Architecture | x64 | ------------------------------------------- Type 'nmake' to build PHP D:\dev\php\5.3\php53dev\vc9\x64\php-5.3.10>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. Recreating build dirs cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release internal_functions.c d:\dev\php\5.3\php53dev\vc9\x64\php-5.3.10\zend\zend_execute.h(234) : warning C 267: 'function' : conversion from 'size_t' to 'int', possible loss of data MagickWand lib static interface MagickWand module static interface MagickCore lib static interface MagickCore module static interface D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : ',' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 43: syntax error : missing ')' before 'constant' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 43: syntax error : missing '{' before 'constant' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : '<Unknown>' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/exception.h(157) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2061 syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2059 syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2059 syntax error : ',' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2143 syntax error : missing ')' before 'constant' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/locale_.h(68) : error C2143 syntax error : missing ')' before 'constant' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(74) : error C2061 syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(74) : error C2059 syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(76) : error C2146 syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(76) : error C2143 syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(76) : error C2091 function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(76) : error C2059 syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(98) : error C2061 syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(98) : error C2059 syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(98) : error C2182 '__nonnull__' : illegal use of type 'void' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(98) : error C2371 '__nonnull__' : redefinition; different basic types D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/string_.h(74) : see declaration of '__nonnull__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : error C20 1: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : error C20 9: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(91) : error C21 6: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(91) : error C21 3: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(91) : error C20 1: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(91) : error C20 9: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(94) : error C20 1: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(94) : error C20 9: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(94) : error C23 1: 'deprecated' : redefinition; different basic types D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : s e declaration of 'deprecated' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(96) : error C21 6: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(96) : error C21 3: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(96) : error C20 1: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(96) : error C20 9: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(97) : error C21 6: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(97) : error C21 3: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(97) : error C20 1: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(97) : error C20 9: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(99) : error C21 6: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(99) : error C21 3: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(99) : error C20 1: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(99) : error C20 9: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(103) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(103) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(103) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(103) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(104) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(104) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(104) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(104) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(107) : error C2 61: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(107) : error C2 59: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(107) : error C2 73: 'deprecated' : redefinition; different type modifiers D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : s e declaration of 'deprecated' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(108) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(108) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(108) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(108) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(111) : error C2 61: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(111) : error C2 59: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(111) : error C2 73: 'deprecated' : redefinition; different type modifiers D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : s e declaration of 'deprecated' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(114) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(114) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(114) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(114) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(116) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(116) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(116) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(116) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(122) : error C2 61: syntax error : identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(122) : error C2 59: syntax error : ';' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(122) : error C2 71: 'deprecated' : redefinition; different basic types D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(90) : s e declaration of 'deprecated' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(125) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(125) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(125) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(125) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(127) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(127) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(127) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(127) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(129) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(129) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(129) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(129) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(130) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(130) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(130) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(130) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(131) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(131) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(131) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(131) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : error C2 46: syntax error : missing ';' before identifier '__attribute__' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : error C2 43: syntax error : missing ')' before '(' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : error C2 91: function returns function D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : error C2 59: syntax error : ')' D:\dev\php\5.3\php53dev\vc9\x64\deps\include\magick/deprecate.h(132) : fatal er or C1003: error count exceeds 100; stopping compilation NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bi \x86_amd64\cl.exe"' : return code '0x2' Stop.