Build Octaviz on OS X
By Adakite at Wed, Feb 13 2008 4:02am |
Hi all,
I am looking for building Octaviz on my MB. As you can see at : http://octaviz.sourceforge.net/index.php?page=build
ccmake is needed to build Octaviz. Does anyone have already install Octaviz on his Mac?
NB. Octaviz is an Octave Grapher visualization using Vtk/OpenGL (very usefull for 3D display);
Thanks,
A.



I think they meant cmake
VTK uses CMake, though the Octaviz page mentions "ccmake" all over the place. I think this is a typo. CMake is available from Macports.
I've built a couple of Macports (http://www.macports.org) that use cmake to do their building. You might have good luck using Macports to build / install Octaviz. I see there isn't a Macport for Octaviz, but it should be dead simple to make one.
Check out http://guide.macports.org on how to build a Portfile. Your resulting Portfile should look something like this:
PortSystem 1.0
name octaviz
version 0.4.5
revision 0
categories graphics
maintainers your_email@example.com
description A short description
long_description A longer description of Octaviz
homepage http://octaviz.sourceforge.net
platforms darwin
fetch.type cvs
cvs.url :pserver:anonymous@octaviz.cvs.sourceforge.net:/cvsroot/octaviz
cvs.module octaviz
worksrcdir octaviz
depends_build port:cmake
depends_lib port:vtk5
configure.cmd cmake
configure.pre_args
configure.args -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
Clean it up, test that it builds, then submit it via the Macports tracker :-)