Open adl opened 3 weeks ago
But I don't see this dependency listed in the README.
[ 84%] Building CXX object src/synthesis/CMakeFiles/synthesis.dir/source/Utils.cpp.o
/home/adl/git/LydiaSyft/src/synthesis/source/Utils.cpp:7:10: fatal error: CLI/CLI.hpp: No such file or directory
7 | #include <CLI/CLI.hpp>
| ^~~~~~~~~~~~~
compilation terminated.
Apparently the git submodules of LydiaSyft where installed, but not recursively, so Lydia's third-party modules were empty. Running git submodule update --init --recursive
manually did the trick.
After a discussion with @Shufang-Zhu, I'm trying to compile and install LydiaSyft on Debian, and encountered several issues during the compilation of Lydia.
Spdlog is necessary
It should probably be listed in the list of dependencies.
A non-standard installation of Mona is necessary
Mona has a package in Debian, so I wanted to use that, but it seems Lydia uses stuff that isn't installed by a standard installation of Mona. The
mona/hash.h
file isn't installed by Mona'smakefile
, so it isn't part of the Debian package. (Mona's source code actually contains two differenthash.h
files.) It looks like I really need to install the Mona fork listed in the dependencies instead, but I think testing for the existence ofmona/hash.h
with CMake would allow a better error message than the following:A bug in Catch2 forbid further compilation
The following misleading message is caused by
uint8_t
not being defined at this point.https://github.com/catchorg/Catch2/issues/2713 suggests that this might be fixed in a newer version of Catch2.