After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 563664 - Packaging incomplete for Schema/SchemaValidator on win32
Packaging incomplete for Schema/SchemaValidator on win32
Status: RESOLVED FIXED
Product: libxml++
Classification: Bindings
Component: General
2.24.x
Other All
: Normal normal
: ---
Assigned To: Christophe de Vienne
Christophe de Vienne
Depends on:
Blocks:
 
 
Reported: 2008-12-08 10:42 UTC by Arjan Franzen
Modified: 2008-12-18 16:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arjan Franzen 2008-12-08 10:42:49 UTC
Please describe the problem:
When using the binary win32 distribution for the gtkmm library, I cannot use the libxml++ SchemaValidator because it misses schema/schemavalidator when linking. 
Apparently both aren't included in the binary distribution for Visual Studio 2005/2008.
however the only file that exports both symbols is: libxml++-2.6.dll.a but that is not usable by Visual Studio (or i'm not able to)


Steps to reproduce:
1. Download gtkmm binary distribution for win32 from http://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.14/ and install it
2. try to compile libxml++  v2.24 examples\schemavalidation\main.cc



Actual results:
Source compiles but
Linker states it misses exports for Schema and SchemaValidator

Expected results:
Compile and Link

Does this happen every time?
Yes

Other information:
Comment 1 Murray Cumming 2008-12-08 10:47:02 UTC
CCing Armin, who built the win32 installer.
Comment 2 Armin Burgmeier 2008-12-08 17:24:54 UTC
It seems that the Visual Studio project files for libxml++ don't contain the schema.cc and schemavalidator.cc files yet. I'll update the projects and the installer next weekend (I don't have access to my Windows development machine before).
Comment 3 Murray Cumming 2008-12-08 18:09:26 UTC
Thanks. When you do, please release a new tarball version because there are two leak fixes that this person also needs.
Comment 4 Armin Burgmeier 2008-12-13 13:23:06 UTC
Done. You normally don't send announcement emails for libxml++ releases, do you?

ftp://ftp.gnome.org/pub/GNOME/sources/libxml++/2.24/
ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.14/
Comment 5 Arjan Franzen 2008-12-16 08:11:12 UTC
I've tested the latest gtkmm-win32-devel-2.14.3-2.exe and can confirm that the main memoryleak is still in there.

The linking problem in VS2005 with LibXML++ is solved, thats good!

I'm guessing that the 
  if (impl_) {
	  xmlSchemaFree(impl_);
  } 
in schema.cc did not get integrated.


Comment 6 Murray Cumming 2008-12-16 08:15:03 UTC
This bug is about the installer and it is closed as fixed.

If you have a memory leak please file a bug or add your comment to the relevant existing bug.