Re: Compiling PHP on Windows 7 - wiki needs update
| From: | Jan Ehrhardt | Date: | Thu, 27 Dec 2012 12:57:28 +0000 |
| Subject: | Re: Compiling PHP on Windows 7 - wiki needs update | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64448@lists.php.net to get a copy of this message | ||
Jan Ehrhardt in php.internals (Thu, 27 Dec 2012 13:19:08 +0100):
>What are the plans for 5.5? A transition to VC10? I once tried to use my
>existing php-sdk setup to compile PHP 5.4 with VC10, but not all
>compilations succeeded. Compilation failed for php_intl.dll failed with
>these errors:
>
>C:\php-sdk\php54dev>nmake php_intl.dll | find "error"
>
>Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
>Copyright (C) Microsoft Corporation. All rights reserved.
>
>.\win32/php_stdint.h(101) : error C2371: 'int_fast16_t' : redefinition;
>different basic types
>.\win32/php_stdint.h(105) : error C2371: 'uint_fast16_t' : redefinition;
>different basic types
>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
>Studio 10.0\VC\BIN\cl.exe"' : return code '0x2'
>Stop.
>
>I did not dig into it to find out how to solve it, because I also got
>VC++ Runtime errors. VC9 is good enough for the moment.
php_intl version PECL-3.0.0b1 compiled fine with VC10. And the VC++
Runtime errors were caused by php_couchbase.dll. No big deal.
Jan