-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add GrokProcessor to esmero-cantaloupe #30
Comments
@aksm could you share your full cmake command? Thanks! |
@DiegoPino Sorry, forgot to mention that it was the release build that generated those errors. I'll try building it manually today. |
@DiegoPino Ok, images seem to be loading now after building, but I still see the above in the logs. Thoughts? Should I open an issue with Cantaloupe? |
@aksm that means it can not process JPEG2000 which is bad. There is probably a missing dependency in the make file. |
Ok, that was quick. Since I do not know how you are building it, but I do know that this here works, can you compare notes? https://github.com/cantaloupe-project/cantaloupe/blob/develop/docker/Linux-JDK16/Dockerfile#L1-L67 Also, JDK-16... which one are we using?? There are other JDK examples there. But in all Grok passes compile... give it a try |
@DiegoPino I'm just building locally with default flags and then copying the binaries into the container. I was trying to go for something from 9.2+ since the benchmarks are for 9.2 and since the buffer overflow bug seems to have been fixed from that point forward, but maybe 7.6.5 is not so much worse in performance? In any case, I'll give this a go and see. We're on JDK-15. |
Ok, I tried with a base image of Ubuntu 21.10 and the official apt package and ran into the same exact error so something else is going on. I'll try building from source with a newer version of grok since this base box should have all the dependencies. |
Ok, it may be one of the dependencies then. Which is good because we do not need to change (once you figure out which one) the current base box |
What?
GrokProcessor is a nice middle ground between OpenJPEG and Kakadu (see benchmarks). Unfortunately, despite the reported bugs being resolved, it's still being held in Debian sid (unstable), and compiling from source isn't possible because of compiler requirements. Precompiled binaries for 9.2.0 are only partially working with some images but showing the following errors for certain JP2 sources:
Some debugging/testing will be required. Maybe trying a later version? Compiling with different flags?
The text was updated successfully, but these errors were encountered: