Marcus Lindblom wrote: > Volker Settgast wrote: >> Gerrit Voß wrote: >>>> .... >>> from: http://opensg.vrsource.org/trac/wiki/Building #After building >>> >>> If it looks like elements are missing as you run your programs, >>> especially the scene file and image loaders, this unfortunately is a >>> 'feature' of the microsoft linker. Add >>> OSG_LOAD_LIBS=OSGFileIO;OSGImageFileIO to your environment so that the >>> loader dlls are pulled. Add other libraries if other elements are >>> missing. >>> >> Ah, thank You, I missed that info. >> Hm, so is there another way of doing that? Like loading the dlls >> manually? Otherwise it will be quite difficult to distribute OpenSG >> software... > > We just run OSG::preloadSharedObject("OSGImageFileIO") right before > OSG::osgInit(). That should work everywhere. Oops. We also have a call to OSG::OBJSceneFileType::the(); right afterwards, to initalize the obj loader.
/Marcus ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
