i tried to run the simple hello world 'HI' inventor
example.
it compiles well but it doesnt link
i have installed open inventor on my mandrake 9.1
[used the sgi-openinventor-2.1.5-9.i386.rpms
(client,devel,data)].
--------my makefile is-----------
INCS= -I/usr/include -I/usr/X11R6/include
LLDLIBS =- -L/usr/X11R6/lib -L/usr/lib -lGLU -lGL
-lX11 -lm -lInventorXt -lInventor-
HI : HI.cc
g++ $(INCS) $(LLDLIBS) -o HI HI.cc
-----------------------------------------
i receive plenty of errors like:
undefined reference to `SoXtComponent::setTitle(char
const*)'
/tmp/cc6T2f0Y.o(.text+0x296): In function `main':
please help me
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
|