-
Notifications
You must be signed in to change notification settings - Fork 606
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
Project 'cv_bridge' can not find opencv #345
Comments
I am getting this same error when compiling https://github.com/IntelRealSense/realsense-ros |
i had the same problem (jetson xavier + ubuntu 18.04 + ros melodic) we fixed it like this: change the file:
|
Thank you. |
It seems this error is related to OpenCV on Jetson. |
i had the same problem,but I don‘t solve it. so can you tell me how to resolve ir. |
@yyyll I didn't solve this. I commented the cv_bridge related stuff from https://github.com/thien94/vision_to_mavros since I don't need that. |
ok,I understand |
This fix worked for me as well on: Thanks :)! |
Opencv4 is installed by Nvidia's jetson repo, which replaced the original opencv3. |
This works! Thanks a lot |
Project 'image_geometry' specifies '/usr/include/opencv' as an include dir, so , how do i solve this problem |
Worked :) Thanks :) |
But this file not allowing to edit, can you tell us how did you change ? |
you can change the file permissions to make the file editable using
"chmod". you can find lots of resources for this online, just google
something like "change file permissions linux chmod"
…On Mon, Nov 7, 2022 at 6:54 PM Dhruti1994 ***@***.***> wrote:
i had the same problem (jetson xavier + ubuntu 18.04 + ros melodic)
we fixed it like this:
change the file:
/opt/ros/melodic/share/cv_bridge/cmake/cv_bridgeConfig.cmake
change this line:
set(_include_dirs "include;/usr/include;/usr/include/opencv")
to
set(_include_dirs "include;/usr/include;/usr/include/opencv4")
Thank you.
But this file not allowing to edit, can you tell us how did you change ?
—
Reply to this email directly, view it on GitHub
<#345 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIVQXSELSQXHNEV2F6WTJLWHE64XANCNFSM4OSAONJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I faced the same issue on Jetson Xavier AGX. Thanks to @sh0w the problem is now solved. sed -i 's/set(_include_dirs "include;\/usr\/include;\/usr\/include\/opencv")/set(_include_dirs "include;\/usr\/include;\/usr\/include\/opencv4")/g' /opt/ros/melodic/share/cv_bridge/cmake/cv_bridgeConfig.cmake |
i had same problem, how to fix it ? any help will be appreciate |
THX. |
|
Maintainer here. |
hello
|
Hi,
I am compiling https://github.com/thien94/vision_to_mavros.
I have installed mavros and vision_opencv from apt command. However, Project 'cv_bridge' can not find opencv.
Do you know which environment variable should I set to let Project 'cv_bridge' find opencv?
Thanks,
Bo
The text was updated successfully, but these errors were encountered: