Advertisement
Guest User

Untitled

a guest
Jun 8th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 KB | None | 0 0
  1. [ 33%] Building CXX object pygmo/CMakeFiles/core.dir/core.cpp.o
  2. In file included from /Users/darioizzo/Documents/PaGMOreborn/pygmo/core.cpp:4:
  3. In file included from /usr/local/include/boost/python/args.hpp:25:
  4. In file included from /usr/local/include/boost/python/object_core.hpp:20:
  5. /usr/local/include/boost/python/def_visitor.hpp:43:29: error: no matching member function for call to 'visit'
  6. v.derived_visitor().visit(c, name, options);
  7. ~~~~~~~~~~~~~~~~~~~~^~~~~
  8. /usr/local/include/boost/python/def_visitor.hpp:74:29: note: in instantiation of function template specialization
  9. 'boost::python::def_visitor_access::visit<boost::python::def_visitor<boost::python::init<unsigned int, double, double, double, double, double,
  10. double, double, bool, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >, boost::python::class_<pagmo::cmaes,
  11. boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>,
  12. boost::python::detail::def_helper<const char *, boost::python::detail::not_specified, boost::python::detail::not_specified,
  13. boost::python::detail::not_specified> >' requested here
  14. def_visitor_access::visit(*this, c, name, options);
  15. ^
  16. /usr/local/include/boost/python/class.hpp:482:12: note: in instantiation of function template specialization
  17. 'boost::python::def_visitor<boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, mpl_::void_,
  18. mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >::visit<boost::python::class_<pagmo::cmaes, boost::python::detail::not_specified,
  19. boost::python::detail::not_specified, boost::python::detail::not_specified>, boost::python::detail::def_helper<const char *,
  20. boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified> >' requested here
  21. v->visit(*this, name, helper);
  22. ^
  23. /usr/local/include/boost/python/class.hpp:235:15: note: in instantiation of function template specialization 'boost::python::class_<pagmo::cmaes,
  24. boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>::def_impl<pagmo::cmaes,
  25. boost::python::detail::def_helper<const char *, boost::python::detail::not_specified, boost::python::detail::not_specified,
  26. boost::python::detail::not_specified>, boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, mpl_::void_,
  27. mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>, boost::python::init<unsigned int, double, double, double, double, double, double,
  28. double, bool, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >' requested here
  29. this->def_impl(
  30. ^
  31. /Users/darioizzo/Documents/PaGMOreborn/pygmo/core.cpp:597:12: note: in instantiation of function template specialization
  32. 'boost::python::class_<pagmo::cmaes, boost::python::detail::not_specified, boost::python::detail::not_specified,
  33. boost::python::detail::not_specified>::def<boost::python::init<unsigned int, double, double, double, double, double, double, double, bool,
  34. mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >' requested here
  35. cmaes_.def("__init__", bp::init<unsigned,double,double,double,double,double,double,double,bool>(
  36. ^
  37. /usr/local/include/boost/python/init.hpp:143:10: note: candidate function template not viable: requires single argument 'cl', but 3 arguments were
  38. provided
  39. void visit(classT& cl) const
  40. ^
  41. In file included from /Users/darioizzo/Documents/PaGMOreborn/pygmo/core.cpp:4:
  42. In file included from /usr/local/include/boost/python/args.hpp:25:
  43. In file included from /usr/local/include/boost/python/object_core.hpp:20:
  44. /usr/local/include/boost/python/def_visitor.hpp:43:29: error: no matching member function for call to 'visit'
  45. v.derived_visitor().visit(c, name, options);
  46. ~~~~~~~~~~~~~~~~~~~~^~~~~
  47. /usr/local/include/boost/python/def_visitor.hpp:74:29: note: in instantiation of function template specialization
  48. 'boost::python::def_visitor_access::visit<boost::python::def_visitor<boost::python::init<unsigned int, double, double, double, double, double,
  49. double, double, bool, unsigned int, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >, boost::python::class_<pagmo::cmaes,
  50. boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>,
  51. boost::python::detail::def_helper<const char *, boost::python::detail::not_specified, boost::python::detail::not_specified,
  52. boost::python::detail::not_specified> >' requested here
  53. def_visitor_access::visit(*this, c, name, options);
  54. ^
  55. /usr/local/include/boost/python/class.hpp:482:12: note: in instantiation of function template specialization
  56. 'boost::python::def_visitor<boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, unsigned int,
  57. mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >::visit<boost::python::class_<pagmo::cmaes, boost::python::detail::not_specified,
  58. boost::python::detail::not_specified, boost::python::detail::not_specified>, boost::python::detail::def_helper<const char *,
  59. boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified> >' requested here
  60. v->visit(*this, name, helper);
  61. ^
  62. /usr/local/include/boost/python/class.hpp:235:15: note: in instantiation of function template specialization 'boost::python::class_<pagmo::cmaes,
  63. boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>::def_impl<pagmo::cmaes,
  64. boost::python::detail::def_helper<const char *, boost::python::detail::not_specified, boost::python::detail::not_specified,
  65. boost::python::detail::not_specified>, boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, unsigned int,
  66. mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>, boost::python::init<unsigned int, double, double, double, double, double, double,
  67. double, bool, unsigned int, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >' requested here
  68. this->def_impl(
  69. ^
  70. /Users/darioizzo/Documents/PaGMOreborn/pygmo/core.cpp:601:12: note: in instantiation of function template specialization
  71. 'boost::python::class_<pagmo::cmaes, boost::python::detail::not_specified, boost::python::detail::not_specified,
  72. boost::python::detail::not_specified>::def<boost::python::init<unsigned int, double, double, double, double, double, double, double, bool, unsigned
  73. int, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >' requested here
  74. cmaes_.def("__init__",bp::init<unsigned,double,double,double,double,double,double, double,bool,unsigned>((bp::arg("gen") = 1u,
  75. ^
  76. /usr/local/include/boost/python/init.hpp:143:10: note: candidate function template not viable: requires single argument 'cl', but 3 arguments were
  77. provided
  78. void visit(classT& cl) const
  79. ^
  80. 2 errors generated.
  81. make[2]: *** [pygmo/CMakeFiles/core.dir/core.cpp.o] Error 1
  82. make[1]: *** [pygmo/CMakeFiles/core.dir/all] Error 2
  83. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement