Package Details: 3dslicer 4.11.20210226-3

Git Clone URL: https://aur.archlinux.org/3dslicer.git (read-only, click to copy)
Package Base: 3dslicer
Description: A multi-platform, free and open source software package for visualization and medical image computing
Upstream URL: https://www.slicer.org
Licenses: BSD
Submitter: tmladek
Maintainer: hottea (lilac)
Last Packager: lilac
Votes: 17
Popularity: 0.162616
First Submitted: 2015-01-21 08:58
Last Updated: 2021-06-22 08:22

Latest Comments

1 2 3 Next › Last »

bartus commented on 2021-06-21 17:20

Here's a quick solution with cmakes ExternalProject_Add(PATCH_COMMAND)

Apply with: git am -s < <(curl -s http://ix.io/3qFH)

hottea commented on 2021-06-21 09:39

@bartus the 1st issue should be reported to the upstream. Replace the compiler to gcc10 did not fix it yet. 3dslicer builds a python distribution and some python packages, there might be the same gcc version issue.

bartus commented on 2021-06-20 17:23

Two things:

1st. Wont build against current gcc:11 version, need to pin gcc:10 or patch sources with missing <limits> header. Error is triggered in ITK/GDCM subproject.

https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes

2nd. Please remove ${pkgver} form sources array, as it create redundant clone for 3dslicer repo each time version is updated.

hottea commented on 2021-02-26 09:00

@bartus You could simply install this pkg from Arch Linux Chinese Community Repository. I also maintain pkg teem there with cmake fix. So, if you'd like to build 3dslicer from source, you also need the teem pkg from ArchLiuxCN repo. You could check all pkg build log in ArchLinuxCN repo here.

bartus commented on 2021-02-26 08:04

Won't build after f921426afaf3 against modified teems package #792288 (cmake issue):

CMake Error at /usr/share/cmake-3.19/Modules/ExternalProject.cmake:3116 (get_property):
  get_property could not find TARGET teem.  Perhaps it has not yet been
  created.
Call Stack (most recent call first):
  /usr/share/cmake-3.19/Modules/ExternalProject.cmake:3433 (_ep_add_configure_command)
  SuperBuild.cmake:560 (ExternalProject_Add)
  CMakeLists.txt:687 (include)

Without modifying teems got this error.

-- SuperBuild -   teem[OK] (SYSTEM)
CMake Error at SuperBuild/External_teem.cmake:15 (find_package):
  Could not find a package configuration file provided by "Teem" with any of
  the following names:

    TeemConfig.cmake
    teem-config.cmake

hottea commented on 2021-02-18 07:31

@bartus sorry, but pkg teem is not maintained by me.

bartus commented on 2021-02-18 07:22

teem package cmake configuration is broken, already posted a patch to the maintainer

https://aur.archlinux.org/packages/teem/#comment-792288

Perhaps consider packaging the svn version of the teem for AUR as it had cmake configuration rewritten in 2019 ( teem:1.10.0 is from 2012 )

https://sourceforge.net/p/teem/code/6355/

hottea commented on 2020-10-25 08:17

Hi, I could now build 3dslicer from the source, see also the PKGBUILD. You could install it from Arch Linux Chinese Community Repository.

GuSec commented on 2020-09-14 22:31

Two issues:

  • Symlinking /opt/3dslicer/Slicer is fragile to execution directory (only full path works from my home dir). Solution: Do what zotero does; wrap by symlink to path-resolving script, e.g.
#!/usr/bin/bash
exec "$(dirname "$(readlink -f "$0")")" "$@"
  • XDG desktop file fails due to icon suffix (.png), check with desktop-file-validate /usr/share/applications/3dslicer.desktop, thus not displaying the application. Solution: Drop file suffix in .desktop (icons found by stem alone).

I also suggest /usr/share as an install prefix rather than /opt, if possible.

hottea commented on 2019-11-19 01:14

@gdolle It's really hard to build 3dslicer from source. It would compile python 2.7 from source and bundle with 3dslicer.