我尝试按照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
您有什么主意,怎么解决这个问题? 感谢您的帮助。
答案 0 :(得分:1)
您已使用> is.nan(apply(x,2, median, na.rm = TRUE))
[1] FALSE
生成器,因此需要调用NMake Makefiles
而不是nmake
。如果您使用的是Unix操作系统,请使用make
。