Hola
Tengo esta duda.
¿como compilar libxml2 con BCBXE7 ?
Estoy compilando
libxml2-2.9.0
en su version shared dll osea que necesite de las dll de iconv.dll y de zlib1.dll
estoy usando c++ Builder XE7
Compile con la linea de comandos en version de 32 bits y usar el bcc32
y si me genera los binarios de ejemplo y dll y lib
Al querer replicar la compilacion desde el IDE
agrege todos los archivos que en el makefile encuentro y 2 archivos me dan error
lineas 39 y 41 archivo
schematron.c
#define SCT_OLD_NS BAD_CAST "http://www.ascc.net/xml/schematron"
#define XML_SCHEMATRON_NS BAD_CAST "http://purl.oclc.org/dsdl/schematron"
xlink.c
lineas 42 y 43
#define XLINK_NAMESPACE (BAD_CAST "http://www.w3.org/1999/xlink/namespace/")
#define XHTML_NAMESPACE (BAD_CAST "http://www.w3.org/1999/xhtml/")
El error dice
[bcc32 Error] schematron.c(39): E2040 Declaration terminated incorrectly
si los quito de la compilacion del proyecto en el ide si compila y me genera la dll libxml2.dll
y su archivo de importacion libxml2.lib
¿Alguien sabe del uso de libxml2 y de si esos archivos son necesarios?
Código:
# Libxml object files.
XML_OBJS = $(XML_INTDIR)\buf.obj\
$(XML_INTDIR)\c14n.obj\
$(XML_INTDIR)\catalog.obj\
$(XML_INTDIR)\chvalid.obj\
$(XML_INTDIR)\debugXML.obj\
$(XML_INTDIR)\dict.obj\
$(XML_INTDIR)\DOCBparser.obj\
$(XML_INTDIR)\encoding.obj\
$(XML_INTDIR)\entities.obj\
$(XML_INTDIR)\error.obj\
$(XML_INTDIR)\globals.obj\
$(XML_INTDIR)\hash.obj\
$(XML_INTDIR)\HTMLparser.obj\
$(XML_INTDIR)\HTMLtree.obj\
$(XML_INTDIR)\legacy.obj\
$(XML_INTDIR)\list.obj\
$(XML_INTDIR)\nanoftp.obj\
$(XML_INTDIR)\nanohttp.obj\
$(XML_INTDIR)\parser.obj\
$(XML_INTDIR)\parserInternals.obj\
$(XML_INTDIR)\pattern.obj\
$(XML_INTDIR)\relaxng.obj\
$(XML_INTDIR)\SAX.obj\
$(XML_INTDIR)\SAX2.obj\
$(XML_INTDIR)\schematron.obj\
$(XML_INTDIR)\threads.obj\
$(XML_INTDIR)\tree.obj\
$(XML_INTDIR)\uri.obj\
$(XML_INTDIR)\valid.obj\
$(XML_INTDIR)\xinclude.obj\
$(XML_INTDIR)\xlink.obj\
$(XML_INTDIR)\xmlIO.obj\
$(XML_INTDIR)\xmlmemory.obj\
$(XML_INTDIR)\xmlreader.obj\
$(XML_INTDIR)\xmlregexp.obj\
$(XML_INTDIR)\xmlmodule.obj\
$(XML_INTDIR)\xmlsave.obj\
$(XML_INTDIR)\xmlschemas.obj\
$(XML_INTDIR)\xmlschemastypes.obj\
$(XML_INTDIR)\xmlunicode.obj\
$(XML_INTDIR)\xmlwriter.obj\
$(XML_INTDIR)\xpath.obj\
$(XML_INTDIR)\xpointer.obj\
$(XML_INTDIR)\xmlstring.obj
Gracias