I would like to use Panda3D with C++ under Ubuntu Linux 64 Bit.
I tried with Code::Blocks and with Netbeans and was able to build but when I try to execute the following error appears:
symbol lookup error: /usr/lib64/panda3d/libpandaexpress.so.1.8: undefined symbol: PyExc_ValueError
Sure. Would be nice if I could attach screenshots of the settings in netbeans, but I didn’t find an easy way to do that in this forum. But I hope the output of the building process contains the necessary information…
“/usr/bin/make” -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: se ingresa al directorio «»
“/usr/bin/make” -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/
make[2]: se ingresa al directorio «»
mkdir -p build/Debug/GNU-Linux-x86
rm -f build/Debug/GNU-Linux-x86/main.o.d g++ -c -g -s -I/usr/include/panda3d -I/usr/include/python2.7 -MMD -MP -MF build/Debug/GNU-Linux-x86/main.o.d -o build/Debug/GNU-Linux-x86/main.o main.cpp mkdir -p dist/Debug/GNU-Linux-x86 g++ -lp3framework -lpanda -lpandafx -lpandaexpress -lp3dtoolconfig -lp3dtool -lp3direct -o dist/Debug/GNU-Linux-x86/ build/Debug/GNU-Linux-x86/main.o -L/usr/lib64/panda3d
[i]make[2]: se sale del directorio «»
make[1]: se sale del directorio «»
Can you confirm (using nm) that libp3pystub contains the symbol in question, and can you confirm (using ldd) that the executable you are running is indeed linked to libp3pystub?
Huh. For some linkers, the order in which you specify the libraries matters, so try changing the order of -lp3pystub to be last in the command.
I doubt that’s what’s going on here, though. Are you sure you made a clean build? Many IDEs will actually not rebuild your executable unless the code changed or if you specifically clean the build first.
I have also updated to Ubuntu 12.04 recently and made the mistake to remove Panda3D - with the intension to reinstall it. As I had to see, there is no official package available for Precice Pangolin at the moment. I’ll wait, maybe the solution comes with it.
I have an Acer Aspire 5755G Laptop with Nvidia Optimus (Geforce GT540M) graphic card. I also switched from ironhide to bumblebee with the upgrade.
I forgot that It happens last Ubuntu upgrade, there wasn’t package avaialbles for current SO and I had to wait, but now I do not uninstall any package and went on with normal update, nothing is break .
I can see your processor is 64 bit, so I suppose that you’re running ubuntu amd64, have you tried doing
no, but I’ll do it when I have the Panda3D libraries back. At the moment I can’t do anything. Trying to reinstall the libraries was a (desperate) act of trying to get things working.
I could try to build from sources… but I prefer to wait (at least some days)