Menu

octaviz osx

Help
maddanio
2006-10-29
2013-04-22
  • maddanio

    maddanio - 2006-10-29

    Hello, trying to build octaviz on OSX.

    I successfully built VTK-CVS. Now trying octaviz, I get errors some of which I could solve, but one that stumps me:

    first I had to take make by the hand and build liboctaviz.dylib before anything else which make would not do by itself.

    later though vtkMath.cc has a problem because there are calls to Tcl functions (trying to output an error message through Tcl) but of course Tcl is nowhere in sight. I did not build VTK with Tcl (which was the default setting btw.). Should I? I want octave bindings, not Tcl, right? I tried taking the call out, but make (for some reason starting over on a point way before the error happened) happily regenerates the file, so I would have to patch the generator :/...err...no.

    Hmm, ok, I went through the wrapper, it seems to have a lot of Tcl stuff there. Is octaviz a wrapper around the Tcl wrapper of VTK? If so: would you mind mentioning this in the README or having a config test for this? Building VTK is rather heavy, so it would be nice to know all the options needed beforehand.

    Also: is it futile to try and use a non-x VTK? Because the nice thing about VTK is also that it knows how to build native on OSX (even letting me choose between Carbon and Cocoa)?

    Cheers

    ps: vtk is at 5.1, i.e. cvs at the time of writing, and octave at 2.99, latest release at the moment

     
    • Remi Megret

      Remi Megret - 2006-11-01

      Hi,
      You can have a look at patch https://sourceforge.net/tracker/?func=detail&aid=1588308&group_id=100501&atid=627604

      I got the same TCL problem under cygwin/windows, and removing the Tcl_SetResult line in vtkWrapOctave.c fixed it. No need for TCL (or at least I didnt notice since I didn't compile VTK with TCL and sticked with the basic config).

      For the performances question, I found VTK under cygwin/XWin_GL to be quite slow. The same may be true under OSX ??. It is useful for simple 3D visualization directly from octave with low needs on interaction speed though.

      Cheers
      Remi

       

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.