HI,

On Thu, Aug 9, 2012 at 12:01 AM, Jeff Janes <jeff.ja...@gmail.com> wrote:
> On Wed, Aug 8, 2012 at 5:49 AM, Noel O'Boyle <baoille...@gmail.com> wrote:
>> I fixed the Eigen2 problem with a cast. Hopefully it still works for Eigen3.
>
> I've verified revision 4976 against Eigen2
>
> but against Eigen 3 it now fails with:
>
> [ 82%] Building CXX object tools/CMakeFiles/obrms.dir/obrms.o
> /home/ec2-user/openbabel/tools/obrms.cpp:41:35: error:
> boost/unordered_map.hpp: No such file or directory
> /home/ec2-user/openbabel/tools/obrms.cpp:44: error: ‘boost’ is not a
> namespace-name
> /home/ec2-user/openbabel/tools/obrms.cpp:44: error: expected
> namespace-name before ‘;’ token

Do you have the boost c++ libraries installed? We already detect if
boost is present so we could fall back on the slower std::map if
needed. If you want a quick fix, just replace boost::unordered_map
with std::map

> /home/ec2-user/openbabel/tools/obrms.cpp: In member function ‘virtual
> bool 
> Matcher::MapRMSDFunctor::operator()(OpenBabel::OBIsomorphismMapper::Mapping&)’:
> /home/ec2-user/openbabel/tools/obrms.cpp:95: error: ‘assert’ was not
> declared in this scope

This is because the cassert header is not included. I've experienced
this problem before when compiling code on linux that was originally
written on my mac. The clang STL headers on macosx probably include
cassert somewhere. Adding #include <cassert> to obrms.cpp should fix
the problem.

> make[2]: *** [tools/CMakeFiles/obrms.dir/obrms.o] Error 1
> make[1]: *** [tools/CMakeFiles/obrms.dir/all] Error 2
> make: *** [all] Error 2
>
> Cheers,
>
> Jeff
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to