From: Braden M. <br...@en...> - 2008-05-28 04:09:37
|
Quoting Zack S <zc...@ya...>: > Hello, > > I'm trying to compile OpenVRML under Windows. I used Subversion > to obtain openvrml, and I discovered that 3 files are missing: > ScriptJDK.{cpp,h}, script.cpp > > Previously I had downloaded the 0.17.5 tarball, which did not > compile as easily as the svn'd copy. The tarball does have these files. I've reviewed what's in the project files on the trunk; and I think my previous response wasn't entirely accurate. The project files do appear to have been updated as far as the scripting module changes (though no DLL has been set up for Java; only JavaScript is being compiled with the project files). ScriptJDK.{cpp,h} and script.cpp do not appear in the trunk project files; and that's as it should be. The VRML97 node sources, however, are missing from the project file. I'll go ahead and commit a change to add them to libopenvrml. This is a temporary measure; they will ultimately get moved to their own DLL. The other significant step you're probably missing is the import of the libltdl sources. You will need to install Cygwin and the autotools toolchain (autoconf, automake, libtool, make). Once you've done that, you should be able to run OpenVRML's bootstrap script from a bash shell to pull these sources into the tree. (Hm... It looks like the project files on the trunk look for libltdl in the Cygwin system directories. I'll fix that.) The next thing you're likely to hit is the fact that code in libopenvrml now uses libxml. The plan here is to use MSXML on Windows in the spots where libxml gets used on other platforms; but that part of the plan isn't implemented yet. I'll see about getting this off the ground. You can #if 0 out the code that uses libxml for now just to get things built; however, in order to get a working OpenVRML either the libxml calls will need to be replaced with MSXML ones, or a Windows build of libxml will need to be used. I have not tried the latter option, but it might not be very hard. I'm sorry about the current state of the trunk on Windows. These changes are relatively recent and I got pulled away from this task before I would wrap things up properly. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |