Guest User

Error stack trace

a guest
Jan 5th, 2019
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.22 KB | None | 0 0
  1. cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  2. In file included from /home/muah/Music/cpp2py/.rendered.code.cpp:6:0:
  3. /home/muah/Music/cpp2py/py2arma.hpp: In function ‘pybind11::array_t<double> mat_to_py(arma::mat&)’:
  4. /home/muah/Music/cpp2py/py2arma.hpp:34:2: error: no matching function for call to ‘pybind11::buffer_info::buffer_info(double*, long unsigned int, std::__cxx11::string, int, <brace-enclosed initializer list>, <brace-enclosed initializer list>)’
  5. );
  6. ^
  7. In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:13:0,
  8. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
  9. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
  10. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
  11. from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
  12. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:83:5: note: candidate: pybind11::buffer_info::buffer_info(pybind11::buffer_info::private_ctr_tag, void*, pybind11::ssize_t, const string&, pybind11::ssize_t, pybind11::detail::any_container<long int>&&, pybind11::detail::any_container<long int>&&)
  13. buffer_info(private_ctr_tag, void *ptr, ssize_t itemsize, const std::string &format, ssize_t ndim,
  14. ^~~~~~~~~~~
  15. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:83:5: note: candidate expects 7 arguments, 6 provided
  16. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:59:5: note: candidate: pybind11::buffer_info::buffer_info(pybind11::buffer_info&&)
  17. buffer_info(buffer_info &&other) {
  18. ^~~~~~~~~~~
  19. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:59:5: note: candidate expects 1 argument, 6 provided
  20. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:49:14: note: candidate: pybind11::buffer_info::buffer_info(Py_buffer*, bool)
  21. explicit buffer_info(Py_buffer *view, bool ownview = true)
  22. ^~~~~~~~~~~
  23. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:49:14: note: candidate expects 2 arguments, 6 provided
  24. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:46:5: note: candidate: template<class T> pybind11::buffer_info::buffer_info(T*, pybind11::ssize_t)
  25. buffer_info(T *ptr, ssize_t size)
  26. ^~~~~~~~~~~
  27. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:46:5: note: template argument deduction/substitution failed:
  28. In file included from /home/muah/Music/cpp2py/.rendered.code.cpp:6:0:
  29. /home/muah/Music/cpp2py/py2arma.hpp:34:2: note: candidate expects 2 arguments, 6 provided
  30. );
  31. ^
  32. In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:13:0,
  33. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
  34. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
  35. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
  36. from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
  37. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:42:5: note: candidate: pybind11::buffer_info::buffer_info(void*, pybind11::ssize_t, const string&, pybind11::ssize_t)
  38. buffer_info(void *ptr, ssize_t itemsize, const std::string &format, ssize_t size)
  39. ^~~~~~~~~~~
  40. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:42:5: note: candidate expects 4 arguments, 6 provided
  41. In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:13:0,
  42. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
  43. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
  44. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
  45. from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
  46. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:39:5: note: candidate: template<class T> pybind11::buffer_info::buffer_info(T*, pybind11::detail::any_container<long int>, pybind11::detail::any_container<long int>)
  47. buffer_info(T *ptr, detail::any_container<ssize_t> shape_in, detail::any_container<ssize_t> strides_in)
  48. ^~~~~~~~~~~
  49. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:39:5: note: template argument deduction/substitution failed:
  50. In file included from /home/muah/Music/cpp2py/.rendered.code.cpp:6:0:
  51. /home/muah/Music/cpp2py/py2arma.hpp:34:2: note: candidate expects 3 arguments, 6 provided
  52. );
  53. ^
  54. In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:13:0,
  55. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
  56. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
  57. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
  58. from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
  59. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:28:5: note: candidate: pybind11::buffer_info::buffer_info(void*, pybind11::ssize_t, const string&, pybind11::ssize_t, pybind11::detail::any_container<long int>, pybind11::detail::any_container<long int>)
  60. buffer_info(void *ptr, ssize_t itemsize, const std::string &format, ssize_t ndim,
  61. ^~~~~~~~~~~
  62. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:28:5: note: no known conversion for argument 6 from ‘<brace-enclosed initializer list>’ to ‘pybind11::detail::any_container<long int>’
  63. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:26:5: note: candidate: pybind11::buffer_info::buffer_info()
  64. buffer_info() { }
  65. ^~~~~~~~~~~
  66. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:26:5: note: candidate expects 0 arguments, 6 provided
  67. In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:12:0,
  68. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
  69. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
  70. from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
  71. from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
  72. /home/muah/Music/cpp2py/.rendered.code.cpp: In function ‘PyObject* PyInit_code()’:
  73. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/detail/common.h:243:20: warning: ‘PyObject* pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations]
  74. return pybind11_init(); \
  75. ^
  76. /home/muah/Music/cpp2py/.rendered.code.cpp:20:1: note: in expansion of macro ‘PYBIND11_PLUGIN’
  77. PYBIND11_PLUGIN(code)
  78. ^
  79. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/detail/common.h:228:22: note: declared here
  80. static PyObject *pybind11_init(); \
  81. ^
  82. /home/muah/Music/cpp2py/.rendered.code.cpp:20:1: note: in expansion of macro ‘PYBIND11_PLUGIN’
  83. PYBIND11_PLUGIN(code)
  84. ^
  85. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/detail/common.h:243:34: warning: ‘PyObject* pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations]
  86. return pybind11_init(); \
  87. ^
  88. /home/muah/Music/cpp2py/.rendered.code.cpp:20:1: note: in expansion of macro ‘PYBIND11_PLUGIN’
  89. PYBIND11_PLUGIN(code)
  90. ^
  91. /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/detail/common.h:228:22: note: declared here
  92. static PyObject *pybind11_init(); \
  93. ^
  94. /home/muah/Music/cpp2py/.rendered.code.cpp:20:1: note: in expansion of macro ‘PYBIND11_PLUGIN’
  95. PYBIND11_PLUGIN(code)
  96. ^
  97. error: command 'gcc' failed with exit status 1
Add Comment
Please, Sign In to add comment