PDB-REDO / dssp

Application to assign secondary structure to proteins
BSD 2-Clause "Simplified" License
157 stars 18 forks source link

Cifpp error #59

Closed farmacyst99 closed 1 year ago

farmacyst99 commented 1 year ago

Hey, I'm trying to install dssp on my ubuntu WSL 2, while installing it is showing following error:

CMake Error at CMakeLists.txt:108 (find_package): By not providing "Findcifpp.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "cifpp", but CMake did not find one.

Could not find a package configuration file provided by "cifpp" (requested version 5.0.8) with any of the following names:

cifppConfig.cmake
cifpp-config.cmake

Add the installation prefix of "cifpp" to CMAKE_PREFIX_PATH or set "cifpp_DIR" to a directory containing one of the above files. If "cifpp" provides a separate development package or SDK, be sure it has been installed. image

Can you please help me with this I have installed all the other libraries requested in the READme

mhekkel commented 1 year ago

The cifpp package was updated yesterday to version 5.0.8. Did you install that version? And where did you install it, in the default location (/usr/local) or somewhere else? In the latter case you may need to specify that path in the CMAKE_PREFIX_PATH as stated by the error message.

So, e.g., if you installed libcifpp in /opt you would then need to run the cmake command for dssp like this:

git clone https://github.com/PDB-REDO/dssp.git
cd dssp
mkdir build
cmake -S . -B build -DCMAKE_PREFIX_PATH=/opt
cmake --build build
drlemmus commented 1 year ago

Stale