modelica-3rdparty / ExternalMedia

The ExternalMedia library provides a framework for interfacing external codes computing fluid properties to Modelica.Media-compatible component models.
53 stars 36 forks source link

dsmodel.c(77): fatal error C1083: externalmedialib.h: No such file or directory #110

Open wuss1854 opened 1 month ago

wuss1854 commented 1 month ago

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!

casella commented 1 month ago

@wuss1854 ExternalMedia 4.0.0 works for me in Dymola 2024x. Please provide more details to reproduce the issue:

Thanks!