2013-03-13 09:30:53 |
Aldo Filini |
description |
version of Panda3D: latest devel builds for dev_sdk_squeeze_amd64
operating system version: debian squeeze AMD64
I need libpandabullet for my programs, but linking with it (and after investigating with libpandaode too) gives errors on execution.
These can be reproduced with this C++ sample program (picked up from Panda3D Manual):
#include "pandaFramework.h"
#include "pandaSystem.h"
int main(int argc, char *argv[])
{
//open a new window framework
PandaFramework framework;
framework.open_framework(argc, argv);
//set the window title to My Panda3D Window
framework.set_window_title("My Panda3D Window");
//open the window
WindowFramework *window = framework.open_window();
//here is room for your own code
//do the main loop, equal to run() in python
framework.main_loop();
//close the window framework
framework.close_framework();
return (0);
}
By building it with libpandabullet and/or libpandaode results in these errors:
...
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
:display:glxdisplay(warning): No suitable FBConfig contexts available; using XVisual only.
depth_bits=24 color_bits=24 alpha_bits=8 stencil_bits=8 back_buffers=1 force_hardware=1
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Segmentation fault
... |
version of Panda3D: latest devel builds for dev_sdk_squeeze_amd64
operating system version: debian squeeze AMD64
I need libpandabullet for my programs, but linking with it (and after investigating with libpandaode too) gives errors on execution.
These can be reproduced with this C++ sample program (picked up from Panda3D Manual):
#include "pandaFramework.h"
#include "pandaSystem.h"
int main(int argc, char *argv[])
{
//open a new window framework
PandaFramework framework;
framework.open_framework(argc, argv);
//set the window title to My Panda3D Window
framework.set_window_title("My Panda3D Window");
//open the window
WindowFramework *window = framework.open_window();
//here is room for your own code
//do the main loop, equal to run() in python
framework.main_loop();
//close the window framework
framework.close_framework();
return (0);
}
By building it with libpandabullet and/or libpandaode results in these errors:
...
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
:display:glxdisplay(warning): No suitable FBConfig contexts available; using XVisual only.
depth_bits=24 color_bits=24 alpha_bits=8 stencil_bits=8 back_buffers=1 force_hardware=1
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Assertion failed: node->_prev->_next == node && node->_next->_prev == node at line 103 of panda/src/pipeline/pipelineCyclerLinks.I
Segmentation fault
...
PS: commands used for building:
g++ -c manual_example.cpp -o manual_example.o -fPIC -O2 -I/usr/include/python2.6 -I /usr/include/panda3d
g++ manual_example.o -o manual_example -fPIC -L/usr/lib/panda3d -lp3framework -lpanda -lpandafx -lpandaexpress -lp3dtoolconfig -lp3dtool -lp3pystub -lp3direct -lpanda -lpandabullet -lpandaode |
|