致命错误:lz4.h:没有这样的文件或目录#include“lz4.h”

致命错误:lz4.h:没有这样的文件或目录#include“lz4.h”
Compiling (C++): prod/coretech/hub/compression/lz4_compressor.os
prod/coretech/hub/compression/lz4_compressor.cc:31:17: fatal error: lz4.h: No such file or directory
 #include "lz4.h"
                 ^
compilation terminated.
scons: *** [prod/coretech/hub/compression/lz4_compressor.os] Error 1
scons: building terminated because of errors.

答案1

安装开发库

sudo apt-get install liblz4-dev

相关内容