darknet_ros: error "OpenCV 4.x+ requires enabled C++11 support"

Hey all, I am facing the below error, error “OpenCV 4.x+ requires enabled C++11 support” while executing catkin make, I have tried inserting set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED TRUE) in Cmake.txt of darknet_ros node but still doesnt work. Screenshot from 2019-11-25 05-42-03 CMakeLists.txt

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 7
  • Comments: 17 (5 by maintainers)

Most upvoted comments

You can also use my fork (I really should move it to point to AlexyAB’s implementation)

@prit-ubuntu It is best for me! darknet_ros is working on OpenCV 3.4.6 too!

@mywnajsldkf and @kunaltyagi I’m happy to inform you that I have finally managed to compile darknet_ros on my system! Thanks for your help.