R2017b Visual Studio 2017 can't link model files when compiling simulink
Mostrar comentarios más antiguos
I have Visual Studio 2017 and R2017b, mex and slrtgetCC both recognise the tool set, mex happily complies simple .c files.
When I build the model however it crashes out
NMAKE : fatal error U1052: file 'model.mk' not found
Followed by
Validation error(s):
### Validating other build tools ...
Unable to locate build tool "Microsoft Visual C Compiler": cl
Unable to locate build tool "Microsoft Visual C Linker": link
Unable to locate build tool "Microsoft Visual C++ Compiler": cl
Unable to locate build tool "Microsoft Visual C++ Linker": link
This is especially weird since through a development command window I can call
nmake -f model.mk all
which happily compiles to a .exe
Which is what is in the .bat file that causes the original nmake error.
1 comentario
Michael Krastev
el 14 de Nov. de 2017
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Simulink Compiler en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!