我正在尝试从Elastic二进制文件编译源代码。我正在使用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
这是我的一些makefile代码。我是新手,因此如果需要更多信息,请提出要求,我会提供
.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