logo

windows X3DToolKit Windows installation

home_link
download_link
examples_link
manual_link
reference_link
Because of a poor implementation of templates for older microsoft compilers, only .NET 2003 VC++ compiler is fully supported. A Visual Studio 6 version is also provided but some of the template features have been removed. See the portability page for details.

You can also directly download X3DViewer, an binary executable that uses the library and lets you display x3d models.

Download

Installation

Compilation from the sources

This step is optional since the library is already compiled in the lib directory. Open the X3DTK.vcproj solution and build the project. Default compilation options should be ok.

dll installation

Copy the lib/X3DTK101.dll, lib/X3DTK101_D.dll(debug), contrib/xerces-c_2_3_0-win32/bin/xerces-c_2_3_0.dll and contrib/xerces-c_2_3_0-win32/bin/xerces-c_2_3_0_D.dll(debug) files to the windows System32 directory.

Building the examples and applications

Open the project file of the example. If the example doesn't use Qt then default options should be sufficient. Otherwise you need to install QGLViewer to run the example. In that case, you must indicate in which directory is has been installed:
  • Change the Additional Include Directories in the C/C++ -> General properties of the project and add the directory of the include files of libQGLViewer.
  • Change the Additional Library Directories in the Linker -> General properties of the project and add the directory of the .lib file of libQGLViewer.
  • Change the libQGLViewer version in the Linker -> Input properties of the project by changing the name of the .lib file of libQGLViewer (ex: QGLViewer138.lib).
  • Change the Qt version in the Linker -> Input properties of the project by changing the name of qt-mt.lib (ex: qt-mt323.lib).