You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to Modelica. I have setup ExternalMedia (CoolProp2Modelica) as the steps. But when I ran the test programs. The compiler went wrong with these messages:
msvcprt.lib(locale0_implib.obj) : error LNK2038: “_MSC_VER”No match item: value“1800”is unmatched with “1700”(ExternalMediaLib.lib(externalmedialib.obj) )
ExternalMediaLib.lib(CPState.obj) : error LNK2001: Unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits > & __cdecl std::endl(class std::basic_ostream<char,struct std::char_traits > &)" (_imp?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@z)
ExternalMediaLib.lib(FluidClass.obj) : error LNK2001: Unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits > & __cdecl std::endl(class std::basic_ostream<char,struct std::char_traits > &)" (_imp?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@z)
what should do with these? Thank you very much.
The text was updated successfully, but these errors were encountered:
Hi, this is most certainly the wrong place for your request. If you use CoolProp version 5 or 6, please refer to https://github.com/CoolProp/ExternalMedia. In case you are using CoolProp 4, you should not need to recompile the library yourself since ExternalMedia comes with built-in support for CoolProp.
Your error message tells you that you are trying to a static library that was built with an older version of Visual Studio. In particular, you are trying to link a Visual Studio 2012 library (v1700) with a code that was compiled with Visual Studio 2013 (v1800). Change your Modelica compiler to Visual Studio 2012 to solve your issue.
I am new to Modelica. I have setup ExternalMedia (CoolProp2Modelica) as the steps. But when I ran the test programs. The compiler went wrong with these messages:
msvcprt.lib(locale0_implib.obj) : error LNK2038: “_MSC_VER”No match item: value“1800”is unmatched with “1700”(ExternalMediaLib.lib(externalmedialib.obj) )
ExternalMediaLib.lib(CPState.obj) : error LNK2001: Unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits > & __cdecl std::endl(class std::basic_ostream<char,struct std::char_traits > &)" (_imp?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@z)
ExternalMediaLib.lib(FluidClass.obj) : error LNK2001: Unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits > & __cdecl std::endl(class std::basic_ostream<char,struct std::char_traits > &)" (_imp?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@z)
what should do with these? Thank you very much.
The text was updated successfully, but these errors were encountered: