Menu

#2 Doesn't build with vtk 5

open
nobody
None
5
2007-02-10
2007-02-10
No

This is Ubuntu 5.10 Edgy with packages libvtk5 and libvtk5-dev installed.

Discussion

  • Stevan White

    Stevan White - 2007-02-10

    ouput of 'cmake .'

     
  • Thomas Weber

    Thomas Weber - 2007-02-25

    Logged In: YES
    user_id=1240556
    Originator: NO

    Which version of Octaviz and Octave?

    Thomas

     
  • Stevan White

    Stevan White - 2007-02-27

    Logged In: YES
    user_id=577739
    Originator: YES

    Hi

    The versions would be the ones I downloaded from your development site the day I submitted the report.

     
  • Nobody/Anonymous

    Logged In: NO

    Unless I'm seriously mistaken, the Octaviz website doesn't host Octave :)

    So again, which version of Octave (and while we are at it, which version of VTK)?

    Thomas

     
  • Stevan White

    Stevan White - 2007-02-28

    Logged In: YES
    user_id=577739
    Originator: YES

    Pardon me. I have since changed laptops, and installed a new system. I'm not sure quite what was installed on the one I was using when I reported the problem.

    I'm having a similar problem now with Ubuntu Edgy 6.10 regarding VTK5.

    Octave and VTK are from the distro packages.
    (Note in your Linux build instructions, you might want to instruct newbies that they need the headers/dev packages of octave and VTK)

    GNU Octave, version 2.9.6 (i486-pc-linux-gnu)
    libvtk5-dev version 5.0.1-1
    octaviz-0.4.6.tar.gz
    ccmake 2.4-3

    I think some of the problems I reported have gone away, maybe I did a newbie and didn't have the Octave include files. But the bit starting with
    INCLUDE Could not find include file: /vtkCommonKit.cmake
    still appears. Sure enough, there is no such file in my filesystem.

    It looks like vtkCommonKit.cmake was in the Debian libvtk4 development package, but not in libvtk5. My directory /usr/lib/vtk/ contains just
    UseVTK.cmake VTKConfig.cmake

     
  • Thomas Weber

    Thomas Weber - 2007-02-28

    Logged In: YES
    user_id=1240556
    Originator: NO

    Your VTK packages are too old. You need at least Debian version (5.0.1-4), see
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388736

    That said, you should have vtkCommonKit.cmake in /usr/lib/vtk-5.0/ (but it contains invalid entries).

    Thomas

     
  • Thomas Weber

    Thomas Weber - 2007-02-28

    Logged In: YES
    user_id=1240556
    Originator: NO

    Okay,

    I can now confirm this bug. I'll look at it.

    Thomas

     
  • Thomas Weber

    Thomas Weber - 2007-02-28

    Logged In: YES
    user_id=1240556
    Originator: NO

    You need to call cmake with
    -DVTK_DIR:PATH=/usr/lib/vtk
    or enther this path in the (text-based) GUI.

    Thomas

     
  • Stevan White

    Stevan White - 2007-03-01

    Logged In: YES
    user_id=577739
    Originator: YES

    You're right. I thought I did a find, and didn't find
    vtkCommonKit.cmake
    But there it is.

    Starting from a clean copy of octaviz, using your new flags, I get a little farther.

    [xi octaviz] cmake -DVTK_DIR:PATH=/usr/lib/vtk .
    -- Check for working C compiler: gcc
    -- ...
    -- Build files have been written to: /home/swhite/octaviz
    [xi octaviz] make
    Scanning dependencies of target vtkWrapOctave
    [ 0%] Building C object Wrapping/CMakeFiles/vtkWrapOctave.dir/vtkWrapOctave.o
    [ 0%] Building C object Wrapping/CMakeFiles/vtkWrapOctave.dir/vtkParse.tab.o
    Linking C executable vtkWrapOctave
    [ 0%] Built target vtkWrapOctave
    make[2]: *** No rule to make target `Common/liboctaviz.so', needed by `Common'. Stop.
    make[1]: *** [Common/CMakeFiles/Common.dir/all] Error 2
    make: *** [all] Error 2

    So. I go and get the Debian packages
    libvtk5-dev_5.0.2-4_all.deb and libvtk5_5.0.2-4_i386.deb
    and install them.

    No dice. Behaviour unchanged.

     

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.