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

[bug] Can't compile OpenCV 4.5.3 without objdetect module #23293

Closed
bvenandy-psee opened this issue Mar 27, 2024 · 5 comments
Closed

[bug] Can't compile OpenCV 4.5.3 without objdetect module #23293

bvenandy-psee opened this issue Mar 27, 2024 · 5 comments

Comments

@bvenandy-psee
Copy link

Describe the bug

When you wan't to deactivate objdetect module, compilation is failing due to access on with_quirc option.

arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux```

```ERROR: opencv/4.5.3: Error in build() method, line 1561
	self._patch_sources()
while calling '_patch_sources', line 1244
	if self.options.with_quirc:
	ConanException: option 'with_quirc' doesn't exist
Possible options are ['shared', 'fPIC', 'parallel', 'with_ipp', 'with_eigen', 'with_opencl', 'with_cuda', 'cpu_baseline', 'cpu_dispatch', 'world', 'nonfree', 'with_jpeg', 'with_png', 'with_tiff', 'with_jpeg2000', 'with_openexr', 'with_webp', 'with_gdal', 'with_gdcm', 'with_imgcodec_hdr', 'with_imgcodec_pfm', 'with_imgcodec_pxm', 'with_imgcodec_sunraster', 'contrib', 'contrib_freetype', 'contrib_sfm', 'with_ade', 'calib3d', 'dnn', 'features2d', 'flann', 'gapi', 'highgui', 'imgcodecs', 'imgproc', 'ml', 'objdetect', 'photo', 'stitching', 'video', 'videoio', 'alphamat', 'aruco', 'barcode', 'bgsegm', 'bioinspired', 'ccalib', 'cudaarithm', 'cudabgsegm', 'cudacodec', 'cudafeatures2d', 'cudafilters', 'cudaimgproc', 'cudalegacy', 'cudaobjdetect', 'cudaoptflow', 'cudastereo', 'cudawarping', 'cvv', 'datasets', 'dnn_objdetect', 'dnn_superres', 'dpm', 'face', 'freetype', 'fuzzy', 'hdf', 'hfs', 'img_hash', 'intensity_transform', 'line_descriptor', 'mcc', 'optflow', 'ovis', 'phase_unwrapping', 'plot', 'quality', 'rapid', 'reg', 'rgbd', 'saliency', 'sfm', 'shape', 'stereo', 'structured_light', 'superres', 'surface_matching', 'text', 'tracking', 'videostab', 'viz', 'wechat_qrcode', 'xfeatures2d', 'ximgproc', 'xobjdetect', 'xphoto']```

### How to reproduce it

_No response_
@valgur
Copy link
Contributor

valgur commented Mar 27, 2024

Should be fixed by #23242.

@memsharded
Copy link
Member

Thanks @valgur for checking this.

As this seems a ConanCenter recipe issue, I am moving the ticket there.

@memsharded memsharded transferred this issue from conan-io/conan Mar 27, 2024
@SpaceIm
Copy link
Contributor

SpaceIm commented Mar 27, 2024

It can be closed, #23242 has been merged.

@bvenandy-psee
Copy link
Author

Thanks 👍 Just to know, when will it be propagated to the conan center ?

@SpaceIm
Copy link
Contributor

SpaceIm commented Mar 28, 2024

It was already propagated to conancenter remote when I've tried few minutes after my message.

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

No branches or pull requests

4 participants