|
From: Braden M. <br...@en...> - 2010-04-28 17:19:14
|
On Wed, 2010-04-28 at 11:18 +0200, Christian Lang wrote:
> Hi
>
> i had trouble building openvrml 0.18.5 in Visual C++.
> First i got the newest releases from boost, freetype and the other
> required stuff and tried to run openvrml but it resulted in an error:
>
> The application failed to initialize property (0xE06D7363)
>
> The guide says this is because OPENVRML_DATADIR is not set, but it was set.
Perhaps it was not set correctly.
> (By the way there were some minor issues, too:
> - in some project folders (like
> openvrml-0.18.5\ide-projects\Windows\VisualC9_0\OpenVRML\x3d-cad-geometry)
> the *.vcproj file had an incorrect or missing file ending
> - in openvrml-0.18.5\src\node\x3d-cad-geometry (and only there) was the
> register_node_metatypes.cpp missing, which i got by a google query
Whoops. :-(
I suspect these two bullet points are the same problem. (If they
aren't, could you be more specific about what's going on with the first
one?)
I will commit a fix to ensure that this file gets distributed in 0.18.6.
> - when building freetype 2.3.12 the libraries have an "MT" included in
> the name, which had to be removed for openvrml to find them)
You built the wrong configuration of FreeType. Did you build the one
specified on the BuildOpenvrmlOnWindows wiki page? (It's possible that
page is incorrect; but I can't check it at the moment.)
> So i tried openvrml 0.17.12 which worked well.
> But i encountered another problem: to load a 3MB wrl-file it takes quite
> a long time. Is this normal or is it caused by some wrong configuration
> or something?
> (other vrml-viewers load this file on my machine way faster so i hope
> there is a fault on my side)
OpenVRML's parser does some fairly rigorous checking of the input, so
it's probably going to be consistently slower than some other parsers.
However, I am hopeful that the forthcoming rewrite of the parser using
Spirit2 will improve the situation.
> Later i gave 0.18.5 a second try. This time i used the versions of
> boost, freetype and so on that were mentioned in the guide.
> And i set the OPENVRML_NODE_PATH and OPENVRML_SCRIPT_PATH this time, too.
>
> I don't remember if i did something in addition to that but in the end
> it worked to the point that the error mentioned above did not occure any
> more.
> But another one did :-)
>
> Now it says
> "
> Assertion failed!
>
> Program: ...
> File: c:\....\component.cpp
> Line: 264
>
> Expression: class_
> "
>
> Here the output:
[snip]
Hm... Any chance you could use the debugger to check the value of the
"urn" variable right before this happens? (In the
openvrml::local::component::add_scope_entry function.)
I suspect what has happened here is that OpenVRML has read a component
descriptor corresponding to a module that, for some reason, wasn't
loaded. What do you have OPENVRML_NODE_PATH set to?
This could be related to the problem you had with
x3d-cad-geometry/register_node_metatypes.cpp. Can you try the svn
sources?
http://svn.openvrml.org/svnroot/openvrml/branches/0.18
--
Braden McDaniel <br...@en...>
|