We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
following error appears in make stage: Undefined symbols for architecture x86_64: "_PyLong_FromLong", referenced from: boost::python::tuple boost::python::make_tuple<boost::numpy::ndarray, int>(boost::numpy::ndarray const&, int const&) in segment_py.cpp.o "_PyObject_IsInstance", referenced from: boost::python::detail::caller_arity<4u>::impl<boost::python::tuple (*)(boost::numpy::ndarray const&, float, float, int), boost::python::default_call_policies, boost::mpl::vector5<boost::python::tuple, boost::numpy::ndarray const&, float, float, int> >::operator()(_object*, _object*) in segment_py.cpp.o "_PyObject_IsTrue", referenced from: check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o "_PyTuple_New", referenced from: boost::python::tuple boost::python::make_tuple<boost::numpy::ndarray, int>(boost::numpy::ndarray const&, int const&) in segment_py.cpp.o "_PyTuple_Type", referenced from: boost::python::detail::converter_target_type<boost::python::to_python_value<boost::python::tuple const&> >::get_pytype() in segment_py.cpp.o "__Py_NoneStruct", referenced from: __GLOBAL__sub_I_segment_py.cpp in segment_py.cpp.o "boost::numpy::initialize(bool)", referenced from: init_module_segment() in segment_py.cpp.o "boost::numpy::empty(int, long const*, boost::numpy::dtype const&)", referenced from: segment(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o segment_label(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o "boost::numpy::dtype boost::numpy::detail::get_int_dtype<32, false>()", referenced from: segment_label(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o "boost::numpy::dtype boost::numpy::detail::get_int_dtype<8, true>()", referenced from: check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o "boost::python::converter::object_manager_traits<boost::numpy::ndarray>::get_pytype()", referenced from: boost::python::detail::caller_arity<4u>::impl<boost::python::tuple (*)(boost::numpy::ndarray const&, float, float, int), boost::python::default_call_policies, boost::mpl::vector5<boost::python::tuple, boost::numpy::ndarray const&, float, float, int> >::operator()(_object*, _object*) in segment_py.cpp.o "boost::numpy::ndarray::get_dtype() const", referenced from: segment(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o "boost::numpy::ndarray::get_flags() const", referenced from: check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [segment.dylib] Error 1 make[1]: *** [CMakeFiles/segment.dir/all] Error 2 make: *** [all] Error 2
Undefined symbols for architecture x86_64: "_PyLong_FromLong", referenced from: boost::python::tuple boost::python::make_tuple<boost::numpy::ndarray, int>(boost::numpy::ndarray const&, int const&) in segment_py.cpp.o "_PyObject_IsInstance", referenced from: boost::python::detail::caller_arity<4u>::impl<boost::python::tuple (*)(boost::numpy::ndarray const&, float, float, int), boost::python::default_call_policies, boost::mpl::vector5<boost::python::tuple, boost::numpy::ndarray const&, float, float, int> >::operator()(_object*, _object*) in segment_py.cpp.o "_PyObject_IsTrue", referenced from: check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o "_PyTuple_New", referenced from: boost::python::tuple boost::python::make_tuple<boost::numpy::ndarray, int>(boost::numpy::ndarray const&, int const&) in segment_py.cpp.o "_PyTuple_Type", referenced from: boost::python::detail::converter_target_type<boost::python::to_python_value<boost::python::tuple const&> >::get_pytype() in segment_py.cpp.o "__Py_NoneStruct", referenced from: __GLOBAL__sub_I_segment_py.cpp in segment_py.cpp.o "boost::numpy::initialize(bool)", referenced from: init_module_segment() in segment_py.cpp.o "boost::numpy::empty(int, long const*, boost::numpy::dtype const&)", referenced from: segment(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o segment_label(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o "boost::numpy::dtype boost::numpy::detail::get_int_dtype<32, false>()", referenced from: segment_label(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o "boost::numpy::dtype boost::numpy::detail::get_int_dtype<8, true>()", referenced from: check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o "boost::python::converter::object_manager_traits<boost::numpy::ndarray>::get_pytype()", referenced from: boost::python::detail::caller_arity<4u>::impl<boost::python::tuple (*)(boost::numpy::ndarray const&, float, float, int), boost::python::default_call_policies, boost::mpl::vector5<boost::python::tuple, boost::numpy::ndarray const&, float, float, int> >::operator()(_object*, _object*) in segment_py.cpp.o "boost::numpy::ndarray::get_dtype() const", referenced from: segment(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o "boost::numpy::ndarray::get_flags() const", referenced from: check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [segment.dylib] Error 1 make[1]: *** [CMakeFiles/segment.dir/all] Error 2 make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
met the same problem
Sorry, something went wrong.
Has there been any resolution to this problem?
No branches or pull requests
following error appears in make stage:
Undefined symbols for architecture x86_64: "_PyLong_FromLong", referenced from: boost::python::tuple boost::python::make_tuple<boost::numpy::ndarray, int>(boost::numpy::ndarray const&, int const&) in segment_py.cpp.o "_PyObject_IsInstance", referenced from: boost::python::detail::caller_arity<4u>::impl<boost::python::tuple (*)(boost::numpy::ndarray const&, float, float, int), boost::python::default_call_policies, boost::mpl::vector5<boost::python::tuple, boost::numpy::ndarray const&, float, float, int> >::operator()(_object*, _object*) in segment_py.cpp.o "_PyObject_IsTrue", referenced from: check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o "_PyTuple_New", referenced from: boost::python::tuple boost::python::make_tuple<boost::numpy::ndarray, int>(boost::numpy::ndarray const&, int const&) in segment_py.cpp.o "_PyTuple_Type", referenced from: boost::python::detail::converter_target_type<boost::python::to_python_value<boost::python::tuple const&> >::get_pytype() in segment_py.cpp.o "__Py_NoneStruct", referenced from: __GLOBAL__sub_I_segment_py.cpp in segment_py.cpp.o "boost::numpy::initialize(bool)", referenced from: init_module_segment() in segment_py.cpp.o "boost::numpy::empty(int, long const*, boost::numpy::dtype const&)", referenced from: segment(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o segment_label(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o "boost::numpy::dtype boost::numpy::detail::get_int_dtype<32, false>()", referenced from: segment_label(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o "boost::numpy::dtype boost::numpy::detail::get_int_dtype<8, true>()", referenced from: check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o "boost::python::converter::object_manager_traits<boost::numpy::ndarray>::get_pytype()", referenced from: boost::python::detail::caller_arity<4u>::impl<boost::python::tuple (*)(boost::numpy::ndarray const&, float, float, int), boost::python::default_call_policies, boost::mpl::vector5<boost::python::tuple, boost::numpy::ndarray const&, float, float, int> >::operator()(_object*, _object*) in segment_py.cpp.o "boost::numpy::ndarray::get_dtype() const", referenced from: segment(boost::numpy::ndarray const&, float, float, int) in segment_py.cpp.o check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o "boost::numpy::ndarray::get_flags() const", referenced from: check_image_format(boost::numpy::ndarray const&) in segment_py.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [segment.dylib] Error 1 make[1]: *** [CMakeFiles/segment.dir/all] Error 2 make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: