From: Lukas D. <luk...@ni...> - 2008-05-01 14:30:52
|
On Thu, May 01, 2008 at 07:36:11AM -0600, Jonathan Stickel wrote: > Lukas Diduch wrote: >> 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. >> > > Glad to hear! It is nice to know that the info works on someone else's > computer, and Leopard too. I will add 10.5 to the Distribution and change > the fink dependency to >0.28. > > Did you need to use the DYLD_FALLBACK_LIBRARY_PATH environmental variable > to make it work? > > Thanks, > Jonathan Works with both: DYLD_LIBRARY_PATH and the fallback path. I guess you only can get rid of this by linking the library statically. Regards, Lukas |