Skip to content

(debian): build sight on Debian-med

Julien WAECHTER requested to merge 52-import-latest-debian-patches into dev

What does this MR do?

  • Added several patches to build sight on Debian-med
    • fix launcher library path
    • fix version getter: in debian workflow, Sight version should be passed from the build parameters and not from the git repository
    • do not install conan deps since we use system libraries
    • add missing copy constructor for fwData::ImageIterator (new warning in gcc9)
    • fix support of VTK 7
    • remove redundant move in return statement in fwCom [-Werror=redundant-move]
    • fix build flag for project using system lib
    • add a new debian gitlab-ci build job
    • fix the source path of dcmtk scp config file

How to test it?

Build VRRender on Debain-med with Docker:

> docker run --rm -it registry.ircad.fr/sight/docker-debian:dev
  • configure, build, install VRRender in docker-debian container:
> mkdir -p /usr/local/share/ca-certificates \
    && wget http://sogo.ircad.fr/CA.crt -P /usr/local/share/ca-certificates/CA-ircad.crt \
    && update-ca-certificates

> export CC=/usr/lib/ccache/gcc-9
> export CXX=/usr/lib/ccache/g++-9

> git clone --depth 1 https://git.ircad.fr/Sight/sight.git -b 52-import-latest-debian-patches

> mkdir -p /home/build/install
> cd /home/build/

> cmake /home/build/src/sight -G Ninja -DCMAKE_INSTALL_PREFIX=/home/build/install -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -DBUILD_DOCUMENTATION=OFF -DENABLE_PCH=OFF -DUSE_SYSTEM_LIB=ON -DPROJECTS_TO_BUILD=VRRender
> ninja
> ninja install

Data

No required data

Some results

VRRender built on Debian med without patch

Additional tests to run

  • Build on Windows
  • Build on Linux
  • Build on Debian

Associated issue

Closes #52 (closed)

Edited by Julien WAECHTER

Merge request reports