Skip to content
New issue

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

libcv_bridge.so:undefined reference to‘boost::re_detail_106000::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)’ #434

Open
chengbutangls opened this issue May 11, 2022 · 6 comments

Comments

@chengbutangls
Copy link

I rebuild the cv_bridge with opencv3.4.0. When I ran the "catkin_make" to build cv_bridge only ,the cv_bridge is ok.But when I call the cv_bridge in my program,it has a problem that :
/home/zzq/catkin_workspace/devel/lib/libcv_bridge.so:undefined reference to‘boost::re_detail_106000::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)’

My program that find the cv_bridge in CmakeLists.txt will be seen as follows:

#set(cv_bridge_DIR /home/zzq/catkin_ws/devel/share/cv_bridge/cmake)
find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
  sensor_msgs
  cv_bridge
)

The first line of the program is not work,so I add the “#”.

@ijnek
Copy link
Member

ijnek commented Sep 12, 2022

Hi @chengbutangls, I'm the maintainer of this repo. Just checking up if this issue still exists, or you've managed to find the problem?

@zhulf0804
Copy link

Hello @ijnek, the issue still exists.

@ijnek
Copy link
Member

ijnek commented Dec 27, 2022

Thanks @zhulf0804 for confirming, I'll keep the issue open and will review related PRs.

@tugbakara
Copy link

Is there any improvement about it, I have the same.

@ijnek
Copy link
Member

ijnek commented Jan 8, 2023

Not yet. I'm not involved in development of ROS1 branches, but happy to volunteer to review and merge PRs that fix this issue.

@JiangZheng76
Copy link

Is there have any improvement?
截屏2023-05-24 15 07 13
i have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants