linux中cmake进行编译遇到 Missing dependency: did not find Judy library, please install Judy or equivalent. More details in INSTALL.md
错误类似如下:
cmake .
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument value or use a … suffix to tell
CMake that the project does not need compatibility with older versions.
– The C compiler identification is GNU 13.2.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
CMake Error at CMakeLists.txt:50 (message):
Missing dependency: did not find Judy library, please install Judy or
equivalent. More details in INSTALL.md
– Configuring incomplete, errors occurred!
解决方法:
apt install libJudy*