Giter Site home page Giter Site logo

Comments (4)

alfbr avatar alfbr commented on May 31, 2024

Sorry, on the first point I meant, is it really necessary to get and set PWD before the binary loads.

from resinsight.

rolk avatar rolk commented on May 31, 2024

is it really necessary to get and set PWD before the binary loads.

IIRC this was done in a (IMO futile) attempt to reference the bundled Qt libraries, see #12 and #15. I haven't been following the development here lately, doesn't -DPRIVATE_INSTALL=OFF work anymore?

from resinsight.

JacobStoren avatar JacobStoren commented on May 31, 2024

After looking into the CMakeFiles of ResInsight, I found that we actually found the good way of handling the shared object load path some time ago. This means that the resinsight startup script is not neccesary for the ResInsight executable, but still is for the Octave plugins to find the QtLibraries. I'll look into it.

Getting a clear picture of the search path behaviour of octave has been a bit more difficult than I had hoped. There are several things to consider:

  1. The octave executable
  2. The location of the script file (.m) to run
  3. The paths to possible scripts called by the main script
  4. The location of the *.oct files. The octave plugins that makes octave able to communicate with ResInsight
  5. The location of the Qt libraries used by the octave plugins

from resinsight.

JacobStoren avatar JacobStoren commented on May 31, 2024

This is fixed now, we do not need a startupscript any more. And Statoils internal scripts has been removed or simplified as well.

from resinsight.

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.