Hi
Im compiling my c++ php extension on php 5.3 and visual c++ 2008
everything is ok and work fine, but I have to (and I force) to using php
5.2.9 and compile it via vc++ 2005.
I got this error during compile:
zend\zend_config.w32.h(38) : fatal error C1083: Cannot open include file:
'winsock2.h': No such file or directory
I changed my windows SDK include directory, set environment variables and..
But have still error.
I compiled with vc++ 2008 and get another error:
microsoft visual studio 8\vc\include\sys\stat.inl(44) : error C2466:
cannot allocate an array of constant size 0
hi,
Im compiling my c++ php extension on php 5.3 and visual c++ 2008
everything is ok and work fine, but I have to (and I force) to using php
5.2.9 and compile it via vc++ 2005.I got this error during compile:
zend\zend_config.w32.h(38) : fatal error C1083: Cannot open include file:
'winsock2.h': No such file or directory
I changed my windows SDK include directory, set environment variables and..
But have still error.I compiled with vc++ 2008 and get another error:
microsoft visual studio 8\vc\include\sys\stat.inl(44) : error C2466:
cannot allocate an array of constant size 0
Sorry but we do not support anything under VC9 (2008). PHP 5.2, while
being dead since years, never supported anything but VC6.
Cheers,
Pierre
@pierrejoye