Re: Re: Re: [xml] about the xmllib's shema



thanks for your help first.
i download the binary lib. but i want the source code, because i can give some
else compile arguments.like /MTd etc. can you give me your version's source code?

i download the 2.4.26 package from the gnome ftp site. but it lose the wsockcompat.h
and there isn't the iconv.h. 

the readme.txt told me, i can change the options in the xmlwin32version.h to get
the optional features. but i didn't found the libxml_schemas_enabled in it. so i think
this version can't support the schemas in the windows platform at all.but i can't 
get the later version now. can you help me?
in the read me file, i found this line :
5. January 2002, Igor Zlatkovic <igor stud fh-frankfurt de>

so i think it's so old. hehe ,do you have new stable release now? and may i 
have a copy? thanks a lot.

i try to change my project file, but i'm failed.
i add the libxml_schemas_enabled macro in the xmlwin32version.h. and then i must add
the libxml_regexp_enabled macro too. i added them, then there are some link error:
Linking...
   Creating library libxml2/libxml2.lib and object libxml2/libxml2.exp
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsBlock
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatCo
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatCf
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatCc
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatSo
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatSk
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatSc
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatSm
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatS
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatZp
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatZl
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatZs
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatPo
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatPf
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatPi
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatPe
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatPs
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatPd
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatPc
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatNo
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatNl
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatN
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatMe
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatMc
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatMn
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatM
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatLo
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatLm
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatLt
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatLl
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatLu
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatL
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatC
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatZ
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatP
xmlregexp.obj : error LNK2001: unresolved external symbol _xmlUCSIsCatNd
libxml2/libxml2.dll : fatal error LNK1120: 36 unresolved externals
Error executing link.exe.

i found out this API declare in the libxml-py.c, i add this file in the project
but at the top of this file,there a #include <Python.h>, i don't know
where could i find it. can you help me? thanks.

Hi,

It seems something is wrong with your Visual Studio project file. Those in
win32\dsp are probably outdated by now. Even if not, the source must be
configured before building in order to generate few files properly.

You can do one of the following:

1. Download the binary distribution from
   http://www.fh-frankfurt.de/~igor/projects/libxml/
which is compiled with XML Schemas support.

2. Build the library from the command line. Check win32\Readme.txt for how
to do this. This approach is very easy and it works.

3. If you need to use Visual Studio project files, for example in order to
use the integrated debugger, then you must fix the project files. See if
Visual Studio can use the win32\Makefile.msvc directly instead of the
project file, or at least generate a project file from that makefile.
Aditionally, you must perform some manual changes to the source. Visual
Studio can be configured to do an extra build step and you should have it
run win32\configure.js script with the apropriate parameters as the first
build step, that should do it.

Ciao
Igor

_______________________________________________
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]