vtk libraries

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

vtk libraries

Dr01TSPC
I installed 4.13 on Ubuntu 18.04.

VTK is not found when running relevant demos/examples: VTK was not
found during installation of 4.13 (per my reading of CMakeCache.txt).

VTK libraries are installed:

apt list --installed | grep vtk

libvtk6.3/bionic,now 6.3.0+dfsg1-11build1 amd64 [installed,automatic]
libvtk6.3-qt/bionic,now 6.3.0+dfsg1-11build1 amd64 [installed,automatic]
python-vtk6/bionic,now 6.3.0+dfsg1-11build1 amd64 [installed,automatic]
______

(Among the dozens of files that include vtk in their names.)

How do I get CGAL to use an installed version of VTK? Or how do I install
a version of VTK that will work with 4.13?

I hope the solution will not interfere with my use of paraview (5.4.1 64
bit),
which is why I want to have CGAL generate VTK files.

Thanks,
Tim




--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: vtk libraries

Marc Glisse
On Sat, 8 Dec 2018, Dr01TSPC wrote:

> I installed 4.13 on Ubuntu 18.04.
>
> VTK is not found when running relevant demos/examples: VTK was not
> found during installation of 4.13 (per my reading of CMakeCache.txt).
>
> VTK libraries are installed:
>
> apt list --installed | grep vtk
>
> libvtk6.3/bionic,now 6.3.0+dfsg1-11build1 amd64 [installed,automatic]
> libvtk6.3-qt/bionic,now 6.3.0+dfsg1-11build1 amd64 [installed,automatic]
> python-vtk6/bionic,now 6.3.0+dfsg1-11build1 amd64 [installed,automatic]

For development, you need packages with a name that ends in -dev, you seem
to be missing them.

--
Marc Glisse

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: vtk libraries

Dr01TSPC
Marc:

To get a more complete set of vtk libraries, I installed a set of vtk7
files:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apt list --installed | grep vtk7

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

libvtk7-dev/bionic,now 7.1.1+dfsg1-2 amd64 [installed]
libvtk7-java/bionic,now 7.1.1+dfsg1-2 amd64 [installed,automatic]
libvtk7-jni/bionic,now 7.1.1+dfsg1-2 amd64 [installed,automatic]
libvtk7-qt-dev/bionic,now 7.1.1+dfsg1-2 amd64 [installed]
libvtk7.1/bionic,now 7.1.1+dfsg1-2 amd64 [installed,automatic]
libvtk7.1-qt/bionic,now 7.1.1+dfsg1-2 amd64 [installed,automatic]
python3-vtk7/bionic,now 7.1.1+dfsg1-2 amd64 [installed,automatic]
tcl-vtk7/bionic,now 7.1.1+dfsg1-2 amd64 [installed,automatic]
vtk7/bionic,now 7.1.1+dfsg1-2 amd64 [installed]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

But there are issues with VTK, as noted in the output to the initial 4.13
cmake (sudo cmake .):

.
.
.
-- 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-7.1/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtk" references the file
   "/usr/bin/vtk"
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-7.1/VTKTargets.cmake"
but not all the files it references.

-- VTK found

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note that I was able to:
cmake, make, make install CGAL 4.13
cmake, make in Mesh_3
execute mesh_polyhedral_domain (elephant.off).

What, if anything, can I do to make CGAL happy with my VTK files?

Thanks,
Tim

 



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss