Skip to content

librwengine.so: Could not resolve symbol #744

Open

Description

@robante15

Hello, I am trying to compile and run this project on an unsupported platform. I am trying it in Haiku, to achieve this I only had to make a modification in the code, and that is to stop using the glx.h library

Modifying the file rwcore/gl/gl_core_3_3.c, after that and using the options in CMake

-DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=On

I managed to compile the game, but when trying to run rwgame I get the following error code

runtime_loader: /boot/home/Desktop/openrw/build/rwengine/librwengine.so: Could not resolve symbol '_ZN16btRaycastVehicle8addWheelERK9btVector3S2_S2_ffRKNS_15btVehicleTuningEb'
resolve symbol "_ZN16btRaycastVehicle8addWheelERK9btVector3S2_S2_ffRKNS_15btVehicleTuningEb" returned: -2147478780
runtime_loader: /boot/home/Desktop/openrw/build/rwengine/librwengine.so: Troubles relocating: Symbol not found

I couldn't find any reference within the project code, so I'm posting it here, to see if anyone has an idea what could be the problem

imagen

Activity

  1. tsjost commented on Jan 23, 2022

    @tsjost
    Member

    btRaycastVehicle, addWheel, btVector3 and btVehicleTuning are all symbols of the Bullet physics library.

    It seems the build system is able to find Bullet during compilation, but the runtime fails to?

  2. robante15 commented on Jan 23, 2022

    @robante15
    Author

    When i remove the option -DBUILD_SHARED_LIBS=On
    Then it throws me an error when linking the Bullet library

    imagen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions