RE: [INTERNALS-WIN] Getting a ft2build.h not found when trying to compile 5.6 alpha3

[email protected] ("Jorge F. Hernandez") Sat, 29 Mar 2014 13:11:46 -0400
Newsgroups php.internals.win
Message-ID <[email protected]>
This is the error I get after adding freetype to the include line where
ft2build.h is called in gd.c

deps\include\freetype\ft2build.h(37) : fatal error
C1083: Cannot open include file: 'config/ftheader.h': No such file or
directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
11.0
\VC\BIN\amd64\cl.exe"' : return code '0x2'
Stop.

The only thing with this is that this file does exist in the config folder,
so I'm clueless from here.


Jorge Hernandez


-----Original Message-----
From: Jorge Hernandez [mailto:[email protected]] 
Sent: Saturday, March 29, 2014 1:03 PM
To: [email protected]
Subject: [INTERNALS-WIN] Getting a ft2build.h not found when trying to
compile 5.6 alpha3

Hey guys,

I'm trying to compile alpha3 on 64-bit and I'm getting this:

ext\gd\gd.c(80) : fatal error C1083: Cannot open include file:
'ft2build.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\BIN\amd64\cl.exe"' : return code '0x2'
Stop.

I'm using these to compile it:

deps-5.6-vc11-x64.7z
php-sdk-binary-tools-20110915.zip

I checked the deps folder and I noticed that ft2build.h is at
includes\freetype but gd2.c was calling it from includes, but even when
adding freetype to the include line I get an error.

Any ideas?

Thanks

--
Windows Internals Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php