I’m having some problems building 3D Slicer on Gentoo, I’m using GCC 7 and GCC 6, could not try on GCC 4 since it got some libraries problems with the ABI changes.
Can someone orient me about what GCC version and maybe Linux distro is best to build? I would like to use Gentoo, but if another works its a start for me.
I’ve tried also CentOS 7 with no luck, maybe I’m missing something. Been following the instructions on https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions
The errors on Gentoo I’m stuck now are all like this:
Slicer-SuperBuild-Debug/SimpleITK/Code/Common/include/Ancillary/TypeList.h:328:43: error: expected primary-expression before ‘>’ token
visitor.CLANG_TEMPLATE operator()( );
And on CentOS I got:
[ 1%] Completed ‘BRAINSTools’
[ 1%] Built target BRAINSTools
make: *** No rule to make target
zlib-prefix/src/zlib-stamp/zlib-/root/src/Slicer-SuperBuild-Debug/version-zlib.txt', needed byzlib-prefix/src/zlib-stamp/zlib-generate_project_description’. Stop.
make: *** [CMakeFiles/zlib.dir/all] Error 2
Thanks in advance!