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

Allow for building with opencv_contrib #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thepaulm
Copy link

  • This is needed for things like ArUco fiducial marker support
  • Build like this: WITH_OPENCV_CONTRIB=YES ./buildOpenCV.sh
  • Version defaults to the OpenCV version

- This is needed for things like ArUco fiducial marker support
- Build like this: WITH_OPENCV_CONTRIB=YES ./buildOpenCV.sh
- Version defaults to the OpenCV version
@yarons
Copy link

yarons commented Feb 21, 2019

I tried your patch and got:

CMake Error at cmake/OpenCVModule.cmake:352 (message):
  Duplicated modules NAMES has been found
Call Stack (most recent call first):
  cmake/OpenCVModule.cmake:370 (_assert_uniqueness)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

Some sort of duplication which I managed to solve by deleting the folders inside modules which doesn't make any sense (I deleted the one before the error repeatedly).

@thepaulm
Copy link
Author

I went back and tried this and I'm getting the same thing you are. I don't really understand how I wasn't seeing this before, other than a guess that it wasn't happening because I wasn't starting from a fresh checkout.

I looked at where it's throwing these errors and I don't understand what cmake is attempting to do right there. I'll look at this as I find time. Thanks for pointing this out.

@dmicha02
Copy link

It seems that the opencv-contrib version is not the same as opencv (3.4.1 for Jetson). Your script try to install opencv-contrib 4. Specify the particular version of opencv-contrib in your shell script.

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

Successfully merging this pull request may close these issues.

None yet

3 participants