-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hi - thank you for making this tool available and open, it's super useful.
I'm able to run it most of the time, but I have a particular FileGDB which throws this error for each layer:
terminate called after throwing an instance of 'std::runtime_error'
what(): zlib error: -3
Aborted (core dumped)
I'm afraid I'm not sure how to provide a reproducible example, the data I'm working with is proprietary.
This SO answer talks about the same error code. Could it be that the FileGDB is using another compression method (e.g. GZIP instead of ZLIB)? Would ArcRasterRescue handle this case by default?
Another quirk (possible red herring) is that the system I'm working on only has cmake at 3.5, so I downgraded cmake_minimum_required to VERSION 3.5 and replaced the cxx_std_11 argument in calls to target_compile_features with cxx_constexpr (which needs c++ 11 anyway, I understand) to get it to build. This may have been a horrible hack, I'm not very familiar with cmake.