From: Larry E. Ramey (ramey++at++simcreator.com)
Date: 04/11/2005 06:51:08
Performers,
I'm having some trouble writing a VRML loader. I went ahead and compiled
a pfdbwrl.so that has a pfdLoadFile_wrl( char* ) function in it. All I
did was put a simple pfText object in the world to confirm to myself
that I got the whole .so dynamic loading thing correct. Well, I didn't.
When I write the loader using the C++ API I get a segmentation fault in
pfGroup::addChild. However, this is NOT in my code. Its after I return
my pfText node from the loader. If I compile my loader using the C API
(ick!) then everything works as I expect. The problem is, I cannot
compile my loader with gcc because I am using CyberVRML to parse the
VRML scene for me and its C++. So I have to, at minimum use g++. I
really really really really hate the C API to performer. Is there anyway
I can compile my model loader using the C++ API?
(Obviously I'm doing this on linux right now, but this code will also be
compiled and run on Big Iron SGI and a Titani... er Itanic )
Larry E. Ramey
This archive was generated by hypermail 2b29 : Mon Apr 11 2005 - 06:53:20 PDT