|
From: Sam U. <sa...@ho...> - 2010-07-01 22:43:44
|
>>What did you set them to? set OPENVRML_DATADIR=C:\openvrml-0.18.6\data set OPENVRML_NODE_PATH=C:\openvrml-0.18.6\src\node set OPENVRML_SCRIPT_PATH=C:\openvrml-0.18.6\models\rotation_toy.wrl It still crashes on me. >> 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. I would like to use OpenVRML to open and parse VRML files. Does this require a node/scripting engine? If I ever distribute my own stand-alone VRML reader/viewer based on the OpenVRML libraries, can I do this minimalistically, without any node/scripting setup? I was hoping openvrml.dll was the only file I needed to distribute. > Date: Thu, 1 Jul 2010 17:13:14 -0400 > From: br...@en... > To: ope...@li... > Subject: Re: [openvrml-develop] parse-vrml97.exe crash > > [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...> > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > openvrml-develop mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openvrml-develop _________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 |