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

Cannot determine library version at compile time #1428

Closed
Tjoppen opened this issue Jun 1, 2022 · 2 comments
Closed

Cannot determine library version at compile time #1428

Tjoppen opened this issue Jun 1, 2022 · 2 comments

Comments

@Tjoppen
Copy link

Tjoppen commented Jun 1, 2022

I am currently improving the libopenjpeg binding in FFmpeg and having to resort to configure for figuring out what API calls are available rather than being able to rely on version numbers at compile time. It would be very useful for us and likely others if this information was provided in openjpeg.h moving forward.

@rouault
Copy link
Collaborator

rouault commented Jun 1, 2022

The version number is provided in opj_config.h: https://github.com/uclouvain/openjpeg/blob/master/src/lib/openjp2/opj_config.h.cmake.in

@rouault rouault closed this as completed Jun 1, 2022
@Tjoppen
Copy link
Author

Tjoppen commented Jun 1, 2022

Ah, it was two levels down in the include hierarchy. Thanks

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

2 participants