On 30 Oct 2008, at 16:58, James Turner wrote:

No, it's fine, I should switch to svn OSG in any case.

Having some weirdness here - using OSG in Debug mode, it appends a 'd' suffix to the library and plugin names. Fair enough, except at runtime, it's failing to load any of the plugins, since it's looking for names without the 'd'. Eg 'osgdb_qt.so' where it needs to use 'osgdb_qtd.so'.

To me it seems as if the code in osgDB/Registry.cpp, createLibraryNameForExtension should be dealing with this - i.e all the various OSG_DEBUG_POSTFIX_WITH_QUOTES logic. But it doesn't seem to be working quite right, very odd.

Obviously I've cleaned OSG and all of FG/SG, and rebuilt but the result seems consistent. I could have missed something, but are other people using a trick to make this work?

Also, the attached patch is a wise bit of safety anyway: makes Simgear give a helpful message, instead of crashing, if no suitable image loader can be found.

Attachment: simgear-image-load-failed.patch
Description: Binary data




Regards,
James

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to