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

opencv 2.x: conan v2 support #14948

Merged
merged 3 commits into from
Jan 19, 2023

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Dec 26, 2022

it's basically #13406, but only 2.x.


@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 810361f
opencv/2.4.13.7
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'QuartzCore' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'QuartzCore' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'QuartzCore' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'AVFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'AVFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'AVFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'CoreMedia' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'CoreMedia' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'CoreMedia' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'CoreVideo' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'CoreVideo' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'CoreVideo' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'Foundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'Foundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'Foundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\opencv_highgui2413.dll' links to system library 'avifil32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\opencv_highgui2413.dll' links to system library 'msvfw32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\opencv_highgui2413d.dll' links to system library 'avifil32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\opencv_highgui2413d.dll' links to system library 'msvfw32' but it is not in cpp_info.system_libs.

@SpaceIm SpaceIm force-pushed the opencv-2.x-conan-v2 branch from 810361f to 62df6e3 Compare December 27, 2022 10:07
@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 62df6e3
opencv/2.4.13.7
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'QuartzCore' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'QuartzCore' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'QuartzCore' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'CoreVideo' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'CoreVideo' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'CoreVideo' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'CoreMedia' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'CoreMedia' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'CoreMedia' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'Foundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'Foundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'Foundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'AVFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'AVFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'AVFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.2.4.13.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libopencv_highgui.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\opencv_highgui2413.dll' links to system library 'msvfw32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\opencv_highgui2413.dll' links to system library 'avifil32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\opencv_highgui2413d.dll' links to system library 'msvfw32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\opencv_highgui2413d.dll' links to system library 'avifil32' but it is not in cpp_info.system_libs.

if self.options.with_openexr:
# opencv 2.x doesn't support openexr >= 3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be worth sticking a validate check in to let the user know?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes but in another PR if you don't mind

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 3 (62df6e30c07ab2974d69d9cfefc0e4f8661cbd62):

  • opencv/2.4.13.7@:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit 82b734d into conan-io:master Jan 19, 2023
@SpaceIm SpaceIm deleted the opencv-2.x-conan-v2 branch January 19, 2023 17:09
franramirez688 pushed a commit to franramirez688/conan-center-index that referenced this pull request Jan 20, 2023
* bump dependencies

* allow to use libjpeg implementation from libjpeg-turbo or mozjpeg

* conan v2 support
StellaSmith pushed a commit to StellaSmith/conan-center-index that referenced this pull request Feb 2, 2023
* bump dependencies

* allow to use libjpeg implementation from libjpeg-turbo or mozjpeg

* conan v2 support
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.

4 participants