Hi
Can any one help me with compiling php_pdf.dll in windows. I have tried to do it with Visual C++ so it but i keep on getting the following errors
D:\php-4.0.5\ext\pdf\pdf.c(2704) : warning C4020: 'PDF_close_pdi_page' : too many actual parameters
D:\php-4.0.5\ext\pdf\pdf.c(2877) : warning C4244: '=' : conversion from 'float ' to 'int ', possible loss of data
Linking...
LIBCMT.lib(crt0dat.obj) : error LNK2005: exit already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(crt0init.obj) : error LNK2005: xc_z already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: xc_a already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: xi_z already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: xi_a already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0dat.obj) : warning LNK4006: exit already defined in MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: xc_z already defined in MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: xc_a already defined in MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: xi_z already defined in MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: xi_a already defined in MSVCRT.lib(cinitexe.obj); second definition ignored
Creating library Release_TS/php_pdf.lib and object Release_TS/php_pdf.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
....\Release_TS/php_pdf.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Can anyone tell me what i am doing wrong
tim