I have the file libXt.dylib /usr/X11R6/lib/, and if I look at the file CMakeCache.txt it is pointed to it correctly (the entry in CMakeCache.txt follows):
//Path to a library.
X11_Xt_LIB:FILEPATH=/usr/X11R6/lib/libXt.dylib
Thank you again for helping
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I am trying to install Octaviz but with some problems of compilations using ccmake.
This is the error I am getting, and couldn'd find anything similar inside the forum.
Linking C executable vtkWrapOctave
ld: library not found for -lXt
collect2: ld returned 1 exit status
make[2]: *** [Wrapping/vtkWrapOctave] Error 1
make[1]: *** [Wrapping/CMakeFiles/vtkWrapOctave.dir/all] Error 2
make: *** [all] Error 2
I am using VTK5.0 installed on a Mac OS X 10.5
Is anyone able to help?
Thank you very much in advance
All the best
Do you have the file libXt.dylib? Is the path for libXt.dylib set appropriately by ccmake? How did you install VTK (self-compile, fink, macports)?
Hi there, I've barely seen your reply;
I have the file libXt.dylib /usr/X11R6/lib/, and if I look at the file CMakeCache.txt it is pointed to it correctly (the entry in CMakeCache.txt follows):
//Path to a library.
X11_Xt_LIB:FILEPATH=/usr/X11R6/lib/libXt.dylib
Thank you again for helping
Oh, and I installed VTK by hand following the command listed below:
[CODE]
mkdir /Users/simone/myApplications/VTKBuild
cd /Users/simone/myApplications/VTKBuild
cmake /Users/simone/myApplication/VTK
make
sudo make install
[\CODE]
it all works well; however, the proble comes if I try to build it by selecting
VTK_USE_X = ON instead of OFF