BioPP / bppsuite

Bio++ Program Suite
16 stars 13 forks source link

compilation error - v3 #11

Closed kullrich closed 3 years ago

kullrich commented 3 years ago

Hi,

I could not compile v3.0.0 due to the following dependency Eigen3 and after installing Eigen3 some more compiling warnings popped up.

-- Found /usr/bin/gzip compression program, using file extension .gz
-- bpp-core 4.1.0 found:
--   static lib: /opt/biosoftware/bppsuite/build/lib/libbpp-core.a
--   shared lib: /opt/biosoftware/bppsuite/build/lib/libbpp-core.so.4.1.0
--   includes: /opt/biosoftware/bppsuite/build/include
-- bpp-seq 12.0.0 found:
--   static lib: /opt/biosoftware/bppsuite/build/lib/libbpp-seq.a
--   shared lib: /opt/biosoftware/bppsuite/build/lib/libbpp-seq.so.12.0.0
--   includes: /opt/biosoftware/bppsuite/build/include
-- bpp-phyl 12.0.0 found:
--   static lib: /opt/biosoftware/bppsuite/build/lib/libbpp-phyl.a
--   shared lib: /opt/biosoftware/bppsuite/build/lib/libbpp-phyl.so.12.0.0
--   includes: /opt/biosoftware/bppsuite/build/include
-- bpp-popgen 8.0.0 found:
--   static lib: /opt/biosoftware/bppsuite/build/lib/libbpp-popgen.a
--   shared lib: /opt/biosoftware/bppsuite/build/lib/libbpp-popgen.so.8.0.0
--   includes: /opt/biosoftware/bppsuite/build/include
-- makeinfo program not found: 'info' and 'html' target disabled (builds info/html doc)
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:122 (ADD_DEPENDENCIES):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "info" of target "rpm" does not exist.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /opt/biosoftware/bppsuite-3.0.0
Scanning dependencies of target bppml
[  2%] Building CXX object bppSuite/CMakeFiles/bppml.dir/bppML.cpp.o
/opt/biosoftware/bppsuite-3.0.0/bppSuite/bppML.cpp:58:10: fatal error: Bpp/Phyl/App/BppPhylogeneticsApplication.h: No such file or directory
   58 | #include <Bpp/Phyl/App/BppPhylogeneticsApplication.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [bppSuite/CMakeFiles/bppml.dir/build.make:63: bppSuite/CMakeFiles/bppml.dir/bppML.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:215: bppSuite/CMakeFiles/bppml.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Please could you add to your README.md file so that one knows the dependencies and might help resolving how to install the latest version?

Best regards

Kristian Ullrich

lgueguen commented 3 years ago

Dear Kristian,

indeed you should pull the latest version of bpp-phyl, where BppPhylogeneticsApplication.h is implemented. I agree that we should keep a more strict tract of the version tags between the programs & the libs, to be more explicit. Sorry for the inconvenience, Laurent