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

MinGW compilation error for Dymola model using ExternalMedia #112

Open
neo20240815 opened this issue Aug 15, 2024 · 0 comments
Open

MinGW compilation error for Dymola model using ExternalMedia #112

neo20240815 opened this issue Aug 15, 2024 · 0 comments

Comments

@neo20240815
Copy link

Hi there,

I'm using MinGW 8.1 in Dymola2024x (windows11) but failed to compile my model using ExternalMedia 4.0.0,
with the following errors.

Compiling and linking the model (GCC).
C:\Users\nnuuurr1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x1404d): undefined reference to TwoPhaseMedium_setState_ph_C_impl_err' C:\Users\nnuuurr~1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x140ac): undefined reference to TwoPhaseMedium_setState_pT_C_impl_err'
C:\Users\nnuuurr
1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x1462e): undefined reference to TwoPhaseMedium_getCriticalMolarVolume_C_impl' C:\Users\nnuuurr~1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x1468c): undefined reference to TwoPhaseMedium_getCriticalMolarVolume_C_impl'
C:\Users\nnuuurr1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x146ee): undefined reference to TwoPhaseMedium_getCriticalPressure_C_impl' C:\Users\nnuuurr~1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x14750): undefined reference to TwoPhaseMedium_getCriticalPressure_C_impl'
C:\Users\nnuuurr
1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x147b2): undefined reference to TwoPhaseMedium_getCriticalTemperature_C_impl' C:\Users\nnuuurr~1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x14814): undefined reference to TwoPhaseMedium_getCriticalTemperature_C_impl'
C:\Users\nnuuurr1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x14872): undefined reference to TwoPhaseMedium_getMolarMass_C_impl' C:\Users\nnuuurr~1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x148d0): undefined reference to TwoPhaseMedium_getMolarMass_C_impl'
C:\Users\nnuuurr
1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x14c68): undefined reference to TwoPhaseMedium_setState_pT_C_impl' C:\Users\nnuuurr~1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x14d9c): undefined reference to TwoPhaseMedium_setState_pT_C_impl'
C:\Users\nnuuurr~1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x17e5c): undefined reference to TwoPhaseMedium_setSat_p_C_impl' C:\Users\nnuuurr~1\AppData\Local\Temp\cclUKu7g.o:dsmodel.c:(.text+0x17f5e): undefined reference to TwoPhaseMedium_setSat_p_C_impl'
collect2.exe: error: ld returned 1 exit status
Error generating dymosim.exe.

Thanks,
neo20240815

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

1 participant