conduit icon indicating copy to clipboard operation
conduit copied to clipboard

`zfp` not found on Ubuntu

Open eschnett opened this issue 10 months ago • 4 comments

The libzfp-dev package on Ubuntu installs the library into /usr/lib/x86_64-linux-gnu/libzfp.so. This isn't recognized by conduit's zfp detection logic, and there doesn't seem to be a way to specify the path manually.

eschnett avatar Feb 24 '25 18:02 eschnett

You found ZFP_DIR, that is the proper way.

We opt for explicit TPL directories to avoid surprises with unintended detection of system libraries.

cyrush avatar Feb 26 '25 14:02 cyrush

To be clear: I do provide ZFP_DIR, and conduit still doesn't find the library. I point ZFP_DIR to /usr. The zfp include files are in /usr/include, but the zfp libraries are in /usr/lib/x86_64-linux-gnu, and conduit doesn't find them. Even when setting ZFP_DIR I cannot build with zfp on Ubuntu.

eschnett avatar Feb 26 '25 14:02 eschnett

Understood, we usually build zfp ourselves, but we can try to look at how to detect this case. If ZFP is built with cmake for ubuntu, we might be able to check an extra path for cmake install info.

cyrush avatar Feb 26 '25 23:02 cyrush

I'd also be happy to specify ZFP_INCLUDE_DIR AND ZFP_LIBRARY_DIR separately.

eschnett avatar Feb 27 '25 00:02 eschnett