make error: undefined reference to `carotene_o4t::add(carotene_o4t::Size2D const&, float const*, int, float const*, int, float*, int)'

asked 2019-04-23 01:00:37 -0600

[ 35%] Linking CXX executable ../../bin/opencv_test_core

../../lib/libopencv_core.so.4.1.0: undefined reference to carotene_o4t::add(carotene_o4t::Size2D const&, float const*, int, float const*, int, float*, int)' ../../lib/libopencv_core.so.4.1.0: undefined reference tocarotene_o4t::add(carotene_o4t::Size2D const&, short const, int, short const, int, short, int, carotene_o4t::CONVERT_POLICY)' ../../lib/libopencv_core.so.4.1.0: undefined reference to carotene_o4t::add(carotene_o4t::Size2D const&, unsigned char const*, int, unsigned char const*, int, unsigned char*, int, carotene_o4t::CONVERT_POLICY)' ../../lib/libopencv_core.so.4.1.0: undefined reference tocarotene_o4t::add(carotene_o4t::Size2D const&, unsigned short const, int, unsigned short const, int, unsigned short, int, carotene_o4t::CONVERT_POLICY)' ../../lib/libopencv_core.so.4.1.0: undefined reference to carotene_o4t::add(carotene_o4t::Size2D const&, int const*, int, int const*, int, int*, int, carotene_o4t::CONVERT_POLICY)' ../../lib/libopencv_core.so.4.1.0: undefined reference tocarotene_o4t::add(carotene_o4t::Size2D const&, signed char const, int, signed char const, int, signed char, int, carotene_o4t::CONVERT_POLICY)' collect2: error: ld returned 1 exit status modules/core/CMakeFiles/opencv_test_core.dir/build.make:855: recipe for target 'bin/opencv_test_core' failed make[2]: [bin/opencv_test_core] Error 1 CMakeFiles/Makefile2:1275: recipe for target 'modules/core/CMakeFiles/opencv_test_core.dir/all' failed make[1]: [modules/core/CMakeFiles/opencv_test_core.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: ** [all] Error 2

edit retag flag offensive close merge delete