what is this errol
Show older comments
Caused by:
- Microsoft (R) Program Maintenance Utility Version 14.39.33523.0 Copyright (C) Microsoft Corporation. All rights reserved. ### Compiling "TEST_cgxe.c" cl.exe /c /Zp8 /GR /w /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMX_COMPAT_64 /DMATLAB_MEXCMD_RELEASE=R2018a /DMATLAB_MEX_FILE /nologo /MD /I "D:\Program Files\MATLAB\R2024a\extern\include" /I "D:\Program Files\MATLAB\R2024a\simulink\include" /I "D:\Program Files\MATLAB\R2024a\rtw\c\src" /I "D:\downloads\simu_lik1\slprj\slprj\_cgxe\TEST\src" /I "C:\Users\ASUS\documents\MATLAB" /I "D:\downloads\simu_lik1" /I "D:\Downloads\simu_lik1\slprj\slprj\_cprj" /I "D:\Downloads\simu_lik1\slprj\slprj\_cgxe\TEST\src" /I "D:\Downloads\simu_lik1\slprj" "TEST_cgxe.c" TEST_cgxe.c ### Compiling "TEST_cgxe_registry.c" cl.exe /c /Zp8 /GR /w /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMX_COMPAT_64 /DMATLAB_MEXCMD_RELEASE=R2018a /DMATLAB_MEX_FILE /nologo /MD /I "D:\Program Files\MATLAB\R2024a\extern\include" /I "D:\Program Files\MATLAB\R2024a\simulink\include" /I "D:\Program Files\MATLAB\R2024a\rtw\c\src" /I "D:\downloads\simu_lik1\slprj\slprj\_cgxe\TEST\src" /I "C:\Users\ASUS\documents\MATLAB" /I "D:\downloads\simu_lik1" /I "D:\Downloads\simu_lik1\slprj\slprj\_cprj" /I "D:\Downloads\simu_lik1\slprj\slprj\_cgxe\TEST\src" /I "D:\Downloads\simu_lik1\slprj" "TEST_cgxe_registry.c" TEST_cgxe_registry.c ### Compiling "m_sTa6ArGkvwlqBJMSyhiANF.c" cl.exe /c /Zp8 /GR /w /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMX_COMPAT_64 /DMATLAB_MEXCMD_RELEASE=R2018a /DMATLAB_MEX_FILE /nologo /MD /I "D:\Program Files\MATLAB\R2024a\extern\include" /I "D:\Program Files\MATLAB\R2024a\simulink\include" /I "D:\Program Files\MATLAB\R2024a\rtw\c\src" /I "D:\downloads\simu_lik1\slprj\slprj\_cgxe\TEST\src" /I "C:\Users\ASUS\documents\MATLAB" /I "D:\downloads\simu_lik1" /I "D:\Downloads\simu_lik1\slprj\slprj\_cprj" /I "D:\Downloads\simu_lik1\slprj\slprj\_cgxe\TEST\src" /I "D:\Downloads\simu_lik1\slprj" "m_sTa6ArGkvwlqBJMSyhiANF.c" m_sTa6ArGkvwlqBJMSyhiANF.c NMAKE : fatal error U1073: don't know how to make 'D:\Program' Stop.
Answers (1)
Prasanna
on 7 May 2024
0 votes
Hi Vanmanh,
The error message you're encountering during the build process for a simulation target MEX-file in MATLAB indicates a problem with handling paths that contain spaces. The error NMAKE : fatal error U1073: don't know how to make 'D:\Program' suggests that the build tool (nmake, used by Visual Studio's compiler) is interpreting D:\Program Files\MATLAB\R2024a\... as D:\Program, thus getting confused because the path is split at the space character.
Check the following links for more information on how to resolve the issue:
- https://www.mathworks.com/matlabcentral/answers/95399-why-is-the-build-process-failing-with-error-code-nmake-fatal-error-u1073-don-t-know-how-to-make
- https://www.mathworks.com/matlabcentral/answers/387692-nmake-fatal-error-u1073-don-t-know-how-to-make-d-program-stop-the-make-command-returned-an
Hope this helps.
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!