|
From: Braden M. <br...@en...> - 2010-07-01 21:13:23
|
[Please follow-up to the mailing list.] On 7/1/10 4:39 PM, Sam Url wrote: > Hi, > > I didn't set any environmental variables yet. > But, why would that cause a crash, even if they weren't set? Because libopenvrml uses these variables to initialize some global objects. If it can't find what it needs, that initialization fails; that is, an exception gets thrown. On Windows, throwing an exception during static initialization appears to be a bit dodgy; the resulting crash gives a message that isn't ideally lucid. The message could probably be improved (with some platform specific code); but the result (a crash) will be the same. > I thought these are stand-alone executables? I'm not 100% clear on what this means to you. The provided project files build libopenvrml as a DLL. And the node implementations and scripting engines all live in plug-in DLLs. OPENVRML_NODE_PATH and OPENVRML_SCRIPT_PATH are used to find these bits. OPENVRML_DATADIR is used to find the component XML descriptor files. > Ok, I added those paths to my environment with some default values, > and parse-vrml97.exe still crashes. I also compiled parse-x3dvrml.exe, > and that crashes too. What did you set them to? -- Braden McDaniel <br...@en...> |