我正在尝试从弹性二进制文件编译源代码。我正在使用ITK和CMAKE。我能够编译代码,但是当我导航到构建目录并运行 make install 时,我收到以下错误
make[2]: *** No rule to make target '/Users/tony/ITK_DIR/lib/libitkdouble-conversion-4.13.a', needed by 'bin/elastix'. Stop.
make[1]: *** [CMakeFiles/Makefile2:5668: Core/CMakeFiles/elastix.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
这是我的一些生成文件代码。我是新手,所以如果需要更多信息,请索取,我会提供
.PHONY : default_target
# The main recursive all target
all:
.PHONY : all
# The main recursive preinstall target
preinstall:
.PHONY : preinstall
# The main recursive clean target
clean:
.PHONY : clean
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /private/var/folders/h7/c6g9qc8j25l92b58yr_jbc2h0000gn/T/AppTranslocation/BE140EBD-E4FD-4FE0-8DAA-7526DF6251A7/d/CMake.app/Contents/bin/cmake
# The command to remove a file.
RM = /private/var/folders/h7/c6g9qc8j25l92b58yr_jbc2h0000gn/T/AppTranslocation/BE140EBD-E4FD-4FE0-8DAA-7526DF6251A7/d/CMake.app/Contents/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/tony/Downloads/InsightToolkit-4.13.2
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/tony/ITK_DIR
您是否将 ITK 配置为使用系统双重转换?如果是这样,您可能对此 PR 中的修补程序感兴趣。如果没有,您可以在 Elastix 论坛上询问您的问题。