compile php extension on visual c++ 2005

From: Date: Wed, 12 Dec 2012 11:18:20 +0000
Subject: compile php extension on visual c++ 2005
Groups: php.internals 
Request: Send a blank email to internals+get-64267@lists.php.net to get a copy of this message
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*

« previous php.internals (#64267) next »