dsmodel.c(77): fatal error C1083: externalmedialib.h: No such file or directory
Hello there: When I call the ExternalMedia library with Dymola and compile my model, I get an error, and the Dymola messages is as follows: `Compilation of test1 failed.
Note: There were translation warnings that might explain the problem.
Compiler message:
Compiling and linking the model (Visual C++).
dsmodel.c dsmodel.c(77): fatal error C1083: externalmedialib.h: No such file or directory
Error generating Dymosim.` This only occurs when using Dymola; compiling the model with OpenModelica does not cause this error!
@wuss1854 ExternalMedia 4.0.0 works for me in Dymola 2024x. Please provide more details to reproduce the issue:
- a test model that fails
- versions of ExternalMedia, Dymola, and operating system
- which C compiler are you using in Dymola
Thanks!
Find out you are a XJTUer, so forgive me I would like to speak Chinese 你好,我也遇到你这个问题了,你后来解决了么
Find out you are a XJTUer, so forgive me I would like to speak Chinese 你好,我也遇到你这个问题了,你后来解决了么
@Henry7528 时间有点久了记不太清当时是什么问题,后来是如何解决的,但是现在可以编译了
I just solve this issue by adding some environment variables in system variable
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0
%SystemRoot%\system32
%SystemRoot%
%SystemRoot%\System32\Wbem
\bin64