From: Lukas D. <luk...@ni...> - 2008-04-30 22:58:54
|
On Wed, Apr 30, 2008 at 09:02:40AM -0600, Jonathan Stickel wrote: > 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 Thanks a lot, it now works fine on Leopard (10.5.2) ! Built with octave 3.0.0-4, vtk-py25 5.0.4-2 and octaviz 0.4.7-1. FYI: had just to tweak the Distribution: 10.4 line as well as the fink dep > 0.28 in the octaviz.info file for fink to like it. Cheers, Lukas |