[vtkusers] lesstif and vtk

Matt and Elizabeth Kay mandekay at yahoo.com
Tue Nov 19 19:42:26 EST 2002


Hi All-
I'm having trouble telling cmake where to find my
lesstif  libraries and include files. I'm trying to
compile /usr/local/VTK/Examples/GUI/Motif/Example1.cxx
and I get this:

Example1.o: In function `main':
/usr/local/VTK/Examples/GUI/Motif/Example1.cxx:71:
undefined reference to `xmPushButton WidgetClass'
/usr/local/VTK/Examples/GUI/Motif/Example1.cxx:74:
undefined reference to `_XmStrings' collect2: ld
returned 1 exit status 
make[1]: *** [Example1] Error 1
make: *** [default_target] Error 2
How do I tell cmake to look in
/usr/X11R6/LessTif/Motif2.1/include and
/usr/X11R6/LessTif/Motif2.1/lib ??

I'm using recent versions of VTK and LessTif on a
Linux workstation.

Thanks in advance!
Matt



__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com



More information about the vtkusers mailing list