Problem compiling php5 in visual studio
I'm trying to compile php-5.3.2 on a vista 64 using visual studio 2008.
So I downloaded this package where i added an existing .dsp file to my project that was converted
to VS2008.
I’m just in the beginning of this phase.
Something that is a bit strange is that they added the file getopt.c and this file is
not found in ‘php-5.3.2\sapi\cgi’ where it is pointing to from the project.
If it is there for a reason then why is it not found in the folder where it is supposed to be?
The error I get is:
Error 21 fatal error C1083: Cannot open source file: '..\sapi\cgi\getopt.c': No such file or directory c1 php5
Grateful for any help on this.
The file just doesnt excist.
You might need to download another package that contains that file(your project would rely on it), or you need another version of your project(the files you downloaded might've been an upgrade)
Your trying to compile php in VS? Oh I see your problem. You need a Java compiler for PHP so go download BlueJ and try it again. Or if that doesn't work use Bordlands Delphi compiler! ;D
Thaks for your help Retoxified. This was exactly the case. I found the missing file in:
php-5.2.13.tar
Why06 thanks for mention that. I suspected that I needed something like that because of the various .js files that was included in the compressed file.
Thanks!