Clear Filters
Clear Filters

NMAKE : fatal error U1073: don't know how to make 'D:\Program' Stop. The make command returned an error of 2 'An_error_​occurred_d​uring_the_​call_to_ma​ke' 不是内部或外部命令,也不是可运行的程序 或批处理文件。

36 views (last 30 days)
NMAKE : fatal error U1073: don't know how to make 'D:\Program' Stop. The make command returned an error of 2 'An_error_occurred_during_the_call_to_make' 不是内部或外部命令,也不是可运行的程序 或批处理文件。E:\M\FE04_MATSIM_matsim_rtw>call "D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCVARSALL.BAT" amd64 Setting environment for using Microsoft Visual Studio 2010 x64 tools. 环境变量 PATH 没有定义
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved.

Answers (1)

Abhilash Puranik
Abhilash Puranik on 28 Mar 2018
I was receiving a similar error. Following steps worked for me.
1) Type 'mex -setup' without quotes in Matlab command window 2) Try selecting different 'C' compilers from the menu and build the project, I was using Microsoft Visual C++ 2017 (C) before because of which it was not working, then I changed it to Microsoft Visual C++ 2015 (C) and it worked.
Good luck.

Categories

Find more on MATLAB 快速入门 in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!