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

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

Open
Corsair-cxs opened this issue Mar 14, 2021 · 0 comments
Open

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

Corsair-cxs opened this issue Mar 14, 2021 · 0 comments

Comments

@Corsair-cxs
Copy link
Contributor

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&)
LewisLiuPub added a commit that referenced this issue Mar 15, 2021
Skip compiler just for build success [issue #136]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant