Closed AntoineHo closed 3 years ago
Hi there!
It seems to me also that this has to do with the bpp version... I know that they were updating some things. @jydu , would you be able to help here?
Hi,
Indeed iSMC is currently out of sync with the BPP libraries (which are undergoing a major upgrade, so soon things will be easier). So to compile iSMC from sources, you need to get the BPP libraries from github:
git clone https://github.com/BioPP/bpp-core.git
git fetch
git checkout rel299
mkdir build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local
make install
and the same for bpp-seq and bpp-phyl. Please do not hesitate to report any further issue. Note: iSMC will currently NOT compile against the master branch of the BPP libraries!
Hope this helps,
Julien.
Hello, Thanks for your help, the compilation of bpp-core works with git checkout rel299 but there seems to be no branch "rel299" for bpp-seq. So I cannot compile bpp-seq and bpp-phyl.
Just to be sure this is not an error in my understanding, here is what I have tried:
cd bpp-core
git fetch
git checkout rel299
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local ..
make
make install # <-- this works
cd ../../
cd bpp-seq
#git fetch
#git checkout rel299 # <-- does not work / cannot find the branch rel299
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local .. # <-- does not work with master or other recent branches
make
make install
cd ../../
Cheers, Antoine
Oups, should be fixed now! Thanks for reporting.
Many thanks, it compiles now. Cheers
Hello, I am trying to install the tool but I get an error, I believe this is due to versioning of libpp but I do not know how to solve it.
I will put below the compilation output. I installed these dependencies before compiling:
sudo apt-get install libbpp-core-dev libbpp-phyl-dev libboost-dev libboost-iostreams-dev libbpp-seq-dev
Can you help me?
Cheers, Antoine