Closed VinayIsHere closed 3 years ago
Hi @VinayIsHere,
This means you are missing the Catch2 dependency, listed in the README. If you are looking to run the unit or integration test suites, you will need this dependency. If you are simply looking to compile the library without running tests, you can specify -DENABLE_TEST=OFF
when running cmake
. Details found here
I have installed the Catch2
from its github
but still it is giving this error because the version 3 of Catch2
doesn't include this file catch2/catch.hpp
, So I just use the cmake
with -DENABLE_TEST=OFF
and it works now.
You've likely installed from master. If you take a look at https://github.com/abedra/libvault/blob/master/.github/workflows/cmake.yml#L28-L35 you will see the appropriate version to install. Until the new version of Catch2 is released as stable libvault will use this branch.
When I run
make
I got the following error