On Tue, Sep 20, 2016 at 2:05 PM, Dario Marvin <
dario.m...@gmail.com> wrote:
> Alright, I was able to the issue by using the CMakeList.txt as in the
> Poisson demo.
> Changing that file allows the compilation of the problem.
>
> I would like to point out what could be an issue: during the creation of the
> makefile I get the warning
> -- The imported target "vtkRenderingPythonTkWidgets" references the file
> "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/cmake/vtk-6.2/VTKTargets.cmake"
> but not all the files it references.
> Now, the library libvtkRenderingPythonTkWidgets.so is part of the package
> python-vtk,
It is also in the python-vtk6 package, although with a slightly different name:
$ dpkg -L python-vtk6 | grep libvtkRenderingPythonTkWidgets
/usr/lib/python2.7/dist-packages/vtk/
libvtkRenderingPythonTkWidgets.x86_64-linux-gnu.so
This is a bug in the VTK 6 package in Ubuntu, but the warning is
nothing to worry about.
> but if I try to install it, it will remove all the fenics
> associated files:
>
> $ sudo apt-get install python-vtk
> [...]
> The following packages will be removed:
> dolfin-bin dolfin-doc fenics libdolfin-dev libmshr-dev libvtk6-dev
> mshr-demos paraview-python python-dolfin python-mshr python-vtk6
> The following new packages will be installed:
> python-vtk
This is because the FEniCS Ubuntu packages depends on VTK 6 and
installing python-vtk will remove python-vtk6, which in turn will
remove fenics.
Johannes
> --
> You received this message because you are subscribed to the Google Groups
> "fenics-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
fenics-suppor...@googlegroups.com.
> To post to this group, send email to
fenics-...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/fenics-support/911c88a3-640e-433a-b076-dc99fd4df564%40googlegroups.com.
>
> For more options, visit
https://groups.google.com/d/optout.