Compile Error

27 views
Skip to first unread message

Pau Bolivar

unread,
Jun 2, 2014, 11:27:58 AM6/2/14
to testnh-h...@googlegroups.com
Hi!

I am trying to install testnh but get an Error:

[paulina@milou1 testnh]$ cmake -DCMAKE_INSTALL_PREFIX=$bpp_dir -DCMAKE_LIBRARY_PATH=$bpp_dir/lib -DCMAKE_INCLUDE_PATH=$bpp_dir/include -DBUILD_TESTING=FALSE ./
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Library bpp-phyl found here:
   includes: /home/paulina/local/bpp/dev/include
   dynamic libraries: /home/paulina/local/bpp/dev/lib/libbpp-phyl.so
-- Library bpp-seq found here:
   includes: /home/paulina/local/bpp/dev/include
   dynamic libraries: /home/paulina/local/bpp/dev/lib/libbpp-seq.so
-- Library bpp-core found here:
   includes: /home/paulina/local/bpp/dev/include
   dynamic libraries: /home/paulina/local/bpp/dev/lib/libbpp-core.so
-- Found makeinfo here: /usr/bin/makeinfo
   Adding targets: info, html
   Adding target info to target all
-- Found pdftex here: /usr/bin/pdftex
   Adding target: pdf
-- Found nroff here: /usr/bin/nroff
   Adding targets: man
-- Configuring done
-- Generating done
-- Build files have been written to: /home/paulina/local/bpp/dev/sources/testnh
[paulina@milou1 testnh]$ make
Scanning dependencies of target info
[  0%] Built target info
Scanning dependencies of target man
[  0%] Built target man
Scanning dependencies of target mapnh
[ 20%] Building CXX object TestNH/CMakeFiles/mapnh.dir/MultinomialClustering.cpp.o
In file included from /home/paulina/local/bpp/dev/sources/testnh/TestNH/MultinomialClustering.cpp:2:
/home/paulina/local/bpp/dev/include/Bpp/Numeric/Matrix/MatrixTools.h: In static member function ‘static void bpp::MatrixTools::fill(Matrix&, Scalar) [with Matrix = bpp::DistanceMatrix, Scalar = double]’:
/home/paulina/local/bpp/dev/sources/testnh/TestNH/MultinomialClustering.cpp:103:   instantiated from here
/home/paulina/local/bpp/dev/include/Bpp/Numeric/Matrix/MatrixTools.h:154: error: ‘class bpp::DistanceMatrix’ has no member named ‘getNumberOfRows’
/home/paulina/local/bpp/dev/include/Bpp/Numeric/Matrix/MatrixTools.h:156: error: ‘class bpp::DistanceMatrix’ has no member named ‘getNumberOfColumns’
make[2]: *** [TestNH/CMakeFiles/mapnh.dir/MultinomialClustering.cpp.o] Error 1
make[1]: *** [TestNH/CMakeFiles/mapnh.dir/all] Error 2
make: *** [all] Error 2

I am installing from the git repository. The installation for the other libraries from the git went fine. 

Can you please help me? 

Thank you so much!

Best regards

Paulina




Julien Yann Dutheil

unread,
Jun 2, 2014, 3:17:12 PM6/2/14
to testnh-h...@googlegroups.com
Dear Paulina,

This is due to a very recent change in bpp-seq. It should be fixed now (bpp-seq and testnh have been updated on git).

Many thanks for reporting this issue!

Best regards,

Julien.


--

---
You received this message because you are subscribed to the Google Groups "testnh-help-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testnh-help-fo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Julien Y. Dutheil, Ph-D
0 (+49) 6421 178 986

§ Max Planck Institute for Terrestrial Microbiology
Department of Organismic Interactions
Marburg -- GERMANY

§ Intitute of Evolutionary Sciences - Montpellier
University of Montpellier 2 -- FRANCE

Pau Bolivar

unread,
Jun 3, 2014, 6:12:15 AM6/3/14
to testnh-h...@googlegroups.com
Thanks a lot!! Now it worked!!

Cheers!

Paulina 
Reply all
Reply to author
Forward
0 new messages