ANTsX / ITKR

port of ITK to R
6 stars 14 forks source link

Installing ITKR on ubuntu18.04 with neurocInstall Package #58

Closed wizard-ctrl closed 2 years ago

wizard-ctrl commented 2 years ago

Hi all,

Just wondering if anybody has encountered a recent installation problem I'm struggling with. I recently tried to install ITKR on ubuntu 18.04. I can' t compile ITKR. After trying upgrade my cmake to 3.11.4 and my git to 2.24.0, it still can't be compiled. Here is the log: -- The CXX compiler identification is GNU 7.5.0 -- The C compiler identification is GNU 7.5.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found Git: /usr/bin/git (found version "2.24.0") -- Performing Test C_HAS_WARNING-Wno-uninitialized -- Performing Test C_HAS_WARNING-Wno-uninitialized - Failed -- Performing Test C_HAS_WARNING-Wno-unused-parameter -- Performing Test C_HAS_WARNING-Wno-unused-parameter - Failed -- Performing Test C_HAS_WARNING-Wall -- Performing Test C_HAS_WARNING-Wall - Failed -- Performing Test C_HAS_WARNING-Wno-long-double -- Performing Test C_HAS_WARNING-Wno-long-double - Failed -- Performing Test C_HAS_WARNING-Wcast-align -- Performing Test C_HAS_WARNING-Wcast-align - Failed -- Performing Test C_HAS_WARNING-Wdisabled-optimization -- Performing Test C_HAS_WARNING-Wdisabled-optimization - Failed -- Performing Test C_HAS_WARNING-Wextra -- Performing Test C_HAS_WARNING-Wextra - Failed -- Performing Test C_HAS_WARNING-Wformat_2 -- Performing Test C_HAS_WARNING-Wformat_2 - Failed -- Performing Test C_HAS_WARNING-Winvalid-pch -- Performing Test C_HAS_WARNING-Winvalid-pch - Failed -- Performing Test C_HAS_WARNING-Wno-format-nonliteral -- Performing Test C_HAS_WARNING-Wno-format-nonliteral - Failed -- Performing Test C_HAS_WARNING-Wpointer-arith -- Performing Test C_HAS_WARNING-Wpointer-arith - Failed -- Performing Test C_HAS_WARNING-Wshadow -- Performing Test C_HAS_WARNING-Wshadow - Failed -- Performing Test C_HAS_WARNING-Wunused -- Performing Test C_HAS_WARNING-Wunused - Failed -- Performing Test C_HAS_WARNING-Wwrite-strings -- Performing Test C_HAS_WARNING-Wwrite-strings - Failed -- Performing Test C_HAS_WARNING-funit-at-a-time -- Performing Test C_HAS_WARNING-funit-at-a-time - Failed -- Performing Test C_HAS_WARNING-Wno-strict-overflow -- Performing Test C_HAS_WARNING-Wno-strict-overflow - Failed -- Performing Test CXX_HAS_WARNING-Wall -- Performing Test CXX_HAS_WARNING-Wall - Failed -- Performing Test CXX_HAS_WARNING-Wno-long-double -- Performing Test CXX_HAS_WARNING-Wno-long-double - Failed -- Performing Test CXX_HAS_WARNING-Wcast-align -- Performing Test CXX_HAS_WARNING-Wcast-align - Failed -- Performing Test CXX_HAS_WARNING-Wdisabled-optimization -- Performing Test CXX_HAS_WARNING-Wdisabled-optimization - Failed -- Performing Test CXX_HAS_WARNING-Wextra -- Performing Test CXX_HAS_WARNING-Wextra - Failed -- Performing Test CXX_HAS_WARNING-Wformat_2 -- Performing Test CXX_HAS_WARNING-Wformat_2 - Failed -- Performing Test CXX_HAS_WARNING-Winvalid-pch -- Performing Test CXX_HAS_WARNING-Winvalid-pch - Failed -- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral -- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral - Failed -- Performing Test CXX_HAS_WARNING-Wpointer-arith -- Performing Test CXX_HAS_WARNING-Wpointer-arith - Failed -- Performing Test CXX_HAS_WARNING-Wshadow -- Performing Test CXX_HAS_WARNING-Wshadow - Failed -- Performing Test CXX_HAS_WARNING-Wunused -- Performing Test CXX_HAS_WARNING-Wunused - Failed -- Performing Test CXX_HAS_WARNING-Wwrite-strings -- Performing Test CXX_HAS_WARNING-Wwrite-strings - Failed -- Performing Test CXX_HAS_WARNING-funit-at-a-time -- Performing Test CXX_HAS_WARNING-funit-at-a-time - Failed -- Performing Test CXX_HAS_WARNING-Wno-strict-overflow -- Performing Test CXX_HAS_WARNING-Wno-strict-overflow - Failed -- Performing Test CXX_HAS_WARNING-Wno-deprecated -- Performing Test CXX_HAS_WARNING-Wno-deprecated - Failed -- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof -- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof - Failed -- Performing Test CXX_HAS_WARNING-Wno-undefined-var-template -- Performing Test CXX_HAS_WARNING-Wno-undefined-var-template - Failed -- Performing Test CXX_HAS_WARNING-Woverloaded-virtual -- Performing Test CXX_HAS_WARNING-Woverloaded-virtual - Failed -- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel -- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel - Failed -- Performing Test C_HAS_WARNING-mtune_native -- Performing Test C_HAS_WARNING-mtune_native - Failed -- Performing Test C_HAS_WARNING-march_corei7 -- Performing Test C_HAS_WARNING-march_corei7 - Failed -- Performing Test CXX_HAS_WARNING-mtune_native -- Performing Test CXX_HAS_WARNING-mtune_native - Failed -- Performing Test CXX_HAS_WARNING-march_corei7 -- Performing Test CXX_HAS_WARNING-march_corei7 - Failed -- Performing Test have_gold -- Performing Test have_gold - Success -- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG -- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG - Failed CMake Error at CMake/ITKModuleRemote.cmake:12 (message): Failed to clone repository: 'https://github.com/InsightSoftwareConsortium/ITKGenericLabelInterpolator.git' Call Stack (most recent call first): CMake/ITKModuleRemote.cmake:134 (_git_clone) CMake/ITKModuleRemote.cmake:233 (_fetch_with_git) Modules/Remote/GenericLabelInterpolator.remote.cmake:44 (itk_fetch_module) Modules/Remote/CMakeLists.txt:10 (include)

-- Configuring incomplete, errors occurred! See also "/tmp/RtmpwCkRmm/R.INSTALL56b126a21ca0/ITKR/src/itkb/CMakeFiles/CMakeOutput.log". See also "/tmp/RtmpwCkRmm/R.INSTALL56b126a21ca0/ITKR/src/itkb/CMakeFiles/CMakeError.log". ** libs g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I'/home/wei/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-NlA7dw/r-base-4.1.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c dummy.cpp -o dummy.o cd itkb && make -j 2 && make install && rm -rf ../itks \ && rm -rf CMakeFiles/ && rm -rf Modules/ && rm -rf CMakeTmp/ \ rm -f Makefile rm -rf Utilities/Doxygen

stnava commented 2 years ago

try latest version v0.6.0.0.1