From: Braden M. <br...@en...> - 2008-04-08 15:29:45
|
On Tue, 2008-04-08 at 07:42 -0700, M. van Doeselaar wrote: > I've been trying to build the openvrml-0.17.5 library but I can't seem to > make it work. I'm not sure if this is the right place to post this, but if > not...let me know :) It is exactly the right place. > I already changed and added some things I found on the internet to get where > I am now. I started with the original solution which I downloaded from > sourceforge. > - Added the include files from boost_1_34_1 Note that you'll need to build boost as well and tell Visual Studio where to find the libraries. If you are using Visual C++ 2008 (9.0), I recommend using Boost 1.35.0. The build system in 1.34.1 doesn't know about that compiler. > - Rearranged the include files so the DirectX SDK's come last (because of a > new version of strsafe.h) I think I've heard of this one; though I haven't built with the DirectX SDK present. > - Used the png and ft2build from openscenegraph For these, I generally use the official distributions. They include usable project files. > - Switched 'public > openvrml::node_impl_util::abstract_node<Derived>::exposedfield<mfnode>' with > 'public openvrml::node_impl_util::abstract_node<Derived>::template > exposedfield<openvrml::mfnode>' (# if defined(_MSC_VER) && _MSC_VER == 1500, > not sure why, before I switched it, it gave an error) This is fixed on the trunk. (Though it looks like the fix didn't make it over to the 0.17 branch; I'll address that.) > Now I'm stuck at this error: > vrml97node.cpp(23273) : error C2440: 'initializing' : cannot convert from > 'int (__cdecl *)(const FT_Vector *const ,void *const )' to > 'FT_Outline_MoveToFunc' > 1> None of the functions with this name in scope match the target > type FreeType changed its function signatures some releases ago. Either get a fresher FreeType or set OPENVRML_FT_CONST to an empty string. It is set to "const" in the included project files. > And this error: > vrml97node.cpp(27736) : error C2885: 'child_node': not a valid > using-declaration at non-class scope For some reason, you need to qualify child_node here: "openvrml::child_node". As with the above issue, this is fixed on the trunk. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |