When using with a shared library I get undefined symbol! #317
Unanswered
nonunknown
asked this question in
Q&A
Replies: 1 comment
-
that
https://stackoverflow.com/a/307427 -> "One possible reason is because you are declaring a virtual function without defining it." I would double check that every single virtual function is either defined somewhere (header or some .cpp) or pure virtual |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use this library with godot, for that I build a shared library and link with react physics's static library, but I get this error:
undefined symbol: _ZTIN14reactphysics3d14CollisionShapeE
I tried to find this symbol in the static library using:
nm -s ZTIN14reactphysics3d14CollisionShapeE libreactphysics3d.a
and it is in the static library:

By reading in the internet, I found out maybe its a version mismatch between shared library and static library, my dinamic one is C++ 17 and -fPIC while seems the react phy is c++11
any tough what I can do?
Beta Was this translation helpful? Give feedback.
All reactions