Hi Mark,

On 16 March 2012 10:56, Mark Green <[email protected]> wrote:
> Hi Robert,
>
> According to my employers OSG had never been installed on that particular 
> machine before installing 2.8.3. However, the program was originally written 
> for 1.2.0 on another computer and it and its Makefile have been directly 
> copied to the new machine (where I would have to update the code to account 
> for for example the missing osgProducer).

Porting from osgProducer::Viewer to osgViewer::Viewer shouldn't be too
difficult, it all depends upon how much code your application used
Producer directly.

> How could I control if their recollection of events is correct or if there 
> are any 1.2.0 parts on that machine?

With OSG-2.x onwards we started using CMake and the scripts put
version numbers of libs and the plugins directories, normally this
should prevent mixing of libs.

> The stacktrace after execution was:
>
>
>> #0 0x00000001 in ?? ()
>> #1 0xb649378c in OSGReaderWriter::readNode () from 
>> /usr/local/lib/osgPlugins-2.8.3/osgdb_osg.so
>> #2 0xb7c88a3c in osgDB::Registry::ReadNodeFunctor::doRead () from 
>> /usr/local/lib/libosgDB.so.65
>> #3 0xb7c7e3a2 in osgDB::Registry::read () from /usr/local/lib/libosgDB.so.65
>> #4 0xb7c80527 in osgDB::Registry::readImplementation () from 
>> /usr/local/lib/libosgDB.so.65
>> #5 0xb7c84a92 in osgDB::Registry::readNodeImplementation () from 
>> /usr/local/lib/libosgDB.so.65
>> #6 0xb7c5fb99 in osgDB::readNodeFile () from /usr/local/lib/libosgDB.so.65
>> #7 0x0804aded in osgDB::readNodeFile (filename=@0xbf9b7298) at 
>> /usr/local/include/osgDB/ReadFile:106
>> #8 0x0804ac29 in main () at main.cc:77

What you are doing with the OSG code is very simply and wouldn't be
expected to crash, so there is something amiss with you libs or
plugins.  I can't say what this might be from the stack trace.

Personally I'd download the source code to OpenSceneGraph-3.0.1 and
build and install it yourself.  Then just rebuild and run your
application against this, this way you can make sure that everything
is built and running correctly against each other.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to