← Back to team overview

fenics team mailing list archive

Re: install vtk from Fenics tarball

 

On Wed, Oct 24, 2012 at 7:29 PM, Shiyuan <gshy2014@xxxxxxxxx> wrote:
> Hi all,
>
>     I downloaded the fenics source from
> http://www.fenicsproject.org/pub/software/fenics/fenics-source-1.0.0-osx10.7.tar.gz.
> I installed each component from the tar balls separately. When I installed
> vtk, I did cmake -DCMAKE_INSTALL_PREFIX=\prefix-dir, make, make install. I
> don't see any errors during the installation. However, after make install,
> the vtk python module(vtk/__init__.py) is not in the \prefix-dir\lib. Any
> extra step do I need to do in order to generate the vtk python module.
> Thanks.

To build the VTK Python modules, you must turn on VTK_WRAP_PYTHON in
CMake. However, I don't recommend this way of installing FEniCS and
its dependencies. Have you tried the binary package? If you want to
build everything from source, the easiest way is probably to use
Dorsal.

Johannes


References