Matthieu,

I can't reproduce the problem you describe - the binaries from 
ftp://ftp.zlatkovic.com/pub/libxml/ work just fine for me. Can you provide a 
bit more detail about how you have configured the example? Are you working from 
the VS IDE, or from a command line? Are you sure that you're linking with the 
correct import library, and don't have an earlier one lurking on your libpath 
somewhere?

Eric Zurcher
CSIRO Livestock Industries
Canberra, Australia
[EMAIL PROTECTED]

>-----Original Message-----
>Date: Sun, 26 Jun 2005 14:43:21 -0400
>From: "Labour, Matthieu (MLPRO SF)" <[EMAIL PROTECTED]>
>Subject: [xml] Xpath issue when linking with the libxml2 win32 binaries
>To: <[email protected]>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain;      charset="us-ascii"
>
>Hi  
>
>I downloaded libxml2-2.6.19+.win32 windows binaries
>
>When trying to link the simple example provided in
>\libxml2-2.6.19\doc\tutorial\apd.html
>
>I get the following error
>
>xml error LNK2019: unresolved external symbol _xmlXPathFreeObject
>referenced in function "struct _xmlXPathObject * __cdecl
>getnodeset(struct _xmlDoc *,unsigned char *)"
>(?getnodeset@@YAPAU_xmlXPathObject@@PAU_xmlDoc@@[EMAIL PROTECTED])
>xml error LNK2019: unresolved external symbol _xmlXPathFreeContext
>referenced in function "struct _xmlXPathObject * __cdecl
>getnodeset(struct _xmlDoc *,unsigned char *)"
>(?getnodeset@@YAPAU_xmlXPathObject@@PAU_xmlDoc@@[EMAIL PROTECTED])
>xml error LNK2019: unresolved external symbol _xmlXPathEvalExpression
>referenced in function "struct _xmlXPathObject * __cdecl
>getnodeset(struct _xmlDoc *,unsigned char *)"
>(?getnodeset@@YAPAU_xmlXPathObject@@PAU_xmlDoc@@[EMAIL PROTECTED])
>xml error LNK2019: unresolved external symbol _xmlXPathNewContext
>referenced in function "struct _xmlXPathObject * __cdecl
>getnodeset(struct _xmlDoc *,unsigned char *)"
>(?getnodeset@@YAPAU_xmlXPathObject@@PAU_xmlDoc@@[EMAIL PROTECTED])
>xml fatal error LNK1120: 4 unresolved externals@@[EMAIL PROTECTED])
>
>I use windows XP, .Net
>
>I would appreciate any help
>
>Thank you
>--------------------------------------------------------
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to