0

I'm trying to install opencv with the non-free features enabled. All the documentation I find says to "build it with cmake with the OPENCV_ENABLE_NONFREE option enabled."

I have no idea what that means. I barely understand cmake at all. I've been following these instructions. They seem pretty clear. However, I don't understand where in the process I'm supposed to enable that option. Is that option set in some configuration file? Is it a command line option? I'm afraid I just don't understand what I'm supposed to do.

tscheingeld
  • 789
  • 7
  • 24
  • "Is it a command line option?" - Most likely, yes. Have you tried that? See e.g. [that question](https://stackoverflow.com/questions/5998186/adding-command-line-options-to-cmake) about passing options to `cmake` via command line. – Tsyvarev Feb 08 '21 at 22:19
  • It means that you have to pass `-D OPENCV_ENABLE_NONFREE=ON` in cmake. Take a look at [these](https://gist.github.com/underscoreanuj/0a29cecf7585c6304f07da39edbc419d) instructions. – RJ Adriaansen Feb 08 '21 at 22:31

0 Answers0