无法在Windows上运行nmake,在主体上给出了链接

问题描述

我正在尝试建立CURA的来源; (链接https://github.com/Ultimaker/Cura/wiki/Running-Cura-from-Source-on-Windows)。我按照说明进行操作,但出现以下错误

PS D:\work\cura-build-environment-master\build> nmake

Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : Fatal error U1064: MAKEFILE not found and no target specified
Stop.

解决方法

您可能未按照所有的说明操作,例如 Microsoft Visual Studio 2019 部分中的this one

  1. 按照以下步骤构建文件(使用cmake或nmake)时, 请确保使用“ VS2015 x64本机工具命令提示符” 。这样可以确保使用Visual Studio 2015生成工具。