Package Details: 3dslicer 5.6.2-4

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.000688
First Submitted: 2015-01-21 08:58 (UTC)
Last Updated: 2024-12-24 15:18 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

liamtimms commented on 2024-12-27 17:07 (UTC)

@hottea cheers, thanks for the fast response and fix

hottea commented on 2024-12-24 13:34 (UTC)

@liamtimms We need to build it with Slicer_USE_SYSTEM_DCMTK=OFF. You could install it from Archlinuxcn repo if you don't wanna build it from the source.

liamtimms commented on 2024-12-23 17:09 (UTC) (edited on 2024-12-23 17:09 (UTC) by liamtimms)

Hitting a new issue:

/home/liam/.cache/paru/clone/3dslicer/src/build/CTK/Libs/DICOM/Core/ctkDICOMDatabase.cpp: In member function ‘bool ctkDICOMDatabasePrivate::storeThumbnailFile(const QString&, const QString&, const QString&, const QString&)’:
/home/liam/.cache/paru/clone/3dslicer/src/build/CTK/Libs/DICOM/Core/ctkDICOMDatabase.cpp:828:74: error: no matching function for call to ‘DicomImage::DicomImage(QByteArray)’
  828 |   DicomImage dcmImage(QDir::toNativeSeparators(originalFilePath).toUtf8());
      |                                                                          ^
In file included from /home/liam/.cache/paru/clone/3dslicer/src/build/CTK/Libs/DICOM/Core/ctkDICOMDatabase.cpp:52:
/usr/include/dcmtk/dcmimgle/dcmimage.h:1905:5: note: candidate: ‘DicomImage::DicomImage(const DicomImage&)’
 1905 |     DicomImage(const DicomImage &);
      |     ^~~~~~~~~~
/usr/include/dcmtk/dcmimgle/dcmimage.h:1905:16: note:   no known conversion for argument 1 from ‘QByteArray’ to ‘const DicomImage&’
 1905 |     DicomImage(const DicomImage &);
      |                ^~~~~~~~~~~~~~~~~~
/usr/include/dcmtk/dcmimgle/dcmimage.h:1859:5: note: candidate: ‘DicomImage::DicomImage(const DicomImage*, DiImage*, EP_Interpretation)’
 1859 |     DicomImage(const DicomImage *dicom,
      |     ^~~~~~~~~~
/usr/include/dcmtk/dcmimgle/dcmimage.h:1859:5: note:   candidate expects 3 arguments, 1 provided
/usr/include/dcmtk/dcmimgle/dcmimage.h:140:5: note: candidate: ‘DicomImage::DicomImage(DcmObject*, E_TransferSyntax, const DcmUnsignedShort&, const DcmUnsignedShort&, const DcmLongString*, long unsigned int, long unsigned int, long unsigned int)’
  140 |     DicomImage(DcmObject *object,
      |     ^~~~~~~~~~
/usr/include/dcmtk/dcmimgle/dcmimage.h:140:5: note:   candidate expects 8 arguments, 1 provided
/usr/include/dcmtk/dcmimgle/dcmimage.h:114:5: note: candidate: ‘DicomImage::DicomImage(DcmObject*, E_TransferSyntax, double, double, long unsigned int, long unsigned int, long unsigned int)’
  114 |     DicomImage(DcmObject *object,
      |     ^~~~~~~~~~
/usr/include/dcmtk/dcmimgle/dcmimage.h:114:5: note:   candidate expects 7 arguments, 1 provided
/usr/include/dcmtk/dcmimgle/dcmimage.h:91:5: note: candidate: ‘DicomImage::DicomImage(DcmObject*, E_TransferSyntax, long unsigned int, long unsigned int, long unsigned int)’
   91 |     DicomImage(DcmObject *object,
      |     ^~~~~~~~~~
/usr/include/dcmtk/dcmimgle/dcmimage.h:91:5: note:   candidate expects 5 arguments, 1 provided
/usr/include/dcmtk/dcmimgle/dcmimage.h:72:5: note: candidate: ‘DicomImage::DicomImage(const OFFilename&, long unsigned int, long unsigned int, long unsigned int)’
   72 |     DicomImage(const OFFilename &filename,
      |     ^~~~~~~~~~
/usr/include/dcmtk/dcmimgle/dcmimage.h:72:34: note:   no known conversion for argument 1 from ‘QByteArray’ to ‘const OFFilename&’
   72 |     DicomImage(const OFFilename &filename,
      |                ~~~~~~~~~~~~~~~~~~^~~~~~~~
make[8]: *** [Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/build.make:148: Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/ctkDICOMDatabase.cpp.o] Error 1
make[7]: *** [CMakeFiles/Makefile2:795: Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/all] Error 2
make[6]: *** [Makefile:136: all] Error 2
make[5]: *** [CMakeFiles/CTK.dir/build.make:87: CTK-prefix/src/CTK-stamp/CTK-build] Error 2
make[4]: *** [CMakeFiles/Makefile2:266: CMakeFiles/CTK.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/CTK.dir/build.make:90: CTK-prefix/src/CTK-stamp/CTK-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:1050: CMakeFiles/CTK.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

hottea commented on 2023-07-25 04:29 (UTC)

@bartus Yes, I think you're right. dcmtk needs to be compiled with gcc12 too. dcmtk is build with gcc 12 when I build 3dslicer at that time (gcc 13 is not in official repo yet), so I did not encounter this issue. You could rebuild dcmtk with gcc12, and this issue would be fixed.

bartus commented on 2023-07-24 15:00 (UTC) (edited on 2023-07-24 15:02 (UTC) by bartus)

Got missing symbol error while linking dcmtk:libofstd.so

[ 92%] Building CXX object Libs/Widgets/Plugins/CMakeFiles/CTKWidgetsPlugins.dir/moc_ctkTreeComboBoxPlugin.cpp.o
[ 92%] Building CXX object Libs/Widgets/Plugins/CMakeFiles/CTKWidgetsPlugins.dir/moc_ctkSearchBoxPlugin.cpp.o
[ 93%] Building CXX object Libs/Widgets/Plugins/CMakeFiles/CTKWidgetsPlugins.dir/moc_ctkSettingsPanelPlugin.cpp.o
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../lib/libofstd.so: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
[ 93%] Building CXX object Libs/Widgets/Plugins/CMakeFiles/CTKWidgetsPlugins.dir/moc_ctkSettingsDialogPlugin.cpp.o
[ 93%] Building CXX object Libs/Widgets/Plugins/CMakeFiles/CTKWidgetsPlugins.dir/moc_ctkSliderWidgetPlugin.cpp.o
[ 93%] Building CXX object Libs/Widgets/Plugins/CMakeFiles/CTKWidgetsPlugins.dir/moc_ctkWorkflowButtonBoxWidgetPlugin.cpp.o
[ 93%] Building CXX object Libs/Widgets/Plugins/CMakeFiles/CTKWidgetsPlugins.dir/moc_ctkWorkflowWidgetStepPlugin.cpp.o
[ 93%] Building CXX object Libs/Widgets/Plugins/CMakeFiles/CTKWidgetsPlugins.dir/qrc_ctkWidgetsPlugins.cpp.o
collect2: error: ld returned 1 exit status
make[8]: *** [Applications/ctkDICOM/CMakeFiles/ctkDICOM.dir/build.make:108: bin/ctkDICOM] Error 1
make[7]: *** [CMakeFiles/Makefile2:1195: Applications/ctkDICOM/CMakeFiles/ctkDICOM.dir/all] Error 2
make[7]: *** Waiting for unfinished jobs....

Should dcmtk be compiled with gcc-12 or is this a missing -lstdc++ flag in cmake?

$nm -CD /usr/lib/libstdc++.so.6|grep ios_base_library                                                                                                                                   
00000000000c2460 T std::ios_base_library_init()@@GLIBCXX_3.4.32
$pacown /usr/lib/libstdc++.so.6                                                                                                                                                         
/usr/lib/libstdc++.so.6 is owned by gcc-libs 13.1.1-2

hottea commented on 2023-05-27 07:19 (UTC)

@viper2642 Your build log is not enough for debugging.

viper2642 commented on 2023-05-24 07:48 (UTC)

I get the following build error:

[ 13%] Built target CommonCore-objects
[ 13%] Linking C shared library ../../../../lib/libvtkhdf5-9.1.so
[ 13%] Built target vtkhdf5_src
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/VTK.dir/build.make:91: VTK-prefix/src/VTK-stamp/VTK-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:726: CMakeFiles/VTK.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
make: Leaving directory '/home/dpfeffer/.cache/yay/3dslicer/src/build'
==> ERROR: A failure occurred in build().
Aborting...
 -> error making: 3dslicer-exit status 4
 -> Failed to install the following packages. Manual intervention is 
required:
3dslicer - exit status 4

snth commented on 2023-04-27 21:06 (UTC)

@maverick1 I found one of the cmake build scripts expects the source to be in a git repo to set Slicer_WC_LAST_CHANGED_DATE. When using the release tarball I had to git init && git add . && git commit -m "dummy" in the extracted source dir to get it to build.

rabin commented on 2023-02-28 16:00 (UTC)

Directly download the tarball from the assets rather than using git to fetch it. The link to the source coder for the version 5.2.2 is https://github.com/Slicer/Slicer/archive/refs/tags/v5.2.2.tar.gz

techz commented on 2022-07-07 07:28 (UTC)

@hottea not sure what happen left it to build for a good 30mins + but system rebooted it might be related to system libffi. Not a software I would often use so just running the prebuilt package from official site, I just would've liked it to be installed on AUR. Might give it another go in future updates. :(