From: Jonathan S. <jjs...@vc...> - 2008-04-30 15:02:46
|
Lukas Diduch wrote: > Hi, > > This might also be interesting in regard to thread: [Octaviz-help] Re: > Octaviz installation on Mac but first need VTK, and possibly also Cmake. > > Was able to build octaviz 0.4.7 on OSX/Leopard with octave 3.0.0 and VTK > 5.0.4. Octaviz apparently needs some of the VTK X11 functions, so it > won't compile with Carbon/Cocoa support enabled in VTK. > > X11 support for VTK involves hacking around the building problems due to > the opengl/ld bug in leopard and some missing files in VTKs cmake. Same > for octaviz: cmake defs do not generate proper makefiles, esp. LDFLAGS > and CXXFLAGS. Those have to be set with the correct paths to X11, GL > by hand before running ccmake for octaviz the first time. > > VTK test works fine, octave works fine. Just the same segfault problem > when i launch vtk_* scripts from within octave. > > cheers > Lukas > Octaviz on Mac OS X has been a challenge, but I have had it working for some time now on Tiger (10.4). If you are using Fink, I recommend that you install vtk by the available info file in unstable. Then you can use the info file for octaviz that I put on Fink's sourceforge tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=1922228&group_id=17203&atid=414256 If you are not using Fink, you can look at the info files to see what cmake options are used. Perhaps this will be helpful. If the problems are specific to Leopard, I cannot be of much help. Regards, Jonathan |