On May 15, 2010, at 8:35 AM, Ulrich Hertlein wrote:
> 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...
Nope, same versions - verified with OSG_NOTIFY_LEVEL, ldd and locate.
Cheers,
Uli
--
Ulrich von Zadow
Software Engineer (Dipl. Inf.)
Exhibit Development
Tel +49 (0)30 / 2000 577 12
Fax +49 (0)30 / 2000 577 20
Skype: uzadow
Archimedes Solutions GmbH
Saarbrücker Str. 24 10405 Berlin
www.archimedes-solutions.com
Geschäftsführung:
W. Rien | J. Schmidtsiefen | S. Spenling
Amtsgericht: Berlin Charlottenburg
HR Nr.: 107563 B
UST-ID Nr.: DE-253.771.793
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org