Compiling error on windows
| From: | Marni Tam | Date: | Mon, 17 May 2004 19:03:47 +0000 |
| Subject: | Compiling error on windows | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-13490@lists.php.net to get a copy of this message | ||
Hi all,
I tried to compile php on windows and I keep getting errors.
Strangely the error message is related to the cstdio file when it is
compiling COM.c
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstdio(17) :
error C2143: syntax error : missing '{' before ':'
I have tried to follow the instructions in the php manual page
(http://ca.php.net/manual/en/install.windows.php#install.windows.build).
Also tried to follow some help information in the discussion list "Compiling
Apache, PHP and foreign modules on a Win32 platform"
http://www.schau.com/apachephp/apachephpwin32/index.html
by including the
old header files (e.g. iostream.h) but still no luck.
Any help would be appreciated!
Configuration:
Windows visual studio .net 2003
fresh bindlib_w32 from cvs
php4.3.6 source code
win32 buildtools from the PHP site at /extra/win32build.zip
Thanks a million!
Marni Tam