[Debian-med-packaging] Bug#720681: (Further) help with C++ needed
Andreas Tille
andreas at an3as.eu
Thu Dec 12 20:10:50 UTC 2013
Hi Gert,
On Thu, Dec 12, 2013 at 07:43:34PM +0100, Gert Wollny wrote:
>
> temp_ptr is of type "boost::shared_ptr<CrystalInfo>", but the only
> NamedProperty constructor that comes close is the one that accepts
> "boost::shared_ptr<PersistentObject>".
>
> Since these are different types, the constructor can not be used. I can
> only guess that at one point the boost::shared_ptr implementation
> supported this kind of automatic casting of the contained class
> pointers, otherwise the code could never have compiled.
>
> To solve this:
>
> Since CrystalInfo is a derived from PersistentObject, you can replace
> the line /PDBFileDetails.C:901 by
>
> boost::shared_ptr<PersistentObject> temp_ptr(new CrystalInfo());
>
> Hope that helps,
In dead this helps a lot:
http://anonscm.debian.org/gitweb/?p=debian-med/ball.git;a=blob;f=debian/patches/0102-fix-boost-compatibility-issue.patch
because this also solves bug #720681. :-)
Unfortunately the build is not yet finished since it now stops with:
make[4]: Entering directory `/tmp/buildd/ball-1.4.2/build'
[ 67%] Building CXX object CMakeFiles/VIEW.dir/source/VIEW/DIALOGS/assignBondOrderConfigurationDialog.o
In file included from /tmp/buildd/ball-1.4.2/source/VIEW/DIALOGS/assignBondOrderConfigurationDialog.C:5:0:
/tmp/buildd/ball-1.4.2/include/BALL/VIEW/DIALOGS/assignBondOrderConfigurationDialog.h:21:65: fatal error: BALL/VIEW/UIC/ui_assignBondOrderConfigurationDialog.h: No such file or directory
#include <BALL/VIEW/UIC/ui_assignBondOrderConfigurationDialog.h>
^
compilation terminated.
make[4]: *** [CMakeFiles/VIEW.dir/source/VIEW/DIALOGS/assignBondOrderConfigurationDialog.o] Error 1
The issue is described in the upstream tracker
http://ball-trac.bioinf.uni-sb.de/ticket/520
(upstream is in CC of all these mails - so perhaps they might be enlight
us a bit).
I'm now trying to implement the hint of the issue reporter to run
uic-qt4 on the .ui files.
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list