The collected works of Jean_ni

Hi

I'm trying to compile a small program in C++ unsig the Invertor libraries. As a matter of fact, it's the "Hello Cone" program in Chapter 2 of "The Inventor mentor" book.

Here is what I get

limableu 1% CC -o hello hello.cpp
ld32: ERROR 33 : Unresolved text symbol "SoXt::init(const char*,const char*)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoSeparator::SoSeparator(void)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoPerspectiveCamera::SoPerspectiveCamera(void)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoMaterial::SoMaterial(void)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoBase::ref(void) const" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoGroup::addChild(SoNode*)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoDirectionalLight::SoDirectionalLight(void)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoMFColor::setValue(float,float,float)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoCone::SoCone(void)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoXtRenderArea::SoXtRenderArea(_WidgetRec*,const char*,int,int,int)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoCamera::viewAll(SoNode*,const SbViewportRegion&,float)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoXtComponent::setTitle(const char*)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoXt::show(_WidgetRec*)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "SoXt::mainLoop(void)" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.

Suggestions?

I'm using MIPS Pro 7.4, the Inventor libraries were installed from the CD and seemed to work. I'm working on a O2 workstation running on IRIX.

Thanks
:lol: It worked with CC -o hello hello.cpp -lInventorXt!!! :lol:

Thanks a lot :lol: :D :D