[ITK-dev] VCL install issues

Lowekamp, Bradley (NIH/NLM/LHC) [C] blowekamp at mail.nih.gov
Wed Jul 20 16:25:09 EDT 2016


Hello,

I can getting the following missing header error when using and installed ITK from master:

[ 37%] Generating src/sitkComplexToPhaseImageFilter.cxx
In file included from /tmp/SimpleITK/Code/Explicit/src/sitkExplicitITKImageRegion.cxx:19:
In file included from /tmp/SimpleITK/Code/Explicit/include/sitkExplicitITKImageRegion.h:21:
In file included from /usr/local/include/ITK-4.11/itkImageRegion.h:31:
In file included from /usr/local/include/ITK-4.11/itkRegion.h:31:
In file included from /usr/local/include/ITK-4.11/itkObject.h:31:
In file included from /usr/local/include/ITK-4.11/itkLightObject.h:25:
In file included from /usr/local/include/ITK-4.11/itkAtomicInt.h:38:
In file included from /usr/local/include/ITK-4.11/itkConceptChecking.h:32:
In file included from /usr/local/include/ITK-4.11/itkNumericTraits.h:51:
In file included from /usr/local/include/ITK-4.11/vcl_limits.h:5:
/usr/local/include/ITK-4.11/vcl_compiler.h:121:10: fatal error: 'vcl_config_manual.h' file not found
#include <vcl_config_manual.h>
         ^

Here is the DockerFile I was working with:

== DockerFile ==

FROM ubuntu:14.04

RUN \
  apt-get update && \
  apt-get -y upgrade && \
  apt-get install -y build-essential clang git curl swig python-dev

RUN \
    curl -O https://cmake.org/files/v3.6/cmake-3.6.0-Linux-x86_64.sh && \
    umask 022 && echo "y\n" | bash cmake-3.6.0-Linux-x86_64.sh --prefix=/usr/local  --exclude-subdir

WORKDIR /tmp/

RUN \
    git clone https://itk.org/ITK.git && \
    cd ITK && \
    git checkout master && \
    mkdir bld

RUN \
    cd ITK/bld && \
    CC=clang CXX=clang++ cmake \
       -DBUILD_SHARED_LIBS:BOOL=ON \
       -DUSE_COMPILER_HIDDEN_VISIBILITY:BOOL=OFF \
       -DBUILD_TESTING:BOOL=OFF \
       -DModule_ITKReview:BOOL=ON \
       .. && \
    make -j $(nproc) install && \
    ldconfig



RUN \
    git clone https://itk.org/SimpleITK.git && \
    cd SimpleITK && \
    git checkout master && \
    mkdir bld

RUN \
    cd SimpleITK/bld && \
    CC=clang CXX=clang++ cmake \
      -DBUILD_SHARED_LIBS:BOOL=ON \
      -DWRAP_LUA:BOOL=OFF \
      -DWRAP_PYTHON:BOOL=ON \
      -DUSE_SYSTEM_SWIG:BOOL=ON \
      -DUSE_SYSTEM_ITK:BOOL=ON \
      -DBUILD_TESTING:BOOL=OFF \
      ../SuperBuild && \
    make -j $(nproc)

== end ==

Thanks,
Brad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20160720/5d9cbc22/attachment.html>


More information about the Insight-developers mailing list