[php5] - compiling under windows

From: Date: Thu, 20 Apr 2006 08:58:03 +0000
Subject: [php5] - compiling under windows
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-31225@lists.php.net to get a copy of this message
Good morning, I have a very important question, i am trying to build php5 with the php_gd2.dll as a static library.....because if i don't, at startup, the system is telling me that the jpeg6.dll was not found. So i did compile the jpeg.lib as a static library....and it has workd....but now i have a new error message : freetyp6.dll not found....ok i have tried to do the same as for jpeg but the problem is that now the php_gd2.dll can't compile....in fact i got the following errors : C:\compile php\php\php-5.1.2>nmake /I /nologo "php_gd2.dll" Creating library Release_TS\php_gd2.lib and object Release_TS\php_gd2.exp LINK : warning LNK4098: defaultlib 'LIBCD' conflicts with use of other libs; use /NODEFAULTLIB:library 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 _gdFontCacheShutdown gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Init_FreeType referenced in function _gdFontCacheSetup gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Done_Glyph referenced in function _php_gd_gdImageStringFTEx 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: 13 unresolved externals EXT gd build complete My environment is : windows XP php 5.1.2 apache2.2 sources visual c++ v7 Can you please help me with that ? Regards -- Emmanuel Lucas - Consultant 13, rue Greneta 75003 Paris tel: 01 44 78 63 69 - fax: 01 44 78 63 65 http://www.oxalide.com

« previous php.mirrors (#31225) next »