PDA

View Full Version : Can't get VRML to load - Mac OS 10.3.8


kwame
April 14th, 2005, 04:49 AM
Every executable runs, but SimpleVRML is unable to load the vrml file.

In the external Libraries & Frameworks:
both libopenvrml-gl.dylib and libopenvrml.dylib are bright red, indicating there is some problem with them.

I try to build and run and get the following:

arViewer.h:25: openvrml/browser.h: No such file or directory
arViewer.h:26: openvrml/gl/viewer.h: No such file or directory
arViewer.h:27: openvrml/bounding_volume.h: No such file or directory
arViewer.h:29: `class arVrmlViewer' has virtual functions but non-virtual destructor
arViewer.h:29: error: invalid base-class specification
arViewer.h:29: error: `viewer' is not a class or namespace
arViewer.h:29: error: `gl' is not a class or namespace
arViewer.h:29: error: `openvrml' is not a class or namespace
arViewer.h:32: error: parse error before `::' token
arViewer.h:47: error: parse error before `::' token
arViewer.h:47: error: `openvrml' was not declared in this scope
arViewer.h:52: error: parse error before `::' token
arViewer.h:58: error: conflicts with previous declaration `int arVrmlViewer::viewer'
arViewer.h:58: error: conflicts with previous declaration `int arVrmlViewer::viewer'
arViewer.h:58: error: conflicts with previous declaration `int arVrmlViewer::viewer'
arViewer.h:58: error: parse error before `::' token
arViewer.h:58: error: `viewer' declared as a `virtual' field
arViewer.h:58: ISO C++ forbids declaration of `viewer' with no type
arViewer.h:65: error: duplicate member `arVrmlViewer::viewer'
arViewer.h:65: error: parse error before `::' token
arViewer.h:65: error: declaration of `int arVrmlViewer::viewer'
arViewer.h:65: error: `viewer' declared as a `virtual' field
arViewer.h:65: ISO C++ forbids declaration of `viewer' with no type
arViewer.h:70: error: duplicate member `arVrmlViewer::viewer'
arViewer.h:70: error: parse error before `::' token
arViewer.h:70: error: declaration of `int arVrmlViewer::viewer'
arViewer.h:70: error: `viewer' declared as a `virtual' field
arViewer.h:70: ISO C++ forbids declaration of `viewer' with no type
arViewer.h:77: error: duplicate member `arVrmlViewer::viewer'
arViewer.h:77: error: parse error before `::' token
arViewer.h:77: error: declaration of `int arVrmlViewer::viewer'
arViewer.h:77: error: `viewer' declared as a `virtual' field
arViewer.h:77: ISO C++ forbids declaration of `viewer' with no type
arViewer.h:86: error: parse error before `::' token
arViewer.h:86: error: `openvrml' declared as a `virtual' field
arViewer.h:86: ISO C++ forbids declaration of `openvrml' with no type
arViewer.cpp:44: error: namespace `openvrml' undeclared
arViewer.cpp:46: error: parse error before `::' token
arViewer.cpp:50: error: invalid initializer
arViewer.cpp:50: error: `int arVrmlViewer::translation[0]' is not a static member of `class arVrmlViewer'
arViewer.cpp:50: ISO C++ forbids declaration of `translation' with no type
arViewer.cpp:51: error: invalid initializer
arViewer.cpp:51: error: `int arVrmlViewer::translation[1]' is not a static member of `class arVrmlViewer'
arViewer.cpp:51: ISO C++ forbids declaration of `translation' with no type
arViewer.cpp:52: error: invalid initializer
arViewer.cpp:52: error: `int arVrmlViewer::translation[2]' is not a static member of `class arVrmlViewer'
arViewer.cpp:52: ISO C++ forbids declaration of `translation' with no type
arViewer.cpp:54: error: invalid initializer
arViewer.cpp:54: error: `int arVrmlViewer::rotation[0]' is not a static member of `class arVrmlViewer'
arViewer.cpp:54: ISO C++ forbids declaration of `rotation' with no type
arViewer.cpp:55: error: invalid initializer
arViewer.cpp:55: error: `int arVrmlViewer::rotation[1]' is not a static member of `class arVrmlViewer'
arViewer.cpp:55: ISO C++ forbids declaration of `rotation' with no type
arViewer.cpp:56: error: invalid initializer
arViewer.cpp:56: error: `int arVrmlViewer::rotation[2]' is not a static member of `class arVrmlViewer'
arViewer.cpp:56: ISO C++ forbids declaration of `rotation' with no type
arViewer.cpp:57: error: invalid initializer
arViewer.cpp:57: error: `int arVrmlViewer::rotation[3]' is not a static member of `class arVrmlViewer'
arViewer.cpp:57: ISO C++ forbids declaration of `rotation' with no type
arViewer.cpp:59: error: invalid initializer
arViewer.cpp:59: error: `int arVrmlViewer::scale[0]' is not a static member of `class arVrmlViewer'
arViewer.cpp:59: ISO C++ forbids declaration of `scale' with no type
arViewer.cpp:60: error: invalid initializer
arViewer.cpp:60: error: `int arVrmlViewer::scale[1]' is not a static member of `class arVrmlViewer'
arViewer.cpp:60: ISO C++ forbids declaration of `scale' with no type
arViewer.cpp:61: error: invalid initializer
arViewer.cpp:61: error: `int arVrmlViewer::scale[2]' is not a static member of `class arVrmlViewer'
arViewer.cpp:61: ISO C++ forbids declaration of `scale' with no type
arViewer.cpp:62: error: parse error before `}' token
arViewer.cpp:71: error: `update' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.)
arViewer.cpp:83: unused variable `double start'
arViewer.cpp:83: error: parse error before `::' token
arViewer.cpp:83: error: `browser' undeclared (first use this function)
arViewer.cpp:107: error: `lit' undeclared (first use this function)
arViewer.cpp:114: error: `max_lights' undeclared (first use this function)
arViewer.cpp:115: error: `light_unused' undeclared (first use this function)
arViewer.cpp:115: error: `light_info_' undeclared (first use this function)
arViewer.cpp:121: error: `objects' undeclared (first use this function)
arViewer.cpp:122: error: `nested_objects' undeclared (first use this function)
arViewer.cpp:123: error: `sensitive' undeclared (first use this function)
arViewer.cpp:125: error: 'class arVrmlViewer' has no member named 'browser'
arViewer.cpp:142: error: parse error before `)' token
arViewer.cpp:142: error: `cursor_style' was not declared in this scope
arViewer.cpp:158: error: parse error before `::' token
arViewer.cpp:167: error: syntax error before `::' token
arViewer.cpp:177: error: syntax error before `::' token
arViewer.cpp:186: error: syntax error before `::' token
arViewer.cpp:199: error: syntax error before `::' token
arViewer.cpp:213: error: syntax error before `::' token

Any ideas?
Must I reinstall the whole Artoolkit?

many thanks

k

philip_lamb
April 14th, 2005, 04:51 AM
You must install OpenVRML first.
You will need to do this using FINK.
This is detailed in the readme.