c++ - MakeFile 未由 mingw32-make 执行
问题描述
我正在尝试运行 GitHub 存储库的代码。链接 --> https://github.com/ViDA-NYU/urban-pulse#windows-7-8-10 第一个构建通过 cmd.exe 上的 mingw32-make 命令执行 MakeFile。该执行显示“语法错误:文件意外结束”错误。 (https://drive.google.com/open?id=1CJErtpVviLCileL0xPNaHyBnkVoqJBWf)。 https://drive.google.com/open?id=1CJErtpVviLCileL0xPNaHyBnkVoqJBWf
我尝试使用 MinGW mingw32-make 和 MSYS make 执行它,但没有一个起作用。我已经从官方网站安装了 MinGW。
这是直到第 43 行的 MakeFile。文件的名称是“MakeFile”
#############################################################################
# Makefile for building: ComputePulse
# Generated by qmake (3.0) (Qt 5.6.2)
# Project: ComputePulse.pro
# Template: subdirs
# Command: C:\Users\Kanishk\Anaconda3\Library\bin\qmake.exe -o Makefile ComputePulse.pro
#############################################################################
MAKEFILE = Makefile
first: make_first
QMAKE = C:\Users\Kanishk\Anaconda3\Library\bin\qmake.exe
DEL_FILE = del
CHK_DIR_EXISTS= if not exist
MKDIR = mkdir
COPY = copy /y
COPY_FILE = copy /y
COPY_DIR = xcopy /s /q /y /i
INSTALL_FILE = copy /y
INSTALL_PROGRAM = copy /y
INSTALL_DIR = xcopy /s /q /y /i
DEL_FILE = del
SYMLINK = $(QMAKE) -install ln -f -s
DEL_DIR = rmdir
MOVE = move
SUBTARGETS = \
sub-Scalars-Scalars-pro \
sub-PulseJNI-Pulse-pro
sub-Scalars-Scalars-pro-qmake_all: FORCE
@if not exist Scalars\ mkdir Scalars\ & if not exist Scalars\ exit 1
cd Scalars\ && $(QMAKE) E:\BTP\urban-pulse-master\ComputePulse\Scalars\Scalars.pro -o Makefile
@set MAKEFLAGS=$(MAKEFLAGS)
cd Scalars\ && $(MAKE) -f Makefile qmake_all
sub-Scalars-Scalars-pro: FORCE
@if not exist Scalars\ mkdir Scalars\ & if not exist Scalars\ exit 1
@set MAKEFLAGS=$(MAKEFLAGS)
cd Scalars\ && ( if not exist Makefile $(QMAKE) E:\BTP\urban-pulse-master\ComputePulse\Scalars\Scalars.pro -o Makefile ) && $(MAKE) -f Makefile
sub-Scalars-Scalars-pro-make_first: FORCE
@if not exist Scalars\ mkdir Scalars\ & if not exist Scalars\ exit 1
@set MAKEFLAGS=$(MAKEFLAGS)
cd Scalars\ && ( if not exist Makefile $(QMAKE) E:\BTP\urban-pulse-master\ComputePulse\Scalars\Scalars.pro -o Makefile ) && $(MAKE) -f Makefile
该执行预计将创建两个名为 Scalars 和 Pulse 的可执行文件。信息也可以在上面的链接中找到。
解决方案
推荐阅读
- java - servlet [jsp] 的 Servlet.service() 抛出异常
- performance - 为什么缓存未命中不能按预期降低性能?
- r - 当用户单击复选框闪亮 R 时附加文件
- perl - 如何在 OTRS 5 中创建示例 HelloWorld 前端模块
- android-ndk - 在 com.google.common.base.Preconditions.checkNotNull(Preconditions.java:877)
- c# - 带有函数输出参数的 if-else 语句逻辑
- php - 带有缺失值/指标的刀片 foreach 循环
- javascript - 如何响应地计算相对于绝对位置图像的线宽
- python - 我们应该在哪个阶段根据数据挖掘过程进行测试列车拆分
- python - 如何使用 Pandas 数据框获取文本文件的正确列索引