Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 33%] Building CXX object pygmo/CMakeFiles/core.dir/core.cpp.o
- In file included from /Users/darioizzo/Documents/PaGMOreborn/pygmo/core.cpp:4:
- In file included from /usr/local/include/boost/python/args.hpp:25:
- In file included from /usr/local/include/boost/python/object_core.hpp:20:
- /usr/local/include/boost/python/def_visitor.hpp:43:29: error: no matching member function for call to 'visit'
- v.derived_visitor().visit(c, name, options);
- ~~~~~~~~~~~~~~~~~~~~^~~~~
- /usr/local/include/boost/python/def_visitor.hpp:74:29: note: in instantiation of function template specialization
- 'boost::python::def_visitor_access::visit<boost::python::def_visitor<boost::python::init<unsigned int, double, double, double, double, double,
- double, double, bool, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >, boost::python::class_<pagmo::cmaes,
- boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>,
- boost::python::detail::def_helper<const char *, boost::python::detail::not_specified, boost::python::detail::not_specified,
- boost::python::detail::not_specified> >' requested here
- def_visitor_access::visit(*this, c, name, options);
- ^
- /usr/local/include/boost/python/class.hpp:482:12: note: in instantiation of function template specialization
- 'boost::python::def_visitor<boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, mpl_::void_,
- mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >::visit<boost::python::class_<pagmo::cmaes, boost::python::detail::not_specified,
- boost::python::detail::not_specified, boost::python::detail::not_specified>, boost::python::detail::def_helper<const char *,
- boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified> >' requested here
- v->visit(*this, name, helper);
- ^
- /usr/local/include/boost/python/class.hpp:235:15: note: in instantiation of function template specialization 'boost::python::class_<pagmo::cmaes,
- boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>::def_impl<pagmo::cmaes,
- boost::python::detail::def_helper<const char *, boost::python::detail::not_specified, boost::python::detail::not_specified,
- boost::python::detail::not_specified>, boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, mpl_::void_,
- mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>, boost::python::init<unsigned int, double, double, double, double, double, double,
- double, bool, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >' requested here
- this->def_impl(
- ^
- /Users/darioizzo/Documents/PaGMOreborn/pygmo/core.cpp:597:12: note: in instantiation of function template specialization
- 'boost::python::class_<pagmo::cmaes, boost::python::detail::not_specified, boost::python::detail::not_specified,
- boost::python::detail::not_specified>::def<boost::python::init<unsigned int, double, double, double, double, double, double, double, bool,
- mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >' requested here
- cmaes_.def("__init__", bp::init<unsigned,double,double,double,double,double,double,double,bool>(
- ^
- /usr/local/include/boost/python/init.hpp:143:10: note: candidate function template not viable: requires single argument 'cl', but 3 arguments were
- provided
- void visit(classT& cl) const
- ^
- In file included from /Users/darioizzo/Documents/PaGMOreborn/pygmo/core.cpp:4:
- In file included from /usr/local/include/boost/python/args.hpp:25:
- In file included from /usr/local/include/boost/python/object_core.hpp:20:
- /usr/local/include/boost/python/def_visitor.hpp:43:29: error: no matching member function for call to 'visit'
- v.derived_visitor().visit(c, name, options);
- ~~~~~~~~~~~~~~~~~~~~^~~~~
- /usr/local/include/boost/python/def_visitor.hpp:74:29: note: in instantiation of function template specialization
- 'boost::python::def_visitor_access::visit<boost::python::def_visitor<boost::python::init<unsigned int, double, double, double, double, double,
- double, double, bool, unsigned int, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >, boost::python::class_<pagmo::cmaes,
- boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>,
- boost::python::detail::def_helper<const char *, boost::python::detail::not_specified, boost::python::detail::not_specified,
- boost::python::detail::not_specified> >' requested here
- def_visitor_access::visit(*this, c, name, options);
- ^
- /usr/local/include/boost/python/class.hpp:482:12: note: in instantiation of function template specialization
- 'boost::python::def_visitor<boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, unsigned int,
- mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >::visit<boost::python::class_<pagmo::cmaes, boost::python::detail::not_specified,
- boost::python::detail::not_specified, boost::python::detail::not_specified>, boost::python::detail::def_helper<const char *,
- boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified> >' requested here
- v->visit(*this, name, helper);
- ^
- /usr/local/include/boost/python/class.hpp:235:15: note: in instantiation of function template specialization 'boost::python::class_<pagmo::cmaes,
- boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>::def_impl<pagmo::cmaes,
- boost::python::detail::def_helper<const char *, boost::python::detail::not_specified, boost::python::detail::not_specified,
- boost::python::detail::not_specified>, boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, unsigned int,
- mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>, boost::python::init<unsigned int, double, double, double, double, double, double,
- double, bool, unsigned int, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >' requested here
- this->def_impl(
- ^
- /Users/darioizzo/Documents/PaGMOreborn/pygmo/core.cpp:601:12: note: in instantiation of function template specialization
- 'boost::python::class_<pagmo::cmaes, boost::python::detail::not_specified, boost::python::detail::not_specified,
- boost::python::detail::not_specified>::def<boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, unsigned
- int, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >' requested here
- cmaes_.def("__init__",bp::init<unsigned,double,double,double,double,double,double, double,bool,unsigned>((bp::arg("gen") = 1u,
- ^
- /usr/local/include/boost/python/init.hpp:143:10: note: candidate function template not viable: requires single argument 'cl', but 3 arguments were
- provided
- void visit(classT& cl) const
- ^
- 2 errors generated.
- make[2]: *** [pygmo/CMakeFiles/core.dir/core.cpp.o] Error 1
- make[1]: *** [pygmo/CMakeFiles/core.dir/all] Error 2
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement