From kde-devel Wed Aug 29 18:19:32 2007 From: Thiago Macieira Date: Wed, 29 Aug 2007 18:19:32 +0000 To: kde-devel Subject: Re: weird issue in kalzium -- possible KDE buildsystem linking issue Message-Id: <200708292019.37695.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=118841165229010 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============2032620258==" --===============2032620258== Content-Type: multipart/signed; boundary="nextPart3911843.bZQzEjs1oR"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3911843.bZQzEjs1oR Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 29 August 2007 20:04:29 Benoit Jacob wrote: > Actually the problem is even worse than that, and not limited to global > objects. > > When we load molecules from files using OpenBabel, the Molecule object > that OpenBabel gives us has corrupted data. The atoms look like they are > aligned on a grid. Most likely, their coordinates, which are doubles, are > casted to ints. > > So it looks like, all the data the OpenBabel passes to us is corrupted by > some kind of unwanted casting to type it. > > The only data that's not getting corrupted is chars, so that agrees with > the theory that the corruption consists in casting all the data to ints. > > Do you have an idea? That looks very much like a linkage issue... =46rom your description, I doubt it is a linkage issue. You said the Molecule object that OpenBabel gives you has corrupted data. T= he=20 only way for that corrupted data to be there is for OpenBabel to have put i= t=20 there. Or if you're reading it wrongly -- that is, binary incompatibly. Can you test your sample program with a normal compilation and a=20 KDE-CMake-based compilation and see if the problem is reproduceable? In other words, start from your broken Kalzium and remove parts of it until= =20 your program starts working again (remove other modules, remove other=20 libraries, remove the buildsystem). =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart3911843.bZQzEjs1oR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBG1bizM/XwBW70U1gRAu9hAJ4wL0lJPFwxgaHxW+ObZ1i4jbGYAQCeImO9 olRx/womE+LGviny/MqJ9jE= =XM4s -----END PGP SIGNATURE----- --nextPart3911843.bZQzEjs1oR-- --===============2032620258== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============2032620258==--