Re: [INTERNALS-WIN] Trying to build pecl/haru on Windows.
| From: | Pierre Joye | Date: | Wed, 28 Oct 2009 11:13:49 +0000 |
| Subject: | Re: [INTERNALS-WIN] Trying to build pecl/haru on Windows. | ||
| References: | 1 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-639@lists.php.net to get a copy of this message | ||
hi,
Last time I tried haru I used this version:
http://pecl2.php.net/downloads/php-windows-builds/pecl-libs/vc9/x86/
I did not try to compile the current version of libharu. Can you
verify if these symbols have been added in the recent versions of
libharu?
Cheers,
On Wed, Oct 28, 2009 at 12:06 PM, Richard Quadling
<rquadling@googlemail.com> wrote:
> Hi.
>
> I'm trying to build pecl/haru for windows.
>
> My working config.nice.bat is ...
>
> cscript /nologo configure.js "--disable-zts" "--enable-bbcode=shared"
> "--enable-debug-pack" "--enable-win32service=shared"
> "--with-imagick=shared" %*
>
>
> If I add ...
>
> --with-haru=shared
>
> then I get unresolved errors.
>
> C:\php-sdk\php_53dev\vc9\x86\PHP_5_3>nmake
>
> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> EXT gd build complete
> EXT bbcode build complete
> Creating library Release\php_haru.lib and object Release\php_haru.exp
> haru.obj : error LNK2019: unresolved external symbol _HPDF_Free
> referenced in function _php_harudoc_dtor
> haru.obj : error LNK2019: unresolved external symbol _HPDF_CheckError
> referenced in function _php_haru_check_error
>
> [SNIPPED]
>
> haru.obj : error LNK2019: unresolved external symbol
> _HPDF_Outline_SetOpened referenced in function
> _zim_HaruOutline_setOpened
> haru.obj : error LNK2019: unresolved external symbol
> _HPDF_Outline_SetDestination referenced in function
> _zim_HaruOutline_setDestination
> Release\php_haru.dll : fatal error LNK1120: 172 unresolved externals
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 9.0\VC\Bin\cl.exe"' : return code '0x2'
> Stop.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org