Hi Uli,

On 15/05/10 3:43 , Ulrich von Zadow wrote:
> I've narrowed the issue down further. This works:
> 
> int main()
> {
>     osgDB::readNodeFile(...)
>     optimizer.Optimize(...)
>     osgDB::writeNodeFile(...)   
> }
> 
> The same code executed in a plugin loaded using dlopen() doesn't work (i.e. 
> has the
> missing VertexIndices and NormalIndices). On a mac, both variants work. Is it 
> possible
> that there is some sort of static initialization issue?

Do you maybe have multiple versions installed on the Linux box?  Maybe the 
plugin is
picking up an older version than what you console app or osgconv is using?

Running them with OSG_NOTIFY_LEVEL=DEBUG will show what plugins they're using.  
You may
want to redirect the output to a file, it can be lengthy...

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to