Coder Social home page Coder Social logo

Comments (5)

SpaceSapien avatar SpaceSapien commented on July 24, 2024 1

I was with several hacks able to compile the libExternalMedialLib.a library file to compile. I however am getting the same errors as stated here. @slamer59 were you able to figure out how to fix these issues?

from externalmedia.

JonWel avatar JonWel commented on July 24, 2024

I don't see why it has problem with _fluidConstants.
The class CoolPropSolver should inherit it from the class BaseSolver as it is a protected variable there.

from externalmedia.

sjoelund avatar sjoelund commented on July 24, 2024

Oh, the current OM frontend fails to evaluate some constants involving redeclare or something like that and just pretends it has no value, failing during code compilation. The problem with the type of the pointer to the record probably needs to be resolved by the ExternalMedia function taking a void* and casting it afterwards (because it's not specified how to generate a unique name for the structs in Modelica); you probably want to verify that the structs both have the same fields in the same order though (or simply avoid passing records in Modelica external "C" interface since it never works the way you want it to).

from externalmedia.

jowr avatar jowr commented on July 24, 2024

Hould the void casting suggested by @sjoelund be implemented? Is this still one way to improve things?

from externalmedia.

casella avatar casella commented on July 24, 2024

All these issues should be fixed when using OMC 1.21.0 and ExternalMedia 3.3.2.

from externalmedia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.