Giter VIP home page Giter VIP logo

Comments (2)

pcolaianni avatar pcolaianni commented on May 20, 2024
  • rename FindBoost.cmake to Findboost.cmake

Commands used:

mkdir build1
mkdir build2
cd build2
cmake -DUSE_SUPERBUILD=ON -G "Unix Makefiles" ..
make
cd ../build1
cmake -DEIGEN_USE_GPU=OFF -DUSE_SUPERBUILD=OFF -DBOOST_USE_STATIC=OFF -G "Unix Makefiles" -DCMAKE_PREFIX_PATH="/home/pasdom/OpenMS-build/" -DEIGEN3_INCLUDE_DIR=/home/pasdom/SmartPeak2/build2/Dependencies/Source/eigen -DBOOST_ROOT=/home/pasdom/SmartPeak2/build2/Dependencies/Source/boost ..
make

ps: my folder names are hardcoded (ie. pasdom/)

from smartpeak.

pcolaianni avatar pcolaianni commented on May 20, 2024

This comment is out of date. The updated instructions can be found in the wiki pages:

Old instructions

I compiled OpenMS and SmartPeak2 on my local machine.
Following the guide from OpenMS, I can confirm it's not necessary to build contrib (tested on Ubuntu 18.04).

Note: It is assumed that code resides in ~/OpenMS and ~/SmartPeak2

cd ~
mkdir OpenMS-build
cd OpenMS-build
cmake -DBOOST_USE_STATIC=OFF -DHAS_XSERVER=OFF -DWITH_GUI=OFF -DENABLE_TUTORIALS=OFF -DENABLE_DOCS=OFF -DGIT_TRACKING=OFF -DENABLE_UPDATE_CHECK=OFF -DCMAKE_BUILD_TYPE=Debug -DPYOPENMS=OFF -DOPENMS_COVERAGE=OFF ~/OpenMS
make -j4 OpenMS

cd ~
mkdir SmartPeak2_build
cd SmartPeak2_build
cmake -DEIGEN_USE_GPU=OFF -DUSE_SUPERBUILD=OFF -DBOOST_USE_STATIC=OFF -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=$HOME/OpenMS-build/ -DCMAKE_BUILD_TYPE=Debug ~/SmartPeak2
make -j4

Some dependencies one might have to install:
sudo apt install qt5-default libboost-dev libeigen3-dev libxerces-c-dev coinor-libcbc-dev libsvm-dev libboost-iostreams-dev libboost-date-time-dev libboost-math-dev libwildmagic-dev libsqlite3-dev libglpk-dev seqan-dev

from smartpeak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.