Dependencies

From H3D.org

Revision as of 08:46, 25 March 2015; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

Contents

H3DAPI

H3DAPI depends on other libraries. Some of them are required for H3DAPI to compile others are optional. The build system used by H3DAPI will detect which libraries are installed on the system and only enable the features that the system can support. For Windows most libraries are included. Those missing must be downloaded, compiled and installed on the system used if that feature is desired. H3DAPI also depends on the libraries that HAPI use, see below for more information.

Required Libraries

Without these H3DAPI will not build.

  • GLEW - Extended OpenGL functions.
  • OpenGL - Installed on all systems. Used to render graphics.
  • Pthreads - Included with Windows distribution, most probably installed on other systems.
  • Freeglut - Could also use GLUT but Freeglut is a better choice. Must be compiled with -fexceptions as a compiler flag to allow c++ exceptions.

Optional Libraries

Without these some features of H3DAPI will be disabled and some of the distributed examples will not work.

  • Xerces - For parsing X3D-files.
  • FTGL - For rendering fonts in OpenGL.
  • OpenAL - For sound in H3DAPI.
  • libcurl - Used for handling urls.
  • libaudiofile - For reading sound files.
  • libvorbis - To read more sound files.
  • libogg - Ogg vorbis sound file support.
  • Python - For python scripting support.
  • wxWidgets - Needed for H3DViewer.
  • FreeImage - Used to read images.
  • FreeType - Used by text nodes.
  • 3dxware - Used to communication with 3dxware devices. Used by SpaceWareSensorNode.
  • Cg - Shading language for NVIDIA.

HAPI

HAPI depends on other libraries. Some of them are required for HAPI to compile others are optional. The build system used by HAPI will detect which libraries are installed on the system and only enable the features that the system can support. For Windows most libraries are included. Those missing must be downloaded, compiled and installed on the system used if that feature is desired. Note that not all haptics libraries does exists for all operating systems.

Required Libraries

Without these HAPI will not build.

  • Pthreads - Included with Windows distribution, most probably installed on other systems.

Optional Libraries

Without these some features of HAPI will be disabled and some of the distributed examples will not work.

  • wxWidgets - Needed for the example HAPIDemo distributed with HAPI.
  • OpenGL - Installed on all systems. When using OpenGL for graphics rendering this feature should be on in HAPI to make programming easier. Needed for the example FeedbackBufferCollectorExample distributed with HAPI.
  • Freeglut - Could also use GLUT but Freeglut is a better choice. Must be compiled with -fexceptions as a compiler flag to allow c++ exceptions. Used by the example FeedbackBufferCollectorExample distributed with HAPI.
  • OpenHaptics - For support of devices from SensAble. Obtained through SensAble. OpenHaptics is not open source.
  • DHD-API - For support of devices from ForceDimension. Obtained through ForceDimension.
  • HapticAPI - For support of HapticMaster from Moog FCS Robotics. Distributed with the Windows distribution. For other systems contact Moog FCS Robotics. Note that this version is for the old haptic master API. Newer versions of the API are not supported out of the box in H3DAPI.
  • CHAI3D - Extra haptic rendering feature.
Personal tools
go to