PLAST-software / plast-library

PLAST is a fast, accurate and NGS scalable bank-to-bank sequence similarity search tool providing significant accelerations.
http://plast.inria.fr
Other
9 stars 2 forks source link

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. #5

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi, I got the following error when compiling on Linux:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CPPUNIT_INCLUDE_DIR used as include directory in directory ~/plast/plast-library/test/unit CPPUNIT_LIBRARY linked by target "PlastLibraryTest" in directory ~/plast/plast-library/test/unit

-- Configuring incomplete, errors occurred!

nylander commented 5 years ago

Hi, you are probably missing "development files" for cppunit. On a Debian-based system (such as *buntu), you can install them by:

 sudo apt install libcppunit-dev

Another option (no extra installations), is to disable the unit testing by commenting lines 98--99 in the file plast-library/CMakeLists.txt, and then build.

/Johan