-
Notifications
You must be signed in to change notification settings - Fork 37
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
Issue building FMUs with Dymola #67
Comments
Here is the log contents in case the attachment didn't work properly
|
This looks like you are not linking to the correct runtime. Please note that that the runtime and the libraries have to match. Maybe there is a problem with static and dynamic linking? |
Could it be that static libs are the problem here ? Still I find it weird that simulation is working. |
I have been investigating a little more about this, using the approach I wrote above (source code FMU => CMAKE project => inspection in Visual Studio). |
Yes - that is exactly what I was referring to. Here is a version based on bf1b255 that is linked to the static MSVC runtime libraries: https://ipudk-my.sharepoint.com/:u:/g/personal/jowr_ipu_dk/EdV872uIHUhDoDjJtY6yJDsBCTbazFQKO8MqslJXsFY4iQ?e=lxhEyz |
Hi - that is good news. Here are a few more questions:
|
|
Did you restart Dymola after you deleted the files in the root folder? |
|
Since in the latest release we switched to dynamic libraries, I wonder if this problem is fixed as well. |
I can translate and run models from release 3.3.1 with my current Dymola (2023) setup and VS2019 without any issue nor warning.
However, when I try to export them as FMUs, I have the following log.
buildlog.txt
Somehow, the linker is not really happy :/
The text was updated successfully, but these errors were encountered: