Dear Andreas,

Please send RDKit questions to the mailing list so that the questions
and answers can be archived for others to find in future.

On Sun, Mar 27, 2011 at 10:29 PM, Andreas Steffen
<[email protected]> wrote:
> Dear Greg,
> first of all many thanks for such a great library!

You're welcome. Thanks for the kind words.

> When compiling on my mac (10.6.6) I am getting the following error:
> In file included from /usr/local/include/boost/proto/domain.hpp:17,
>                  from /usr/local/include/boost/proto/traits.hpp:34,
>                  from
> /usr/local/include/boost/xpressive/detail/core/access.hpp:18,
>                  from
> /usr/local/include/boost/xpressive/detail/core/state.hpp:18,
>                  from
> /usr/local/include/boost/xpressive/detail/core/matcher/alternate_end_matcher.hpp:20,
>                  from
> /usr/local/include/boost/xpressive/detail/core/matchers.hpp:17,
>                  from
> /usr/local/include/boost/xpressive/regex_primitives.hpp:22,
>                  from
> /usr/local/include/boost/xpressive/xpressive_static.hpp:24,
>                  from /usr/local/include/boost/graph/graphviz.hpp:31,
>                  from
> /Users/asteffen/programming/RDKit_2010_12_1/Code/GraphMol/MolOps.cpp:34:
> /usr/local/include/boost/proto/generate.hpp:391: error: ‘tr1_result_of’ is
> not a template
> make[2]: *** [Code/GraphMol/CMakeFiles/GraphMol.dir/MolOps.cpp.o] Error 1
> make[1]: *** [Code/GraphMol/CMakeFiles/GraphMol.dir/all] Error 2
> make: *** [all] Error 2
> Any solution to this?

I haven't seen this one before, but the solution is quite easy: delete
line 34 from MolOps.cpp.  The line:
#include <boost/graph/graphviz.hpp>
is an old one that includes a library which is no longer used in the
file, so it can be safely removed.

Out of curiosity: which version of the boost libraries are you using?

Best Regards,
-greg

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to