During my recent build of FG, I missed building the now required osgdb-png.dll, 
and took some time finding the reason for the 'crash' ...
 
This patch to ModelRegistry.cxx gives more information to the console about the 
problem, should this, or any other plugin not be available at runtime -
 
http://geoffair.net/fg/fgfs-042.htm#patch
 
Of course the only true 'fix' was to build and install the osgdb-png.dll (and 
osgdb-zip.dll), but this small defensive piece of coding would have led me to 
the error quicker ... and seems worthwhile in principal - OSG goes to the 
trouble of giving a good error message - why not use it?
 
Regards,
 
Geoff.
 
EOF - Devel-09.doc
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to