[Vala] libxml2 on windows (undefined reference to `xmlNewTextWriterFilename')



I have problems compiling libxml2 on windows. Download binaries from the
following address:

http://xmlsoft.org/sources/win32/libxml2-2.7.8.win32.zip

But I try to compile the following error

C:\Documents and Settings\USUARIO\Mis documentos\mOTOROLA>valac --pkg
glib-2.0 -
-pkg libxml-2.0 xml.vala -X -llibxml2
C:\DOCUME~1\USUARIO\CONFIG~1\Temp/cch6IR6d.o:xml.vala.c:(.text+0x181):
undefined
 reference to `xmlNewTextWriterFilename'
C:\DOCUME~1\USUARIO\CONFIG~1\Temp/cch6IR6d.o:xml.vala.c:(.text+0x195):
undefined
 reference to `xmlTextWriterFlush'
C:\DOCUME~1\USUARIO\CONFIG~1\Temp/cch6IR6d.o:xml.vala.c:(.text+0x1a6):
undefined
 reference to `xmlFreeTextWriter'
collect2: ld returned 1 exit status
error: cc exited with status 1
Compilation failed: 1 error(s), 0 warning(s)

The example you take the tutorial vala.
If someone can guide me would be helpful


 <http://xmlsoft.org/sources/win32/libxml2-2.7.8.win32.zip>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]