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

[package] opencv/4.5.5: resdirs not set #15581

Closed
gmeeker opened this issue Jan 31, 2023 · 0 comments · Fixed by #15193
Closed

[package] opencv/4.5.5: resdirs not set #15581

gmeeker opened this issue Jan 31, 2023 · 0 comments · Fixed by #15193
Labels
bug Something isn't working

Comments

@gmeeker
Copy link
Contributor

gmeeker commented Jan 31, 2023

Description

Something in #14947 caused OpenCV's resdirs to no longer get set, even though the "res" folder is packaged. I don't understand how to fix this, but I suspect it's caused by moving to the new CMake tool for 2.0 support.

Package and Environment Details

  • Package Name/Version: opencv/4.5.5
  • Operating System+version: MacOS 13.1
  • Compiler+version: clang 14.0
  • Conan version: conan 1.58.0
  • Python version: Python 3.10.9

Conan profile

[settings]
os=Macos
os_build=Macos
os.version=10.13
arch=x86_64
arch_build=x86_64
compiler=apple-clang
compiler.version=14.0
compiler.libcxx=libc++
build_type=Release
compiler.cppstd=11
[options]
[conf]
[build_requires]
[env]

Steps to reproduce

conan install -r conancenter opencv/4.5.5@ -pr default -g txt

Inspect conanbuildinfo.txt and [resdirs] doesn't include OpenCV's "res" folder. (Before the above commit it does include this.)

grep '[resdirs]' -A 4 conanbuildinfo.txt
[resdirs]
/Users/gmeeker/.conan/data/libjpeg/9e///package/d67028d247526d6b44627ffb9518a2c2e68e2d63/res

[builddirs]

Logs

Not really relevant. The interesting part is in conanbuildinfo.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant