Click to See Complete Forum and Search --> : why can't compile the php source code


Anon
12-06-2001, 06:51 AM
i can't compile the php source code with visual c++ 6.0,the error like this

d:\temp\php-4.1.0\zend\zend_highlight.c(22) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory

d:\temp\php-4.1.0\zend\zend_indent.c(25) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory

and the compiler can't find out the libjpeg.lib and a lots of lib*.lib in php-winbuild/lib
why?
who can tell me "how to compile the php source code to php binary?"

Anon
12-06-2001, 02:09 PM
i have solved one problem
but still has a lots of problems.
the reason of could not build the php4ts.dsp
was i set the wrong path in tool->option
->dirctories->executable file
when i added c:\cygwin\bin
i forgot the "\bin",after corrected it
i built with no problems.
but when i built extensions of php
i found some of it lacked the header file
of those extensions,for example,
the php_java.dll lacked the jni.h
so i can't build it to dll
where can i find those headers?
and vc++ 6 still could not find the libjpeg.lib when i built the php_gd function
how can i build the code to php_gd.dll?
no one know it?