| 1 |
This example is set up for Coin. It won't work for the other |
| 2 |
Open Inventor implementations without serious Makefile changes. |
| 3 |
|
| 4 |
If the build fails, open the Makefile to see if there are any |
| 5 |
suggestions wrt build problems in there... |
| 6 |
|
| 7 |
UNIX: |
| 8 |
|
| 9 |
Build the shared objects (with GNU make) |
| 10 |
|
| 11 |
$ make |
| 12 |
|
| 13 |
Make sure the shared objects are in the dynamic load path |
| 14 |
|
| 15 |
$ export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH" |
| 16 |
|
| 17 |
Load "scene.iv" into an examinerviewer |
| 18 |
|
| 19 |
$ ../SoGuiExamples/components/examinerviewer scene.iv |
| 20 |
|
| 21 |
Switch viewer to interaction mode, and press keys on the keyboard |
| 22 |
to see them react in the 3D model. |
| 23 |
|
| 24 |
CYGWIN: |
| 25 |
|
| 26 |
Build the shared objects (with GNU make) |
| 27 |
|
| 28 |
$ make |
| 29 |
|
| 30 |
Make sure the shared objects are in the dynamic load path |
| 31 |
|
| 32 |
[don't think this step is necessary for "." though] |
| 33 |
$ export PATH=".:$PATH" |
| 34 |
|
| 35 |
Load "scene.iv" into an examinerviewer |
| 36 |
|
| 37 |
$ ../SoGuiExamples/components/examinerviewer scene.iv |
| 38 |
|
| 39 |
Switch viewer to interaction mode, and press keys on the keyboard |
| 40 |
to see them react in the 3D model. |
| 41 |
|