Re: [libxml++] Win32 link error (v0.24.0 + msvc patch)
- From: "Ephraim Vider" <eff eplication com>
- To: <libxmlplusplus-general lists sourceforge net>
- Subject: Re: [libxml++] Win32 link error (v0.24.0 + msvc patch)
- Date: Tue, 24 Jun 2003 17:14:01 +0200
Ok, I have found the problem,
The prebuilt libxml2 2.5.7 was compiled with thread support (as opposed to
2.5.4) so the "globals" are accessed differently.
You need to add _REENTRANT to the libxml++ project preprocessor definitions
in order to activate the thread support in the header and have access to the
global variables.
-eff
----- Original Message -----
From: "Christophe de Vienne" <cdevienne alphacent com>
To: <libxmlplusplus-general lists sourceforge net>
Sent: Friday, June 20, 2003 1:25 AM
Subject: Re: [libxml++] Win32 link error (v0.24.0 + msvc patch)
Le Jeudi 19 Juin 2003 22:44, Matt Esterly a écrit :
>
> It appears xmlIndentTreeOutput is not exported in the xmlib2.dll,
>
Well, but we have in globals.h at line 268 :
LIBXML_DLL_IMPORT extern int xmlIndentTreeOutput;
This line is skipped by the preprocessor if thread are enabled, but I don't
think this binary is compiled with thread support.
Try to compile and link a single program :
#include <libxml/globals.h>
int main()
{
printf("%d", xmlIndentTreeOutput);
}
If this doesn't work, you may have some more help on the libxml
mailing-list.
Good luck,
Christophe
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Libxmlplusplus-general mailing list
Libxmlplusplus-general lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/libxmlplusplus-general
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]