Git Product home page Git Product logo

Comments (9)

frabert avatar frabert commented on July 21, 2024

Hi! At the bottom of the page you linked there's an info box for instructions on how to run ReGoth on Linux in case it complains about missing .so files:

If you get complains about missing .so files when you try to run an executable, try running it as LD_LIBRARY_PATH=../lib ./REGothSomething. Also, you might get an error indicating libPhysX3_x64.so not being found. You need to go into REGoth-bs/lib/bsf/Dependencies/PhysX/lib/ and copy all .so-files to the location where libbsf.so was built, usually REGoth/build/lib.

It is a kludge, but according to GameFoundry/bsf#366 it is not fixable.

from regoth-bs.

Nutomic avatar Nutomic commented on July 21, 2024

Maybe i should have made this more explicit. I saw that note, and I am already running with the env variable (see my first log). However, I am still getting the error.

from regoth-bs.

frabert avatar frabert commented on July 21, 2024

Have you also copied the dependencies' so files to the lib directory?

from regoth-bs.

Nutomic avatar Nutomic commented on July 21, 2024

I just tried it, but its not helping. Besides, this workaround seems to be for windows only.

from regoth-bs.

frabert avatar frabert commented on July 21, 2024

Then I'm afraid we'll need to wait for someone with more experience on running REGoth on linux...

from regoth-bs.

ataulien avatar ataulien commented on July 21, 2024

After removing all physx .so files I had installed on my system I could reproduce this. I have yet to find a proper fix for this, but the workaround from the docs works for me.

From inside the build/bin/-directory, run the following:

# Copy the PhysX .so files if you haven't done that already
cp ../../lib/bsf/Dependencies/PhysX/lib/libPhysX3* .
# Fix the library path
export LD_LIBRARY_PATH=`pwd`/../lib:$LD_LIBRARY_PATH
# This also worked for me
LD_LIBRARY_PATH=../lib ./REGothWorldViewer -w WORLD ~/games/Gothic1

from regoth-bs.

Nutomic avatar Nutomic commented on July 21, 2024

Thanks, that fixed the problem! So now this only needs to be added to the documentation I guess.

from regoth-bs.

ataulien avatar ataulien commented on July 21, 2024

It kinda is the same thing as I described in the docs, but I'll make it more obvious. We should finally figure out why the RPath is wrong on the executable and copy the .so files after building automatically...

from regoth-bs.

Nutomic avatar Nutomic commented on July 21, 2024

Oh you're right, I only read the first half of that. Anyway, it would be clearer if the exact cp command was listed.

from regoth-bs.

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.