From: <rte...@ya...> - 2008-07-31 15:05:27
|
Hello all, I tried the "How to compile OpenVRML under Windows Vista or XP" but it did not work for me. There were a couple things that I was unsure about along the way that I took note of: >> 6. Download and install Freetype2 2.3.6 from here: http://sourceforge.net/project/showfiles.php?group_id=3157 There's a solution file in the builds/win32/visualc subdirectory that you can create the .lib file with. Once that's done, move it to your morelibs directory. << where is the morelibs directory? I did the earlier part of point 6., but I did not know where to move the .lib file generated. >> 9. Add the include directory for libpng to the VC++ include path list. This is just the lpng directory itself. Add the libpng's library directory to VC++'s library path list since we will use this later when compiling OpenVRML. It is this: lpng1229/projects/visualc71/Win32_LIB_Debug/libpng13d.lib Build libpng << This worked, kind of. I had to Build libpng *before* i got the win32_LIB_Debug folder and file being created. (I thought that made sense by the way) correct me if I'm wrong. << 12. You will need to install SDL. You have two options: To download precompiled DLLs plus include files, or to build it yourself. For precompiled go here: http://www.libsdl.org/download-1.2.php (I found that the precompiled SDL 1.2.13 works.) The included DLLs that will have to be installed in the binary directory of OpenVRML or in c:\windows\system32. >> I used the procompiled DLLs (only one DLL file by the by the way SDL.dll ver 1.2.13.0) I tried in the c:\windows\system32 folder alone. I tried in the binary directory of OpenVRML. (simultaneously with the ..\system32 copy of the file) I don't have the directx sdk, do I really need to download this even for the precompiled files? (Ok i'll download it anyway, but do I really need it?) >> 13. Add SDL's header and library directories to the VC++'s path lists. << I did this but I believe it's causing a linking error during my build. Have I extracted the source files correctly? Here is the path: D:\openvrml-0.17.6\openvrml-0.17.6\ide-projects\Windows\VisualC9_0\OpenVRML\.. Should I shorten the path by removing an "openvrml-0.17.6" ie copy out the stuff to one directory higher. On my next build I'll remove the "-0.17.6" by renaming/copying out I had to use the d: drive because during compilation the process used up about 500mb of hdd space. (is this normal by the way? what's happening to cause this?) >> 18. Build the solution. The only executable with be sdl-viewer.exe. << Could not complete this due to the following errors: 1.) Compiling... sdl_viewer.cpp d:\openvrml-0.17.6\openvrml-0.17.6\examples\sdl_viewer.cpp(29) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory 2.) LINK : fatal error LNK1181: cannot open input file 'zlibd.lib' an openvrml build log error Why is it looking for "zlibd.lib", I thought it was "zlib.lib" 3.) LINK : fatal error LNK1181: cannot open input file '..\..\lib\openvrmld.lib' An openvrml-gl build log error of course I can post the entire log files if anyone is interested some system specs: OS Name Microsoft Windows XP Professional Version 5.1.2600 Service Pack 2 Build 2600 System Type X86-based PC Processor x86 Family 15 Model 95 Stepping 2 AuthenticAMD ~2009 Mhz Windows Directory C:\WINDOWS System Directory C:\WINDOWS\system32 Total Physical Memory 1,024.00 MB Available Physical Memory 537.21 MB Total Virtual Memory 2.00 GB Available Virtual Memory 1.96 GB Page File Space 2.26 GB Page File C:\pagefile.sys Here's hoping I can get some help with this, thanks. tees |