Skip to content

Could not fine load file ITKModuleExternal #16

@TheChymera

Description

@TheChymera

As per the instructions provided here, I am trying to build this package after installing ITK.

With the following cmake command:

cmake -C /var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/itk-generic_label_interpolator-5.0.1_build/gentoo_common_config.cmake
    -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DITK_DIR=/usr/include/ITK-5.0/ -DCMAKE_BUILD_TYPE=Gentoo
    -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/itk-generic_label_interpolator-5.0.1_build/gentoo_toolchain.cmake
    /var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/ITKGenericLabelInterpolator-187ab99b7d42718c99e5017f0acd3900d7469bd1

and with ITK providing the following files, I get the following build error:

>>> Emerging (1 of 1) sci-libs/itk-generic_label_interpolator-5.0.1::chymeric
 * ITKGenericLabelInterpolator-187ab99b7d42718c99e5017f0acd3900d7469bd1.zip SHA256 SHA512 WHIRLPOOL size ;-) ...              [ ok ]
>>> Unpacking source...
>>> Unpacking ITKGenericLabelInterpolator-187ab99b7d42718c99e5017f0acd3900d7469bd1.zip to /var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work
>>> Source unpacked in /var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work
>>> Preparing source in /var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/ITKGenericLabelInterpolator-187ab99b7d42718c99e5017f0acd3900d7469bd1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/ITKGenericLabelInterpolator-187ab99b7d42718c99e5017f0acd3900d7469bd1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/itk-generic_label_interpolator-5.0.1_build"
cmake -C /var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/itk-generic_label_interpolator-5.0.1_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DITK_DIR=/usr/include/ITK-5.0/ -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/itk-generic_label_interpolator-5.0.1_build/gentoo_toolchain.cmake  /var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/ITKGenericLabelInterpolator-187ab99b7d42718c99e5017f0acd3900d7469bd1
loading initial cache file /var/tmp/portage/sci-libs/itk-generic_label_interpolator-5.0.1/work/itk-generic_label_interpolator-5.0.1_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:7 (include):
  include could not find load file:

    ITKModuleExternal


-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe
C++             -march=native -O2 -pipe
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!

Can you help me out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions