Menu

Octaviz error: library not found for -lXt

Help
simone
2009-03-28
2013-04-22
  • simone

    simone - 2009-03-28

    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

     
    • Jonathan Stickel

      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)?

       
    • simone

      simone - 2009-03-30

      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

       
    • simone

      simone - 2009-03-30

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.