'make && make install'中的错误:makefile:37:***缺少分隔符。停止

我尝试按照GitHub上的步骤执行“ SelfTarget”的安装步骤: https://github.com/felicityallen/SelfTarget

打字 make && make install 我收到错误消息

makefile:37: ***missing separator. Stop.

Makefile代码为

# CMAKE generated file: DO NOT EDIT!
# Generated by "nmake Makefiles" Generator,CMake Version 3.13

# Default target executed when no arguments are given to make.
default_target: all

.PHONY : default_target

# Allow only one "make -f Makefile2" at a time,but pass parallelism.
.NOTPARALLEL:


#=============================================================================
# Special targets provided by cmake.

# Disable implicit rules so canonical targets will work.
.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.

!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
SHELL = cmd.exe

# The CMake executable.
CMAKE_COMMAND = C:\...\cmake.exe

[…]

即第37行是

!ELSE

您有什么主意,怎么解决这个问题? 感谢您的帮助。

qhdyhj36 回答:'make && make install'中的错误:makefile:37:***缺少分隔符。停止

您已使用> is.nan(apply(x,2,median,na.rm = TRUE)) [1] FALSE 生成器,因此需要调用NMake Makefiles而不是nmake。如果您使用的是Unix操作系统,请使用make

本文链接:https://www.f2er.com/3167422.html

大家都在问