| Version 2 (modified by osg, 6 years ago) |
|---|
Linux plugins
OpenVRML plugin
The VRML plugin uses OpenVRML. It can only be compiled using version 0.14.3 of OpenVRML, because later versions depend on boost and had incompatible code changes.
- You may need to apply this small patch to get the library to compile with a recent version of gcc (probably anything newer than gcc 4.1.x will need it)
- Patch is applied using:
tar xvzf openvrml-0.14.3.tar.gz cd openvrml-0.14.3 zcat openvrml-gcc.patch.gz | patch -p1
- Patch is applied using:
- Configure the library as follows (change the prefix, if needed):
./configure --prefix=/opt/openvrml-0.14.3 --disable-gl-renderer --disable-lookat --disable-script-node-javascript
- Compile and install it:
make make install
- In order have the plugin compile, define an environment variable OPENVRML_DIR to point to your OpenVRML installation:
export OPENVRML_DIR=/opt/openvrml-0.14.3
- Run cmake:
cmake .
- Compile OSG as usual.
In order to test the plugin, there are some test data available here.
Attachments
- openvrml-gcc.patch.gz (0.6 kB) - added by osg 6 years ago.
