zstdutil.hpp:14:10: fatal error: zstd.h: No such file or directory
bredeson opened this issue · 2 comments
Hi smoothxg dev(s),
I have been attempting to build a pangenome from 5 haplotypes (~20Mb each) for a single chromosome with pggb. pggb (conda install of pggb=0.3.0, smoothxg=0.6.1 on SUSE 5.3.18-24.107-default) gets to the smoothxg step and throws an 'Illegal Instruction' error (exit 132). So, I thought I would try compiling from source; however, cmake can't find zstd.h when attempting to compile zstdutil.hpp (even though the path is specified in $INCLUDE_PATH
).
The cmake error:
In file included from REDACTED/smoothxg/src/smooth.hpp:16,
from REDACTED/smoothxg/src/breaks.cpp:5:
REDACTED/smoothxg/src/zstdutil.hpp:14:10: fatal error: zstd.h: No such file or directory
14 | #include <zstd.h>
| ^~~~~~~~
compilation terminated.
I've tried specifying the location of the zstd.h directory explicitly using the variations suggested here.
Your help would be immensely appreciated.
-Jessen
Hi,
I was able to successfully compile the software by specifying the install location of zstd.h
in the CMakeLists with include_directories()
.