-
Notifications
You must be signed in to change notification settings - Fork 36
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
Compiling ExternalMedia for OMC now #9
Comments
Hi, I never tested to use it with OMC. In term of things that changed, as I focussed on the C++ code and I don't think I introduce much changes that could brake the possibility to use OMC. @jowr will probably have a more enlighten view on this issue. |
Could you eventually test to import the Externalmedia Library into OMC just to share your experience? Many Thanks |
Hello, Here is my step:
I change a little this script to:
And experienced this problem for Main dependencies and related to CoolProp::REFOPROP:
Do you have an idea ? I think I should deactivate something because libExternalMediaLib.a seems already build ? **Version Info ** :
with:
I will try with a 32bits version as suggested. Regards |
I fail to compile ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical
There is some like warning warning: passing argument 3 of 'TwoPhaseMedium_setState_pT_C_impl' from incompatible pointer type [-Wincompatible-pointer-types] |
Hi @slamer59 , I can't try myself for now, but looking at your log, it seems it has some problem linking to REFPROP. I do not think it has anything to do with the use of OMC, but rather a drawback of the current way to import Coolprop. The script you are running download the last development version of CoolProp, whereas it would make more sense to point to the last release, and make some debugging of the Linux script. So I see 3 issues to solve:
|
The basics work with OMC - many rough edges though. We have to continue working on it, but the information in this issue is outdated now. |
@JonWel, @jowr, I have some requests by people who need to run the library right away on OMC, but are running into trouble with the released 3.2.1. I also verified myself that it doesn't work, possibly because something was broken in the OMC code generation since when I compiled for 3.2.1 in 2015, as I get gcc complaining about undefined symbols in the C code when trying to run some examples in the library.
One option is to try to fix 3.2.1, but I wonder if it would make more sense to compile what we have now on v.3.3.0-dev. Was the library tested and deployable with OMC when you stopped developing coolprop/ExternalMedia in 2016? What do you suggest?
Thanks!
The text was updated successfully, but these errors were encountered: