RE: [xml] Building on Windows
- From: Vincent Finn <vincent finn automsoft com>
- To: 'Jesse Pelton' <jsp PKC com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: RE: [xml] Building on Windows
- Date: Tue, 8 Jul 2003 16:49:48 +0100
Not quite there yet
I get further (although I still be the 'xmlwin32version.h' error if I
rebuild all)
but I get a load of unresolved externals
Do these look familiar?
Vin
Creating library libxml2/libxml2.lib and object libxml2/libxml2.exp
valid.obj : error LNK2001: unresolved external symbol _xmlFreeAutomata
valid.obj : error LNK2001: unresolved external symbol _xmlAutomataCompile
valid.obj : error LNK2001: unresolved external symbol
_xmlAutomataSetFinalState
valid.obj : error LNK2001: unresolved external symbol
_xmlAutomataGetInitState
valid.obj : error LNK2001: unresolved external symbol _xmlNewAutomata
valid.obj : error LNK2001: unresolved external symbol
_xmlRegexpIsDeterminist
valid.obj : error LNK2001: unresolved external symbol _xmlAutomataNewState
valid.obj : error LNK2001: unresolved external symbol _xmlAutomataNewEpsilon
valid.obj : error LNK2001: unresolved external symbol
_xmlAutomataNewTransition
valid.obj : error LNK2001: unresolved external symbol _xmlRegFreeRegexp
valid.obj : error LNK2001: unresolved external symbol _xmlRegExecPushString
valid.obj : error LNK2001: unresolved external symbol _xmlRegNewExecCtxt
valid.obj : error LNK2001: unresolved external symbol _xmlRegFreeExecCtxt
libxml2/libxml2.dll : fatal error LNK1120: 13 unresolved externals
Error executing link.exe.
-----Original Message-----
From: Jesse Pelton [mailto:jsp PKC com]
Sent: 08 July 2003 14:59
To: 'Vincent Finn'
Subject: RE: [xml] Building on Windows
I don't know if there's a comprehensive description of the settings
anywhere. Most of them seem pretty self-explanatory, and you
can probably
turn off the rest. Here's what I use:
threads=native trio=no c14n=yes ftp=no http=no html=yes
catalog=no docb=no
xpath=yes xptr=yes xinclude=yes iconv=no zlib=no xml_debug=no
mem_debug=no
regexps=yes schemas=yes python=no compiler=msvc
I'm using xmlsec for digital signatures, and these setting
work for me.
Your mileage may vary. In particular, you might want HTTP and/or FTP
support, I think you need iconv if you want to transcode to
encodings other
than the basic ones, and you may not need xpath, xptr, and xinclude,
depending on your documents. I think you'll need
canonicalization (c14n) in
order to perform signature generation and verification.
-----Original Message-----
From: Vincent Finn [mailto:vincent finn automsoft com]
Sent: Tuesday, July 08, 2003 10:51 AM
To: 'Jesse Pelton'
Subject: RE: [xml] Building on Windows
Ah thanks
One more question on this
Is there anywhere explaining what each of the options does?
I can see lots of articles about them on the web site
but no explanation
Vin
-----Original Message-----
From: Jesse Pelton [mailto:jsp PKC com]
Sent: 08 July 2003 14:20
To: 'Vincent Finn'
Subject: RE: [xml] Building on Windows
Sorry, I should have mentioned that. There's a typo in
configure.js; just
delete line 201.
-----Original Message-----
From: Vincent Finn [mailto:vincent finn automsoft com]
Sent: Tuesday, July 08, 2003 10:21 AM
To: 'Jesse Pelton'
Cc: 'xml gnome org'
Subject: RE: [xml] Building on Windows
I get an error when I try that
...\configure.js(202, 4) Microsoft JScript compilation error:
Syntax error
There wouldn't be a version problem with JScript would there?
I am running WindowsXP!
-----Original Message-----
From: Jesse Pelton [mailto:jsp PKC com]
Sent: 08 July 2003 14:08
To: 'Vincent Finn'
Subject: RE: [xml] Building on Windows
I think you need to run configure.js. Go to the win32
directory, run
"cscript configure.js help" to see what the options are, then
run "cscript
configure.js <options>" with your choice of options.
-----Original Message-----
From: Vincent Finn [mailto:vincent finn automsoft com]
Sent: Tuesday, July 08, 2003 10:07 AM
To: 'xml gnome org'
Subject: [xml] Building on Windows
Hi,
I recently decided to evaluate libXml (I currently use
xerces) in order to
get Digital Signature support but I can't get it to build anything
I got the latest version (libxml2-2.5.8.tar.gz) and simply
went to the
win32\dsp folder and tried to compile the libxml project.
It complains about files being missing, an they are missing
but I'm not sure
what they are for or where to get them.
The error messages are as follows
(I don't know why the first build gives a different error, or
why that error
goes away)
first build (debug)
.\libxml2.def.src(20) : fatal error C1083: Cannot open
include file:
'../../include/libxml/xmlwin32version.h': No such file or
directory
any other build (debug or release)
..\..\include\libxml/encoding.h(27) : fatal error C1083:
Cannot open include
file: 'iconv.h': No such file or directory
can anyone tell me why these files are missing, I'm running VC6
Thanks, Vin
--------------------------------------------------------------
----------
vincent finn automsoft com
--------------------------------------------------------------
----------
The best things in life are free,
if it's dark and you have a large van.
--------------------------------------------------------------
----------
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]