RE: [INTERNALS-WIN] Getting a ft2build.h not found when trying to compile 5.6 alpha3
| From: | Jorge F. Hernandez | Date: | Sat, 29 Mar 2014 22:37:40 +0000 |
| Subject: | RE: [INTERNALS-WIN] Getting a ft2build.h not found when trying to compile 5.6 alpha3 | ||
| References: | 1 2 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-1002@lists.php.net to get a copy of this message | ||
Thanks Anatol, that worked for me.
Jorge Hernandez
-----Original Message-----
From: Anatol Belski [mailto:anatol.php@belski.net]
Sent: Saturday, March 29, 2014 1:20 PM
To: Jorge Hernandez
Cc: internals-win@lists.php.net
Subject: Re: [INTERNALS-WIN] Getting a ft2build.h not found when trying to compile 5.6 alpha3
Hi,
On Sat, March 29, 2014 18:02, Jorge Hernandez wrote:
> 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
>
>
>
that hange to the freetype headers was introduced after the latest update of the freetype libs. The
corresponding correction to config.w32 is commited to the relevant branches, so the upcoming beta
will be fine with the new deps. For the alpha or previous releases, you can just use the older
freetype version available at http://windows.php.net/downloads/php-sdk/deps/vc11/x64/archives/freetype-2.4.10-vc11-x64.zip
. Or just move that header into include/ so it's found by an older config.w32. Multiple libs
was actually upgraded in connection with the upcoming 5.6.
Thanks
Anatol
--
Windows Internals Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php