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

Error building colcon workspace in ROS2 20.04 Docker #346

Closed
nicko369 opened this issue Jun 20, 2023 · 4 comments
Closed

Error building colcon workspace in ROS2 20.04 Docker #346

nicko369 opened this issue Jun 20, 2023 · 4 comments
Labels
compile User has trouble compiling on their own platform.

Comments

@nicko369
Copy link

nicko369 commented Jun 20, 2023

ov_ws/src/open_vins/ov_eval/../ov_core/src/utils/opencv_yaml_parse.h:28:10: fatal error: opencv2/opencv.hpp: No such file or directory
   28 | #include <opencv2/opencv.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ov_eval_lib.dir/build.make:128: CMakeFiles/ov_eval_lib.dir/ov_ws/src/open_vins/ov_core/src/feat/FeatureInitializer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:339: CMakeFiles/ov_eval_lib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
---
Failed   <<< ov_eval [1min 19s, exited with code 2]
Aborted  <<< ov_core [4min 2s]                        
Aborted  <<< ov_init [6min 31s]                       
Aborted  <<< ov_msckf [8min 11s]          

Summary: 1 package finished [8min 11s]
  1 package failed: ov_eval
  3 packages aborted: ov_core ov_init ov_msckf
  5 packages had stderr output: ov_core ov_data ov_eval ov_init ov_msckf
@goldbattle goldbattle added the compile User has trouble compiling on their own platform. label Jun 20, 2023
@goldbattle
Copy link
Member

goldbattle commented Jun 20, 2023 via email

@nicko369
Copy link
Author

I've built the image from the dockefile provided
I'm able to find the opencv4/opencv2 file in /usr/include/opencv4 and have tried adding it to the cmake but I still encounter the error

@Aishkrish18
Copy link

Screenshot from 2023-07-27 15-34-12

Hey,
I am still facing the same error as mentioned above. Although, on trying to build opencv from source, it still gives the same error. This is the same case for both ROS2 dockers since I tried both of them. Could you suggest a solution for this if it has already worked out for any of you? Would be very much useful to have a ROS2 docker, since ros1 dockers works perfectly fine for me.

Regards,
AIshwarya

@goldbattle
Copy link
Member

goldbattle commented Jul 27, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compile User has trouble compiling on their own platform.
Projects
None yet
Development

No branches or pull requests

3 participants