Skip to content

Configuration fails with VTK #769

@CsatiZoltan

Description

@CsatiZoltan

Following the Wiki for the installation, I use the following command:

[t8code_build]$ ../t8code/configure CFLAGS="-Wall -O0 -g" CXXFLAGS="-Wall -O0 -g" --enable-mpi --enable-static --disable-shared CC=mpicc CXX=mpicxx --prefix=$HOME/t8code_install/ --with-vtk --with-vtk_version_number=9.1 LDFLAGS=-L$HOME/vtk_install/lib64 CPPFLAGS=-I$HOME/vtk_install/include/vtk-9.1

which gives the error below:

checking for VTK library... checking for VTK Version 9.1... configure: error: Unable to link with vtk library

Note that I had to change vtk_install/lib to vtk_install/lib64 on my Fedora Linux as VTK creates a lib64 directory (might be useful to update the Wiki).

Why does t8code not find my freshly installed VTK?

My $HOME/vtk_install/ folder has the following tree structure

|- lib64
|   |- cmake
|   |   |- vtk-9.1
|- bin
|- include
|   |- vtk-9.1
|- share

I could cd into all the paths written in the configure command above, so it is not a typo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions