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




I'm sorry for redirecting you're thinking, but I recommend you to build this by mingw32(with msys). I'm 
telling you this because I've tested it...
When you'll attemp to install, you'll probably run into some troubles(pthreads), so follow this guide:
http://gstreamer.freedesktop.org/wiki/BuildingGStreamerInMinGWMsys
I know it's for GStreamer in mingw, but it tells you how to build it deps(libxml2), so read "Install libxml2".

However, I've never tested the "libxml2-*.*.*.win32.zip" version, so I can't tell you if there is some bug 
there.

Yours
Tal

Date: Mon, 8 Aug 2011 16:51:50 -0500
From: edwinspire gmail com
To: vala-list gnome org
Subject: [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>

_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list                                          


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