Why I get "NMAKE : fatal error U1052"?

4 ビュー (過去 30 日間)
Pirmin Boch
Pirmin Boch 2017 年 8 月 28 日
コメント済み: Chulue Zhong 2017 年 12 月 6 日
If I build the ex_slrt_rt_osc example, I get the following error:
********************************************************************
Visual Studio 2017 Developer Command Prompt v15.0.26730.10
Copyright (c) 2017 Microsoft Corporation
********************************************************************
[vcvarsall.bat] Environment initialized for: 'x86'
Microsoft (R) Program Maintenance Utility, Version 14.11.25507.1
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
NMAKE : fatal error U1052: Datei "ex_slrt_rt_osc.mk" nicht gefunden
Stop.
What I have to do? I use Matlab R2016b (I did the bug fixes) and Visual Studio 2017 Enterprise.
Thanks for help!
  1 件のコメント
Chulue Zhong
Chulue Zhong 2017 年 12 月 6 日
This fixed the problem for me:
https://uk.mathworks.com/matlabcentral/answers/359924-nmake-fatal-error-u1052-file-slrttestmdl-mk-not-found
MATLAB needs to know where its own generated files are located.

サインインしてコメントする。

採用された回答

Ning Zhang
Ning Zhang 2017 年 9 月 5 日
Check out this page:
https://www.mathworks.com/matlabcentral/answers/335092-can-i-use-microsoft-visual-studio-2017-with-matlab

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by