[vtkusers] Building VTK on Mac OS X without using framework
Martin Costabel
costabel at wanadoo.fr
Wed Feb 1 18:10:48 EST 2006
Theodore Sternberg wrote:
> I'd like to build VTK without using superuser privileges. That is, I'd
> like to build VTK against Tcl, Tk and Python that I've built and installed
> as an ordinary user -- no "configure -framework" and "make
> frameworkinstall".
>
> Has anyone ever done such an installation, successfully? I'm having a lot
> of trouble. For starters, ccmake generates a CMakeCache.txt that has some
> of the Tcl-related paths going to the Tcl I've built and others going to
> the system's Tcl down in /usr. Ditto for Python.
The Fink package for vtk uses Fink's own tcltk and python packages, so
this can be done. This uses cmake-2.0.5, however. With more recent
versions of cmake I have had problems, too, because it knows too much
about Mac OSX for its own good. I was not immediately able to tame it to
my liking, so I stayed with the older version.
The tcltk related parts of the cmake command line in the Fink package are
-DCMAKE_X_LIBS:STRING="-lSM;-lICE;-lX11;-lXext" \
-DVTK_WRAP_TCL:BOOL=ON \
-DTCL_INCLUDE_PATH:PATH=%p/include \
-DTCL_LIBRARY:FILEPATH=%p/lib/libtcl.dylib \
-DTK_INCLUDE_PATH:PATH=%p/include \
-DTK_INTERNAL_PATH:PATH=%p/include/vtk/tkInternals/tk84OSX \
Here "%p" is the base directory of the Fink installation.
--
Martin
More information about the vtkusers
mailing list