Hi everyone!
I’m building a scientific data visualizer for 3D/2D data.
After testing different tools I choose Panda3D and I’m liking it a lot! (I think I’ll ask you guys a lot of questions … brace yourselves )
I did a few tests in python and now I’m going to test the C++ way, 'cause I’ll do the core of my program with C++.
Right now I’m trying the Egg library and I stumbled upon a linking error I don’t know how to deal with…
My setup:
Ubuntu 16.04
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
I compiled Panda3D from source, my last git commit (master) is:
commit eb367430f7d4aad7d01e5b9212534b066e5a21f6
Date: Thu Oct 8 11:17:36 2020 -0400
My issue is: when I add anything from Egg library, at linking time I have this error:
.rodata._ZTI14EggNamedObject[_ZTI14EggNamedObject]+0x18): -1 error: undefined reference to `typeinfo for EggObject’
Here attached there is a minimal example to test.
test.zip (1.8 KB)
The same code in python works (obviously)
Can someone help me?