在漫长的构建过程中(从IncrediBuild开始),我收到如下错误消息:
MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt.
Run Code Online (Sandbox Code Playgroud)
在哪里可以找到此文件MSBuild_*.failure.txt?
编辑
根据评论,我在目录中%TEMP%搜索msbuild,但是找不到带有模式的任何文件MSBuild_*.failure.txt。
我几天前更新了Jenkins.但在目前的Jenkins版本中,存在一些恼人的错误.是否有可能降级Jenkins的版本,如果可能的话,怎么可能这样做呢?
我有一个项目,它使用 C++17 标准在 VS2017 中构建。我最近向该项目添加了一些依赖项。现在,我收到这样的错误:...\include\xmltooling\util\parserpool.h(193): error C2039: 'auto_ptr': is not a member of 'std'.
现在,据我所知,有两种可能性:
更改该外部库的代码。
使用 C++17 构建部分项目,使用旧 C++ 标准(如 C++14)构建其他部分。或者换句话说:在 C++14 中构建一个 C++ 文件,在 C++17 中构建所有其他文件。
现在,出现了一些问题(对不起,如果有些问题似乎很愚蠢)。
第 2 点可行吗?VS 解决方案是使用CMake. 当第 2 点可行时,如何使用CMake.
如果第 2 点不可行,除了第 1 点之外还有其他方法可以解决这个问题吗?
我有这个Makefile:
TMP_DIR := tmp
RUN_OR_NOT := $(shell date '+%y%m%d%H%M')
all: version
version:
ifeq ($(shell test -d ${TMP_DIR} && echo -n "yes";),yes)
$(shell echo ${TMP_DIR} already exists ...)
else
$(shell mkdir -p ${TMP_DIR})
endif
Run Code Online (Sandbox Code Playgroud)
我想首先检查目录是否tmp存在,如果它不存在,只创建它.这有效,但有一个奇怪的错误:
ifeq (yes,yes)
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
Makefile:7: die Regel für Ziel „version“ scheiterte
make: *** [version] Fehler 2
Run Code Online (Sandbox Code Playgroud)
为什么会出现这个奇怪的/bin/sh: 1: Syntax error: word unexpected (expecting ")")错误?以及如何解决这个问题?