我正在尝试运行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的可执行文件。上面的链接也提供了信息。