eugenemel / maven_core

MAVEN: Core Libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAVEN CORE: Set of Library for use in Metabolomic Analysis and Visualization Engine

Appveyor: Appveyor Build Status

Travis: Travis Build Status

Compile

git clone  git@github.com:eugenemel/maven_core.git maven_core
cd maven_core
qmake -r
make -j4

Dependencies

Windows

  1. Install the MSYS2 platform for Windows

  2. From a mingw64 prompt, install 64-bit QT, zlib, and sqlite

    pacman -S --needed --noconfirm git
    pacman -S --needed --noconfirm make
    pacman -S --needed --noconfirm mingw-w64-x86_64-qt-creator
    pacman -S --needed --noconfirm zlib-devel
    pacman -S --needed --noconfirm mingw64/mingw-w64-x86_64-sqlite3
    

Note: There is a bug in MSYS2 packages that causes the following error:

Cloning into 'maven_core'...
warning: redirecting to https://github.com/eugenemel/maven_core/
remote: Counting objects: 694, done.
remote: Total 694 (delta 0), reused 0 (delta 0), pack-reused 694
Receiving objects: 100% (694/694), 1.53 MiB | 0 bytes/s, done.
Resolving deltas: 100% (153/153), done.
Checking out files: 100% (576/576), done.
': not a valid identifierline 88: export: `dashless

WORKAROUND

mv /mingw64/bin/envsubst.exe /mingw64/bin/envsubst.exe.orig
pacman -S gettext

OSX / MacOS

  1. Install the Homebrew package management system

  2. Install the qt5 package

    brew update
    brew install qt5
    
  3. Setup the environment for the newly installed qt5

    export PATH="/usr/local/opt/qt/bin:$PATH"
    export LDFLAGS="-L/usr/local/opt/qt/lib"
    export CPPFLAGS="-I/usr/local/opt/qt/include"
    export PKG_CONFIG_PATH="/usr/local/opt/qt/lib/pkgconfig"
    

Linux (Ubuntu 16.04 LTS, Xenial)

  1. Add the PPA to install QT 5.8

    sudo add-apt-repository ppa:beineri/opt-qt58-xenial
    sudo apt-get update
    
  2. Install QT, opengl libraries, sqlite3, mysql, and libssl-dev

    sudo apt-get install qt58-meta-minimal \
                         mesa-common-dev \
                         libgl1-mesa-dev \
                         libsqlite3-dev \
                         libmysqlclient-dev \
                         libssl1.0.0 \
                         libssl-dev
    

Authors: Eugene Melamud Copyright 2010 Eugene Melamud / Princeton University Copyright 2016 Eugene Melamud / Calico Labs LLC.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

MAVEN: Core Libraries

License:GNU General Public License v3.0


Languages

Language:C++ 77.4%Language:C 12.6%Language:HTML 7.5%Language:Shell 1.6%Language:Makefile 0.4%Language:CSS 0.1%Language:CMake 0.1%Language:QMake 0.1%Language:R 0.1%Language:Python 0.0%