<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear All<br>
<br>
I'm having problems binding the vtk library 5.8 (or 5.10) with a c++ code in ubuntu 12.04. I previously linked the 5.8 version manually using "-s /usr/lib/libvtkFiltering.so.5.8" when I compiled it. Unfortunatelly, I wipped out my Desktop.  And this is not
 working anymore. Also, when I download the 5.8 version and installed it, I got:<br>
<br>
<font color="0000FF"><u>[  5%] Building C object Utilities/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5F.c.o<br>
/home/e/Downloads/VTK/Utilities/vtkhdf5/src/H5F.c: In function ‘H5F_build_actual_name’:<br>
/home/e/Downloads/VTK/Utilities/vtkhdf5/src/H5F.c:2223:12: error: ‘S_IFLNK’ undeclared (first use in this function)<br>
/home/e/Downloads/VTK/Utilities/vtkhdf5/src/H5F.c:2223:12: note: each undeclared identifier is reported only once for each function it appears in<br>
/home/e/Downloads/VTK/Utilities/vtkhdf5/src/H5F.c:2223:38: error: ‘S_IFMT’ undeclared (first use in this function)<br>
/home/e/Downloads/VTK/Utilities/vtkhdf5/src/H5F.c:2228:27: error: ‘PATH_MAX’ undeclared (first use in this function)<br>
make[2]: *** [Utilities/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5F.c.o] Error 1<br>
make[1]: *** [Utilities/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/all] Error 2<br>
make: *** [all] Error 2</u></font><br>
<br>
So, I installed the ubuntu vtk5-8 package: <br>
<br>
libvtk-java, libvtk5-dev, libvtk5-qt4-dev, libvtk5.8, libvtk5.8-qt4, python-vtk, tcl-vtk, vtk-doc, vtk-examples.<br>
<br>
But, still doesn't work. <br>
<br>
Then, I installed the vtk5-10 version, and everything went well but I still have this binding error:<br>
<br>
<font color="0000FF"><u>icc uvmap.cxx -Wno-deprecated -lvtkCommon -lvtkWidgets -lvtkIO  -o uvconvert
<br>
In file included from /usr/include/vtk-5.8/vtkVariant.h(35),<br>
                 from /usr/include/vtk-5.8/vtkAbstractArray.h(45),<br>
                 from /usr/include/vtk-5.8/vtkDataArray.h(37),<br>
                 from /usr/include/vtk-5.8/vtkIdTypeArray.h(29),<br>
                 from /usr/include/vtk-5.8/vtkCellArray.h(37),<br>
                 from uvmap.cxx(5):<br>
/usr/include/vtk-5.8/vtkStdString.h(25): catastrophic error: cannot open source file "vtkstd/string"<br>
  #include <vtkstd/string>       // For the superclass.<br>
                                                       ^<br>
<br>
compilation aborted for uvmap.cxx (code 4)<br>
make: *** [uvconvert] Error 4</u></font><br>
<br>
Same error if I linked like #include "vtk-5.8/vtkCellArray.h" or #include "vtk-5.10/vtkCellArray.h"<br>
<br>
Any help would be really apreciated.<br>
<br>
Best regards<br>
<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px"><span dir="ltr"><font face="Calibri,Arial,Helvetica,sans-serif" size="3" color="black"><span style="font-size:12pt; background-color:white"><font face="Tahoma" size="1"><span style="font-size:13px">Erick Andres
 Perez Alday<br>
Biological Physics Group<br>
3.17 Schuster Laboratory<br>
University of Manchester<br>
M13 9PL</span></font></span></font></span></div>
</div>
</div>
</body>
</html>