Giter Club home page Giter Club logo

mvme's Introduction

mvme - mesytec VME data acquisition

Building mvme

Dependencies

  • gcc/clang with c++17 support
  • cmake
  • Qt >= 5.15
  • qwt >= 6.1.3
  • quazip
  • libusb-0.1
  • zlib
  • graphviz
  • boost
  • ninja or make
  • Optional: sphinx and latex for the documentation
  • Optional: NSIS for the windows installer

Linux

git clone https://github.com/flueke/mvme
cd mvme
git submodule update --init
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/mvme ..
make -j4
make install

The install step is optional, mvme does run directly from the build directory.

Build commands on a fresh installation of Debian 10 (Buster)

Starting point is a clean installation of Debian Buster with the XFCE desktop enviroment selected during installation time.

apt-get install build-essential cmake libboost-all-dev qt5-default \
                qtbase5-dev-tools libquazip5-dev libqwt-qt5-dev \
                zlib1g-dev libusb-dev libqt5websockets5-dev ninja-build \
                libgraphviz-dev
git clone https://github.com/flueke/mvme
cd mvme
git submodule update --init
mkdir build
cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/local/mvme ..
ninja

Windows MSYS2

http://www.msys2.org/

MSYS2 dependencies

  • make
  • mingw-w64-x86_64-cmake
  • mingw-w64-x86_64-gcc
  • mingw-w64-x86_64-pkg-config
  • mingw-w64-x86_64-qt5
  • mingw-w64-x86_64-quazip
  • mingw-w64-x86_64-qwt-qt5
  • mingw-w64-x86_64-zlib
  • mingw-w64-x86_64-graphviz

CMake invocation under windows

cmake -DCMAKE_BUILD_TYPE=Release -G"MSYS Makefiles" ../mvme make -j4

Mac OS X using Homebrew

  • Note that the OS X port has only been tested with our MVLC VME Controller via Ethernet. USB support has not been tested. There are also some ugly fonts and broken layouts which might get fixed at some point.

  • Install Homebrew from https://brew.sh/

  • brew install git cmake boost qt quazip qwt libusb-compat sphinx-doc

  • Add the following to ~/.bash_profile:

    export PATH="/usr/local/opt/qt/bin:/usr/local/opt/sphinx-doc/bin:$PATH"
    export CMAKE_PREFIX_PATH="/usr/local"
    
  • source ~/.bash_profile

  • Checkout mvme, create a build directory and run cmake:

    cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/local/mvme ../mvme
    make -j6
    
  • You should now be able to start mvme directly from the build directory or run make install and run from the installation directory.

Libraries and 3rd-party code used in mvme

mvme's People

Contributors

arashpartow avatar flueke avatar inkdot7 avatar wvonseeg avatar

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.