On 3/18/07, Tony Kirke <tk...@gm...> wrote:
> Hi,
> When run py++, it creates a __call_policies.pypp.hpp with includes
>
> #include "boost/python.hpp"
> #include "boost/mpl/int.hpp"
> #include "boost/function.hpp"
> #include "boost/python/suite/indexing/iterator_range.hpp"
> #include "boost/python/object/class_detail.hpp"
> #include "boost/type_traits/is_same.hpp"
>
> However
> #include "boost/python/suite/indexing/iterator_range.hpp"
> is not part of boost_1_33_1 as far as I can tell
> How do I resolve this?
It depends on what you use from the header. If you use return_range call policy
(http://language-binding.net/pyplusplus/documentation/functions/call_policies.html#return-range)
Then you have to install indexing suite v2. You can find it under
/pyplusplus_dev/indexing_suite_v2 directory.
If you don't, than I think I will have to move this call policy to a
separate header.
Now, when you raised this point I think I unintentionally introduced
dependency on
new indexing suite :-(.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|