Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Error libc++.so: undefined reference to some functions #136

@Corsair-cxs

Description

@Corsair-cxs

Version

dev-ov2020.3

Reproduction link

Steps to reproduce

run catkin_make in catkin_ws workspace.

What is expected?

The related functions have defined and build pass.

What is actually happening?

When I tried to build projects, the console reports undefined reference

[ 96%] Linking CXX executable /home/cxs/my_code/ros_vino_ws/devel/lib/dynamic_vino_sample/image_reidentification_server
/home/cxs/my_code/ros_vino_ws/devel/lib/libdynamic_vino_lib.so: undefined reference to `PipelineManager::createLandmarksDetection(Params::ParamManager::InferenceRawData const&)'
/home/cxs/my_code/ros_vino_ws/devel/lib/libdynamic_vino_lib.so: undefined reference to `Outputs::ImageWindowOutput::initOutputs(unsigned int)'
/home/cxs/my_code/ros_vino_ws/devel/lib/libdynamic_vino_lib.so: undefined reference to `Models::AgeGenderDetectionModel::AgeGenderDetectionModel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/home/cxs/my_code/ros_vino_ws/devel/lib/libdynamic_vino_lib.so: undefined reference to `Models::EmotionDetectionModel::EmotionDetectionModel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/home/cxs/my_code/ros_vino_ws/devel/lib/libdynamic_vino_lib.so: undefined reference to `PipelineManager::createFaceReidentification(Params::ParamManager::InferenceRawData const&)'
collect2: error: ld returned 1 exit status
ros_openvino_toolkit/sample/CMakeFiles/image_reidentification_server.dir/build.make:155: recipe for target '/home/cxs/my_code/ros_vino_ws/devel/lib/dynamic_vino_sample/image_reidentification_server' failed
make[2]: *** [/home/cxs/my_code/ros_vino_ws/devel/lib/dynamic_vino_sample/image_reidentification_server] Error 1
CMakeFiles/Makefile2:4923: recipe for target 'ros_openvino_toolkit/sample/CMakeFiles/image_reidentification_server.dir/all' failed
make[1]: *** [ros_openvino_toolkit/sample/CMakeFiles/image_reidentification_server.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

target function lists:

  • PipelineManager::createLandmarksDetection(Params::ParamManager::InferenceRawData const&)
  • Outputs::ImageWindowOutput::initOutputs(unsigned int)
  • Models::AgeGenderDetectionModel::AgeGenderDetectionModel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)
  • Models::EmotionDetectionModel::EmotionDetectionModel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)
  • PipelineManager::createFaceReidentification(Params::ParamManager::InferenceRawData const&)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions