Where is the Location of CMakeLists File When I Build Simulink Model With CMake?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chuguang Pan
el 2 de Mzo. de 2024
Comentada: Chuguang Pan
el 5 de Mzo. de 2024
I want to build the shapesdemo Model which is incorporated in DDS Blockset Examples. I follow the steps illustrated in accompanied file shapesdemo.mlx. In the last step when I click the Build Button, the Diagnostic Viewer shows the following errors:
Validation errors:
Caused by:
%TempDir%\tp407ac1fd_7e9f_4e0b_8f9b_c9c7165fdb52>set CMAKE_EXPORT_COMPILE_COMMANDS=TRUE
%TempDir%\tp407ac1fd_7e9f_4e0b_8f9b_c9c7165fdb52>%MatlabRoot%\bin\win64\cmake\bin\cmake.exe
-- Building for: NMake Makefiles
-- Configuring incomplete, errors occurred!
See also "%TempDir%/tp407ac1fd_7e9f_4e0b_8f9b_c9c7165fdb52/CMakeFiles/CMakeOutput.log".
I change to temporary directory %TempDir% according to error messages, but there is no tp407ac1fd_7e9f_4e0b_8f9b_c9c7165fdb52 folder.
I want to find where is the location of CMakeLists file or how to customize the execution of cmake.exe so that I can specify -G option.
0 comentarios
Respuesta aceptada
Mark McBroom
el 4 de Mzo. de 2024
On Windows only Visual Studio 2019 is supported.
Thanks.
Mark.
8 comentarios
Más respuestas (1)
Mark McBroom
el 4 de Mzo. de 2024
Did you configure the SImulink model for RTI Connext or eProsima? If RTI Connext DDS, do you have MS Visual Studio 2019 installed?
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!