gchemutils-main
[Top][All Lists]
Advanced

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

[Gchemutils-main] Re: Both don't compile with openbabel cvs


From: Jean Bréfort
Subject: [Gchemutils-main] Re: Both don't compile with openbabel cvs
Date: Tue, 13 Sep 2005 11:52:38 +0200

Le mardi 13 septembre 2005 à 02:56 -0400, kmberry a écrit :
> gtkchem3dviewer.cc: In function 'void 
> gtk_chem3d_viewer_set_data(GtkChem3DViewer*, const gchar*, const gchar*)':
> gtkchem3dviewer.cc:446: error: 'class OpenBabel::OBConversion' has no 
> member named 'FormatFromMIME'
> make[2]: *** [gtkchem3dviewer.lo] Error 1
> make[2]: Leaving directory `/home/local/gnome-chemistry-utils-0.4.6/gcu'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/local/gnome-chemistry-utils-0.4.6'
> make: *** [all] Error 2
> address@hidden gnome-chemistry-utils-0.4.6]#

obconversion.h:205:     static OBFormat*        FormatFromMIME(const char* 
MIME);

If you want to use cvs, use the openbabel-new-framework branch. HEAD is
quite incomplete.

> element.cc: In constructor 'EltTable::EltTable()':
> element.h:63: error: 'gcu::Element::Element(int, const char*)' is private
> element.cc:97: error: within this context
> element.h:235: error: 'unsigned char gcu::Element::m_MaxBonds' is private
> element.cc:101: error: within this context
> element.h:232: error: 'double gcu::Element::m_Weight' is private
> element.cc:104: error: within this context
> element.h:233: error: 'int gcu::Element::m_WeightPrec' is private
> element.cc:106: error: within this context
> element.h:238: error: 'std::string gcu::Element::name' is private
> element.cc:120: error: within this context
> element.h:237: error: 'double gcu::Element::m_DefaultColor [3]' is private
> element.cc:129: error: within this context
> element.h:237: error: 'double gcu::Element::m_DefaultColor [3]' is private
> element.cc:134: error: within this context
> element.h:237: error: 'double gcu::Element::m_DefaultColor [3]' is private
> element.cc:139: error: within this context
> element.h:238: error: 'std::string gcu::Element::name' is private
> element.cc:144: error: within this context
> element.h:238: error: 'std::string gcu::Element::name' is private
> element.cc:144: error: within this context
> element.cc: In destructor 'virtual EltTable::~EltTable()':
> element.h:64: error: 'virtual gcu::Element::~Element()' is private
> element.cc:160: error: within this context
> make[2]: *** [element.lo] Error 1
> make[2]: Leaving directory `/home/local/gnome-chemistry-utils-0.5.1/gcu'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/local/gnome-chemistry-utils-0.5.1'
> make: *** [all] Error 2
> address@hidden gnome-chemistry-utils-0.5.1]#

OK, I suppose you use gcc-4.0.x. I have fixed that in 0.4 but not in
HEAD (I use 3.4.4 and don't always check for other versions when dealing
with unstable versions). Please file a bug report, it will be fixed
before 0.5.2.

> uname -a
> Linux kmberry.org 2.6.11-1.1381_FC5 #1 Thu Jun 9 20:56:43 EDT 2005 i686 
> i686 i386 GNU/Linux

Thanks for your feedback

Jean





reply via email to

[Prev in Thread] Current Thread [Next in Thread]