Hi,
I tried to compile openbabel from the svn repository using CMake, and
your last version of mdlformat.cpp won't compile.
I'm on ubuntu 9.10, using g++-4.4. Here is the error message:

[ 64%] Building CXX object
src/formats/CMakeFiles/mdlformat.dir/mdlformat.o
/home/driss/local/src/openbabel/src/formats/mdlformat.cpp: In member
function ‘void OpenBabel::MDLFormat::GetParity(OpenBabel::OBMol&,
std::map<OpenBabel::OBAtom*, OpenBabel::MDLFormat::Parity,
std::less<OpenBabel::OBAtom*>,
std::allocator<std::pair<OpenBabel::OBAtom* const,
OpenBabel::MDLFormat::Parity> > >&, std::map<OpenBabel::OBBond*,
OpenBabel::OBStereo::BondDirection, std::less<OpenBabel::OBBond*>,
std::allocator<std::pair<OpenBabel::OBBond* const,
OpenBabel::OBStereo::BondDirection> > >&, std::map<OpenBabel::OBBond*,
long unsigned int, std::less<OpenBabel::OBBond*>,
std::allocator<std::pair<OpenBabel::OBBond* const, long unsigned int> >
>&, bool)’:
/home/driss/local/src/openbabel/src/formats/mdlformat.cpp:1438: error:
no matching function for call to ‘find(__gnu_cxx::__normal_iterator<long
unsigned int*, std::vector<long unsigned int, std::allocator<long
unsigned int> > >, __gnu_cxx::__normal_iterator<long unsigned int*,
std::vector<long unsigned int, std::allocator<long unsigned int> > >,
OpenBabel::OBStereo::<anonymous enum>)’
make[2]: *** [src/formats/CMakeFiles/mdlformat.dir/mdlformat.o] Erreur 1
make[1]: *** [src/formats/CMakeFiles/mdlformat.dir/all] Erreur 2
make: *** [all] Erreur 2


The previous version works just fine, maybe I missed something (still
not used to communautary projects).


-- 
BENNANI Driss - PhD Student

http://www.iecb.u-bordeaux.fr/
d.benn...@iecb.u-bordeaux.fr
Institut Européen de Chimie et Biologie (IECB)
CNRS UMR 5248 Chimie et Biologie des Membranes et des Nano-objets (CBMN)
2, rue Robert Escarpit
33607 Pessac Cedex
FRANCE
Tél : 33 (0)5 40 00 30 31
Fax : 33 (0)5 40 00 22 15


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to