Re: [INTERNALS-WIN] Trying to build pecl/haru on Windows.

[email protected] (Pierre Joye)
Newsgroups php.internals.win
Message-ID <[email protected]>
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
<[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.