A little update: I forgot to mention I'm on a WinXP platform...
Adding the full set of libs as a system variable din't help. I still get "unknown file format". I'm using the teapot.wrl included in the svn trunk. OSG_LOAD_LIBs="OSGBase_d;OSGCluster_d;OSGContribBackgroundLoader_d;OSGContribCSM_d;OSGContribGUI_d;OSGDrawable_d;OSGFileIO_d;OSGGroup_d;OSGImageFileIO_d;OSGState_d;OSGSystem_d;OSGText_d;OSGUtil_d;OSGWindowWIN32_d;OSGWindow_d" Kind regards, Christoph Christoph Schäfer schrieb: > Hi Gerrit, > > probably the .dll is not loading then... I build the current OSG2 svn > head and tried to load a .wrl with the following code: > > snip > > if(argc > 1){ > scene = Node::create(); > GroupRefPtr g = Group::create(); > scene->setCore(g); > for(UInt16 i = 1; i < argc; ++i) > scene->addChild(SceneFileHandler::the()->read(argv[i])); > > } > > snip > > All I get is "Unknown file format" in the console window. How can I > ensure the .dlls are properly loaed with your mention methods? The > directory with the .dlls is included in the PATH variable btw. > > Thanks for you fast feedback and kind regards, > Christoph > > > Gerrit Voss schrieb: > >> Hi, >> >> On Thu, 2008-08-07 at 16:33 +0200, Christoph Schäfer wrote: >> >> >>> Hi, >>> >>> is there any howto for using the VRML Loader in OSG2? From what I have >>> read on the lists there is no default VRML Loader in OSG2, but an >>> experimental loader (from Gerrit) which can be used? >>> >>> >> no we switched back to a better version of the original loader, which >> is the default for OSG2. So the old experimental one of mine is dead. >> The one for OSG2 should be available through the scene file handler, >> only on Windows one has to make sure the OSGFileIO dll and >> OSGImageFileIO dlls are pulled (either through OSG_LOAD_LIBS or >> preloadSharedObject). >> >> What kind of howto are you interested in ?? >> >> kind regards, >> gerrit >> >> >> >> ------------------------------------------------------------------------- >> 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=/ >> _______________________________________________ >> Opensg-users mailing list >> Opensg-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/opensg-users >> >> > > > ------------------------------------------------------------------------- > 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=/ > _______________________________________________ > Opensg-users mailing list > Opensg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/opensg-users > ------------------------------------------------------------------------- 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=/ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users