Closed davidecarlson closed 1 year ago
My apologies, I messed up by editing the trunk instead of the development branch. DSSP depends on libcifpp 5.0.8 which was not released yet.
I've pushed libcifpp and updated the dssp dependencies. Should be fixed now.
Thanks for the update!
I pulled the libcifpp changes and tried to build v5.0.8. It seems that the required dependencies to build libcifpp 5.0.8 have now changed. I'm getting an error saying that bpp-phyl is required but not found:
CMake Error at CMakeLists.txt:19 (MESSAGE): bpp-phyl required but not found. Call Stack (most recent call first): CMakeLists.txt:33 (IMPROVED_FIND_LIBRARY)
bpp-phyl in turn appears to have several dependencies required (e.g., bpp-core3, bpp-seq3, possibly others) .
Is there any documentation as to what specifically is required for building libcifpp?
bpp-phyl is not something used in libcifpp. Are you sure you are typing in the right directory?
The requirements are limited, only zlib development files are needed. And boost is only required for building unit-tests.
Thanks. Something weird must have happened when I pulled the changes.
I nuked the directory and cloned it again, and was able to build libcifpp without issue.
Thanks again! Dave
Dear dssp devs,
I'm trying to compile dssp with gcc 12.1.0 and running into some errors whose cause is not clear to me. I first built libcif++ from source and then ran the following in the dssp build directory:
`export libmcfp_DIR=/gpfs/software/mrc/build/1.3.6/lib64/cmake/libmcfp export cifpp_DIR=/gpfs/software/libcifpp/build/5.0.7.1
cmake .. -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=
pwd
/4.2.2 -DCMAKE_PREFIX_PATH=/gpfs/software/mrc/build/1.3.6 `The cmake output appears to be fine:
-- The CXX compiler identification is GNU 12.1.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /gpfs/software/gcc/12.1.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include filesystem -- Looking for C++ include filesystem - found -- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED -- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") Using resources compiled with -- Configuring done -- Generating done -- Build files have been written to: /gpfs/software/dssp/build
However, the build fails with a lot of errors:
~~~~~ /gpfs/software/dssp/src/dssp-io.cpp:669:48: error: ‘class cif::category’ has no member named ‘find_first’ 669~~~~~ /gpfs/software/dssp/src/dssp-io.cpp:670:48: error: ‘class cif::category’ has no member named ‘find_first’ 670~~~~~ /gpfs/software/dssp/src/dssp-io.cpp:671:48: error: ‘class cif::category’ has no member named ‘find_first’ 671~~~~~ /gpfs/software/dssp/src/dssp-io.cpp:686:79: error: expected primary-expression before ‘>’ token 686~~~~~~~^~ 681~~~~~~~~~~ 682~~~~~683~~~~~684~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
Any suggestions as to what the issue might be? Thanks! Dave