-
Notifications
You must be signed in to change notification settings - Fork 13
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
latest version of jasper causes build to break #245
Comments
The warning is coming from here: /usr/local/jasper-3.0.3/include/jasper/jas_config.h Which has:
Also:
When I check
This seems like japser dumbness in some way. Firstly I built jasper yesterday with the exact same compiler, so why is Secondly, why is the warning happening when |
Here's some preprocessor code I used to debug the problem of warnings:
Turns out the problem is in the g2c CMakefile.txt:
|
Seems like the functions we are using, jpc_encode() and jpc_decode() are internal functions of Jasper that we should not be using. Seems like the author wants us to use jas_image_encode()/jas_image_decode() instead. The jpc functions are not documented in the jasper documentation. |
OK, the problem is that jpc_encode/jpc_decode are no longer exported functions of the library.
I think the answer here is to use the jas_image_encode/jas_image_decode instead. These are the public functions we are supposed to be using, according to the jasper documentation. I also see in the release notes for jasper-3.0.0:
|
With jasper-3.0.3:
The text was updated successfully, but these errors were encountered: