Re: Error compiling php-5.3.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

It works just fine here (and all our build boxes).

Where did you get the freetype library and how do you compile PHP?

Please try again using this simple howto:

http://wiki.php.net/internals/windows/stepbystepbuild

Cheers,
--
Pierre

On Thu, Feb 25, 2010 at 3:17 PM, Sachin Srivastava
<sachin.srivastava@xxxxxxxxxxxxxxxx> wrote:
> Hello,
>
>
> I am compiling php and its giving me this error: (I am using freetype -2.3.5
> )
>
> Generating Code...
>    rc /fo Release_TS\php5ts.dll.res /d FILE_DESCRIPTION="\"PHP Script
> Interpreter\""  /d FILE_NAME="\"php5ts.dll\"" /d PRODUCT_NAME="\"PHP Script
> Interpreter\""  /IRelease_TS /d MC_INCLUDE="\"Release_TS\wsyslog.rc\""
>  win32\build\template.rc
>   Creating library Release_TS\php5ts.lib and object Release_TS\php5ts.exp
> php_xmlreader.obj : warning LNK4217: locally defined symbol
> _php_dom_create_object imported in function _zim_xmlreader_expand
> php_xmlreader.obj : warning LNK4049: locally defined symbol
> _dom_node_class_entry imported
>    rc /n /fo Release_TS\php_gd2.dll.res /d FILE_DESCRIPTION="\"GD imaging\""
> /d FILE_NAME="\"php_gd2.dll\"" /d URL="\"http://www.php.net\""; /d
> INTERNAL_NAME="\"GD extension\"" /d THANKS_GUYS="\"Thanks to Rasmus Lerdorf,
> Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye,
> Marcus Boerger\"" win32\build\template.rc
>   Creating library Release_TS\php_gd2.lib and object Release_TS\php_gd2.exp
> gdft.obj : error LNK2019: unresolved external symbol __imp__FT_New_Face
> referenced in function _fontFetch
> gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Done_Face
> referenced in function _fontRelease
> gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Done_FreeType
> referenced in function _php_gd_gdFontCacheShutdown
> gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Init_FreeType
> referenced in function _php_gd_gdFontCacheSetup
> gdft.obj : error LNK2019: unresolved external symbol
> __imp__FT_Glyph_To_Bitmap referenced in function _php_gd_gdImageStringFTEx
> gdft.obj : error LNK2019: unresolved external symbol
> __imp__FT_Glyph_Get_CBox referenced in function _php_gd_gdImageStringFTEx
> gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Glyph
> referenced in function _php_gd_gdImageStringFTEx
> gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Load_Glyph
> referenced in function _php_gd_gdImageStringFTEx
> gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Kerning
> referenced in function _php_gd_gdImageStringFTEx
> gdft.obj : error LNK2019: unresolved external symbol
> __imp__FT_Get_Char_Index referenced in function _php_gd_gdImageStringFTEx
> gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Set_Transform
> referenced in function _php_gd_gdImageStringFTEx
> gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Set_Char_Size
> referenced in function _php_gd_gdImageStringFTEx
> Release_TS\php_gd2.dll : fatal error LNK1120: 12 unresolved externals
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 8\VC\BIN\cl.exe"' : return code '0x2'
> Stop.
> Compilation of php failed
>
> Please suggest, so that i can move forward with this.
>
> --
> Regards,
> Sachin Srivastava
> EnterpriseDB <http://www.enterprisedb.com>, the Enterprise Postgres
> <http://www.enterprisedb.com> company.
>



-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux