Package Details: 3dslicer 5.8.1-1

Git Clone URL: https://aur.archlinux.org/3dslicer.git (read-only, click to copy)
Package Base: 3dslicer
Description: A free, open source and multi-platform software package widely used for medical, biomedical, and related imaging research
Upstream URL: https://www.slicer.org
Licenses: BSD-3-Clause
Submitter: tmladek
Maintainer: hottea (lilac)
Last Packager: lilac
Votes: 20
Popularity: 0.000176
First Submitted: 2015-01-21 08:58 (UTC)
Last Updated: 2025-03-03 06:08 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

hottea commented on 2022-07-07 05:13 (UTC) (edited on 2022-07-07 05:16 (UTC) by hottea)

@techz Could you build it in a clean chroot as described in this wiki. The latest build works as expected. It seems 3dslicer did not work with the system libffi.

techz commented on 2022-07-07 02:50 (UTC) (edited on 2022-07-07 02:50 (UTC) by techz)

Not sure if this has been a issue in the past but I am currently getting a build error:

[ 66%] Building ASM object CMakeFiles/objlib.dir/src/x86/unix64.S.o
/home/techz/.cache/yay/3dslicer/src/build/LibFFI/src/x86/unix64.S: Assembler messages:
/home/techz/.cache/yay/3dslicer/src/build/LibFFI/src/x86/unix64.S:581: Error: junk at end of line, first unrecognized character is `@'
/home/techz/.cache/yay/3dslicer/src/build/LibFFI/src/x86/unix64.S:600: Error: junk at end of line, first unrecognized character is `@'
/home/techz/.cache/yay/3dslicer/src/build/LibFFI/src/x86/unix64.S:613: Error: junk at end of line, first unrecognized character is `@'
/home/techz/.cache/yay/3dslicer/src/build/LibFFI/src/x86/unix64.S:627: Error: junk at end of line, first unrecognized character is `@'
/home/techz/.cache/yay/3dslicer/src/build/LibFFI/src/x86/unix64.S:640: Error: junk at end of line, first unrecognized character is `@'
make[5]: *** [CMakeFiles/objlib.dir/build.make:173: CMakeFiles/objlib.dir/src/x86/unix64.S.o] Error 1
make[5]: Leaving directory '/home/techz/.cache/yay/3dslicer/src/build/LibFFI-build'
make[4]: *** [CMakeFiles/Makefile2:87: CMakeFiles/objlib.dir/all] Error 2
make[4]: Leaving directory '/home/techz/.cache/yay/3dslicer/src/build/LibFFI-build'
make[3]: *** [Makefile:136: all] Error 2
make[3]: Leaving directory '/home/techz/.cache/yay/3dslicer/src/build/LibFFI-build'
make[2]: *** [CMakeFiles/LibFFI.dir/build.make:90: LibFFI-prefix/src/LibFFI-stamp/LibFFI-build] Error 2
make[2]: Leaving directory '/home/techz/.cache/yay/3dslicer/src/build'
make[1]: *** [CMakeFiles/Makefile2:562: CMakeFiles/LibFFI.dir/all] Error 2
make[1]: Leaving directory '/home/techz/.cache/yay/3dslicer/src/build'
make: *** [Makefile:91: all] Error 2
make: Leaving directory '/home/techz/.cache/yay/3dslicer/src/build'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: 3dslicer

hottea commented on 2022-06-28 00:42 (UTC)

@entshuld I just update the PKGBUILD, you could re-try, and it should work.

hottea commented on 2022-06-24 13:50 (UTC) (edited on 2022-06-24 13:52 (UTC) by hottea)

@entshuld

  1. I have 3dslicer build successfully at 20220506, and publish at ArchLinuxCN, which is a third-party repo, see also the wiki.

  2. You could also build 3dslicer-git, which is also available at ArchLinuxCN. I could confirm that this builds successfully at 20220624 (today).

  3. You could the comments at https://aur.archlinux.org/packages/teem, I build teem with different svn revision and apply patch.

entshuld commented on 2022-06-24 09:18 (UTC)

@hottea I do have teem installed

#+begin_src bash :export both :results output
  pacman -Qs teem
#+end_src

#+RESULTS:
: local/teem 1.11.0-4
:     Group of libraries for processing scientific raster data.

I ran a diff on the PKGBUILD on your personal repo and the one here, and there was no difference, which makes me think that I will have the same error. I have noticed that you refer users to your personal repository instead of AUR. Is there a reason for that? (this is understandable if one is not the maintainer oof the package, because one is forced to offer an alternative)

hottea commented on 2022-06-21 02:06 (UTC)

@entshuld You could build teem. Or just install 3dslicer from here.

entshuld commented on 2022-06-20 17:24 (UTC)

I am unable to install:

-- SuperBuild -   JsonCpp[OK]
-- SuperBuild - Slicer[OK]
CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:3068 (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/Modules/ExternalProject.cmake:3193 (_ep_get_file_deps)
  /usr/share/cmake/Modules/ExternalProject.cmake:3643 (_ep_add_configure_command)
  SuperBuild.cmake:543 (ExternalProject_Add)
  CMakeLists.txt:755 (include)


CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:3070 (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/Modules/ExternalProject.cmake:3193 (_ep_get_file_deps)
  /usr/share/cmake/Modules/ExternalProject.cmake:3643 (_ep_add_configure_command)
  SuperBuild.cmake:543 (ExternalProject_Add)
  CMakeLists.txt:755 (include)


CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:1732 (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/Modules/ExternalProject.cmake:2019 (ExternalProject_Get_Property)
  /usr/share/cmake/Modules/ExternalProject.cmake:3072 (_ep_get_step_stampfile)
  /usr/share/cmake/Modules/ExternalProject.cmake:3193 (_ep_get_file_deps)
  /usr/share/cmake/Modules/ExternalProject.cmake:3643 (_ep_add_configure_command)
  SuperBuild.cmake:543 (ExternalProject_Add)
  CMakeLists.txt:755 (include)


CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:1734 (message):
  External project "teem" has no stamp_dir
Call Stack (most recent call first):
  /usr/share/cmake/Modules/ExternalProject.cmake:2019 (ExternalProject_Get_Property)
  /usr/share/cmake/Modules/ExternalProject.cmake:3072 (_ep_get_step_stampfile)
  /usr/share/cmake/Modules/ExternalProject.cmake:3193 (_ep_get_file_deps)
  /usr/share/cmake/Modules/ExternalProject.cmake:3643 (_ep_add_configure_command)
  SuperBuild.cmake:543 (ExternalProject_Add)
  CMakeLists.txt:755 (include)

hottea commented on 2022-05-28 10:25 (UTC)

@Smoerrebroed You need to patch source where std::unique_ptr is used, as @bartus mentioned. See also https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes

Smoerrebroed commented on 2022-05-28 05:32 (UTC) (edited on 2022-05-28 05:35 (UTC) by Smoerrebroed)

After replacing teem with teem-svn:

 [ 23%] Building CXX object Common/DataModel/CMakeFiles/CommonDataModel-objects.dir/vtkStructuredGrid.cxx.o
 In file included from /var/data/Downloads/3dslicer/src/build/VTK/Common/DataModel/vtkSphericalPointIterator.cxx:15: /var/data/Downloads/3dslicer/src/build/VTK/Common/DataModel/vtkSphericalPointIterator.h:272:8: error: no template named 'unique_ptr' in namespace 'std'
  std::unique_ptr<SphericalPointIterator> Iterator;
  ~~~~~^
 /var/data/Downloads/3dslicer/src/build/VTK/Common/DataModel/vtkSphericalPointIterator.h:96:3: error: cannot initialize object parameter of type 'const vtkObject' with an expression of type 'const vtkSphericalPointIterator'
  vtkAbstractTypeMacro(vtkSphericalPointIterator, vtkObject);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bartus commented on 2022-04-04 10:22 (UTC) (edited on 2022-04-04 10:23 (UTC) by bartus)

cmake call needs -DSlicer_USE_GIT_PROTOCOL=OFF in order to prime the git submodules after the anonymous git protocol was dropped by Github.

Otherwise, you get a build error:

checkout: https://github.com/Slicer/Slicer/issues/6297