On Wed, Apr 25, 2012 at 11:06 PM, Jan Holst Jensen
<[email protected]> wrote:
>
> When compiling 2012_03_1 on Ubuntu 10.04.2 with boost 1.40.0 I get the
> following make error:
>
> [  4%] Building CXX object Code/RDBoost/CMakeFiles/RDBoost.dir/Wrap.cpp.o
> In file included from /home/jhje/RDKit_2012_03_1/Code/RDBoost/Wrap.cpp:16:
> /home/jhje/RDKit_2012_03_1/Code/RDBoost/Wrap.h: In function
> \u2018std::vector<T, std::allocator<_CharT> >*
> pythonObjectToVect(boost::python::api::object, T)\u2019:
> /home/jhje/RDKit_2012_03_1/Code/RDBoost/Wrap.h:108: error:
> \u2018uint32_t\u2019 is not a member of \u2018boost\u2019
> /home/jhje/RDKit_2012_03_1/Code/RDBoost/Wrap.h:108: error: expected
> \u2018;\u2019 before \u2018v\u2019
> /home/jhje/RDKit_2012_03_1/Code/RDBoost/Wrap.h:109: error: \u2018v\u2019 was
> not declared in this scope
> /home/jhje/RDKit_2012_03_1/Code/RDBoost/Wrap.h:112: error: \u2018v\u2019 was
> not declared in this scope
> make[2]: *** [Code/RDBoost/CMakeFiles/RDBoost.dir/Wrap.cpp.o] Error 1
> make[1]: *** [Code/RDBoost/CMakeFiles/RDBoost.dir/all] Error 2
> make: *** [all] Error 2
>
>
> I found that this change to line 44 of Code/RDBoost/Wrap.h fixes the issue:
>
>     #ifndef RDKIT_WRAP_DECL
>     #define RDKIT_WRAP_DECL
>     #endif
>     #include <boost/python/suite/indexing/vector_indexing_suite.hpp>
> +   #include <boost/cstdint.hpp>
>     #include "list_indexing_suite.hpp"
>     #include <vector>
>
> 'make test' subsequently pass OK - all 76 tests. I guess the change should
> be harmless to implement in general ?

Thanks for the patch. I'll go ahead and add it.

-greg

------------------------------------------------------------------------------
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/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to