Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during FMU build on export with CMake from Windows with target grtfmi.tlc #461

Open
famura opened this issue Nov 6, 2023 · 1 comment

Comments

@famura
Copy link

famura commented Nov 6, 2023

Hi there, I want to export a very basic Simulink model as a Co-Simulation FMU (v2) from Windows for Linux.
To achieve this, I was following your tutorial.

I am using Matlab 2020b, the VS 2019 compiler (also tried 2015), x64 architecture, the FMIkit 3.1, the CMake that comes from grtfmi_install_cmake, a fixed-step solver, and no particular optimization for the compilation.

Unfortunately, the building process always crashes with

The call to grtfmi_make_rtw_hook, during the after_make_hook generated the following error:
	Failed to run CMake generator

What am I doing wrong? The model checker only yields a warning about the integrator blocks not being well-suited for production code. But I can not imagine this being the cause.

It might be related with issue #287, except that I don't want to use MinGW

@t-sommer
Copy link
Contributor

Can you share steps to reproduce the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants