Where is the Location of CMakeLists File When I Build Simulink Model With CMake?
12 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(1 个)
Mark McBroom
2024-3-4
Did you configure the SImulink model for RTI Connext or eProsima? If RTI Connext DDS, do you have MS Visual Studio 2019 installed?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!