Package Details: itk4 4.13.2-1

Git Clone URL: https://aur.archlinux.org/itk4.git (read-only, click to copy)
Package Base: itk4
Description: Cross-platform system that provides developers with an extensive suite of software tools for image analysis
Upstream URL: http://www.itk.org/
Licenses: Apache
Conflicts: insight-toolkit
Provides: insight-toolkit
Replaces: insight-toolkit
Submitter: geosam
Maintainer: geosam
Last Packager: geosam
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-12 03:35
Last Updated: 2019-10-12 03:35

Dependencies (20)

Required by (18)

Sources (2)

Latest Comments

DuckSoft commented on 2020-11-14 06:12

Is this package still maintained?

kikislater commented on 2020-10-13 14:27

Avoid including /usr/lib/pkgconfig/libopenjp2.pc with

    -DGDCM_USE_SYSTEM_OPENJPEG:BOOL=ON \

Please remove -DCMAKE_CXX_FLAGS:STRING="-std=c++98" \ as it generates errors and not needed anymore in 4.13.3

Updated PKGBUILD could be find here if update will not come :

https://github.com/giscan/AUR-itk4/blob/main/PKGBUILD

kikislater commented on 2020-10-13 08:37

Previous error is just a warning about upstream gcc 10 version.

Please update patch to add gcc10 (or take 4.13.3 in github branch instead of sourceforge) :

--- InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h.cp
+++ InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
@@ -96,6 +96,28 @@
 #   define VCL_GCC_81
 #  else
 #   define VCL_GCC_80
+#  endif
+# elif (__GNUC__==9)
+#  define VCL_GCC_9
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_93
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_92
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_91
+#  else
+#   define VCL_GCC_90
+#  endif
+# elif (__GNUC__==10)
+#  define VCL_GCC_10
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_103
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_102
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_101
+#  else
+#   define VCL_GCC_100
 #  endif
 # else
 #  error "Dunno about this gcc"


kikislater commented on 2020-10-12 08:12

With make -j1, error looks like that :

Scanning dependencies of target itkvcl
[  2%] Building CXX object Modules/ThirdParty/VNL/src/vxl/vcl/CMakeFiles/itkvcl.dir/vcl_deprecated.cxx.o
In file included from /home/sylvain/.cache/yay/itk4/src/InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_iostream.h:5,
                 from /home/sylvain/.cache/yay/itk4/src/InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_deprecated.cxx:4:
/home/sylvain/.cache/yay/itk4/src/InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:112:4: error: #error "Dunno about this gcc"
  112 | #  error "Dunno about this gcc"
      |    ^~~~~
cc1plus: note: unrecognized command-line option '-Wno-undefined-var-template' may have been intended to silence earlier diagnostics
make[2]: *** [Modules/ThirdParty/VNL/src/vxl/vcl/CMakeFiles/itkvcl.dir/build.make:82: Modules/ThirdParty/VNL/src/vxl/vcl/CMakeFiles/itkvcl.dir/vcl_deprecated.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5585: Modules/ThirdParty/VNL/src/vxl/vcl/CMakeFiles/itkvcl.dir/all] Error 2
make: *** [Makefile:171: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

thomarse commented on 2020-05-20 11:12

I'm getting the same error:

error: failed to commit transaction (conflicting files)
itk4: /usr/lib/pkgconfig/libopenjp2.pc exists in filesystem (owned by openjpeg2)
Errors occurred, no packages were upgraded.

kikislater commented on 2020-04-28 04:58

Package is in conflict with openjpeg2 :

error: failed to commit transaction (conflicting files)
itk4: /usr/lib/pkgconfig/libopenjp2.pc exists in filesystem (owned by openjpeg2)
Errors occurred, no packages were upgraded.