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] The openjpeg feature is no longer honored #43340

Open
trolgar opened this issue Jan 18, 2025 · 3 comments
Open

[opencv] The openjpeg feature is no longer honored #43340

trolgar opened this issue Jan 18, 2025 · 3 comments
Assignees
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist

Comments

@trolgar
Copy link

trolgar commented Jan 18, 2025

Is your feature request related to a problem? Please describe.

Enabling the openjpeg feature fails to include the library. Commit #38928 inadvertently hard coded the OpenJPEG option to OFF.

Proposed solution

Remove -DWITH_OPENJPEG=OFF in the opencv4 portfile.cmake file.

-DWITH_OPENJPEG=OFF

The ${FEATURE_OPTIONS} should already include the appropriate definition for WITH_OPENJPEG.

Describe alternatives you've considered

No response

Additional context

No response

@trolgar trolgar added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Jan 18, 2025
@JonLiu1993
Copy link
Member

@trolgar, looks WITH_OPENJPEG module is disabled for UWP

The following modules are disabled for UWP

@JonLiu1993
Copy link
Member

@cenit, Did you intentionally set WITH_OPENJPEG to OFF?

@cenit
Copy link
Contributor

cenit commented Jan 20, 2025

can you please try #42371 to see if it works better for you? there are some feat configs that were broken or mishandled, sorry for the mistakes. That PR should handle also your problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist
Projects
None yet
Development

No branches or pull requests

3 participants