Thanks for your answer, I will try with the Inventor plugin. But it will only load VRML 1.0 file, no ?

Simon

On 5/10/06, Robert Osfield < [EMAIL PROTECTED]> wrote:
Hi Simon,

On 5/10/06, Simon ESNEAULT < [EMAIL PROTECTED]> wrote:
Hum you are certainly right, i'm a newbie programmer ...I'm using this line :

- osgDB::Registry::instance()->addFileExtensionAlias("wrl","wrl");

Is it correct


Looks ok.

 

? For information, it's a VRJuggler program, using openSceneGraph, and still with VC7.1
But anyway, i'm still getting an error, when I use this line on the osgshell

- osgviewer -l osgdb_wrl.dll D:\Simulateur\EvorData\imports\yoda.wrl

And it's still a "Debug Assertion Failed!". So hasn't anyone built this plugin yet with VC7.1 ?
To built the library, I use these options ;

/Od /I "C:\TGS\OIV4.0\include" /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /D "_WINDLL" /D "_MBCS" /FD /EHsc /RTC1 /MDd /GS /GR /YX" stdafx.h" /Fp".\Debug/wrl.pch" /Fo".\Debug/" /Fd".\Debug/" /W3 /nologo /c /Zi /vmg

And these for the linker :

/OUT:"../../../bin/osgdb_wrl.dll" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\TGS\OIV4.0\lib" /LIBPATH:"../../../lib" /LIBPATH:"../../../../OpenThreads/lib/win32" /LIBPATH:"../../../../Producer/lib" /LIBPATH:"../../../../3rdParty/lib" /DLL /NODEFAULTLIB:"LIBC" /DEBUG /PDB:".\../../../lib/osgdb_wrld.pdb" /IMPLIB:".\../../../lib/osgdb_wrld.lib" /MACHINE:X86 OpenThreadsWin32d.lib  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib osgDB.lib osg.lib OpenThreadsWin32.lib

And it give me no error. Is this plugin buggy ? I really need to be able to load WRL 2.0 file ...

I haven't ever tried the plugin so I can't comment.  You could try the standard Inventor plugin rather than the one on the wiki.

Robert.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to