[Paraview] paraview vtk compile error

Simone Manini simone.manini at marionegri.it
Thu Oct 4 05:08:20 EDT 2012


Hi all 
I'm trying to compile paraview 3.14.1 (with mpi enabled) using cmake 2.8.9 and gcc 4.7.1 on arch linux x86_64. 


I first encountered this problem: 
http://www.paraview.org/pipermail/paraview/2012-June/025344.html 
And I solved it by using this fix: 
http://anonscm.debian.org/gitweb/?p=collab-maint/vtk.git;a=commitdiff;h=428e763c995bb303805e07da70c1a34fc103d208 


Now I have another problem: 



[ 43%] Built target vtkGraphicsCS 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx: In constructor ‘vtkFreeTypeUtilitiesCleanup::vtkFreeTypeUtilitiesCleanup()’: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:85:3: error: ‘FTLibraryCleanup’ has not been declared 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx: In member function ‘FT_LibraryRec_** vtkFreeTypeUtilities::GetLibrary()’: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:185:3: error: ‘FTLibrary’ was not declared in this scope 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:185:3: note: suggested alternative: 
In file included from /media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:27:0: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Utilities/ftgl/src/FTLibrary.h:48:19: note: ‘ftgl::FTLibrary’ 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:185:14: error: ‘ftgl_lib’ was not declared in this scope 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:185:25: error: ‘FTLibrary’ is not a class or namespace 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx: In constructor ‘vtkFreeTypeToolsCleanup::vtkFreeTypeToolsCleanup()’: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx:79:3: error: ‘FTLibraryCleanup’ has not been declared 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx: In member function ‘FT_LibraryRec_** vtkFreeTypeTools::GetLibrary()’: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx:165:3: error: ‘FTLibrary’ was not declared in this scope 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx:165:3: note: suggested alternative: 
In file included from /media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx:29:0: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Utilities/ftgl/src/FTLibrary.h:48:19: note: ‘ftgl::FTLibrary’ 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx:165:14: error: ‘ftgl_lib’ was not declared in this scope 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx:165:25: error: ‘FTLibrary’ is not a class or namespace 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx: In member function ‘vtkFreeTypeUtilities::Entry* vtkFreeTypeUtilities::GetFont(vtkTextProperty*, double*)’: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1517:3: error: ‘FTFont’ was not declared in this scope 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1517:3: note: suggested alternative: 
In file included from /media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Utilities/ftgl/src/FTGLPixmapFont.h:7:0, 
from /media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:28: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Utilities/ftgl/src/FTFont.h:32:19: note: ‘ftgl::FTFont’ 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1517:11: error: ‘font’ was not declared in this scope 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1517:22: error: expected type-specifier before ‘FTGLPixmapFont’ 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1517:22: error: expected ‘;’ before ‘FTGLPixmapFont’ 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1629:14: error: type ‘<type error>’ argument given to ‘delete’, expected pointer 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx: In member function ‘void vtkFreeTypeUtilities::GetWidthHeightDescender(const char*, vtkTextProperty*, int*, int*, float*)’: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1689:3: error: ‘FTFont’ was not declared in this scope 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1689:3: note: suggested alternative: 
In file included from /media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Utilities/ftgl/src/FTGLPixmapFont.h:7:0, 
from /media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:28: 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Utilities/ftgl/src/FTFont.h:32:19: note: ‘ftgl::FTFont’ 
/media/raidhd/home/daron/src/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1689:11: error: ‘font’ was not declared in this scope 
make[2]: *** [VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtilities.cxx.o] Error 1 
make[2]: *** Waiting for unfinished jobs.... 
make[2]: *** [VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeTools.cxx.o] Error 1 
make[1]: *** [VTK/Rendering/CMakeFiles/vtkRendering.dir/all] Error 2 
make: *** [all] Error 2 


Any help is very appreciated. 
Thanks, 
Simone
----------
Destina il tuo 5 per mille dell'IRPEF  (sul mod. 730 o mod. UNICO o mod. CUD) firmando e indicando il nostro codice fiscale 03254210150 nel riquadro "finanziamento agli enti della ricerca scientifica e dell'universita'" per aiutare a mantenere indipendente la ricerca scientifica dell'Istituto Mario Negri, una fondazione privata senza scopo di lucro che da 50 anni opera nell'interesse degli ammalati.

Per maggiori informazioni:
Istituto Mario Negri, Via La Masa 19 - 20156 Milano
Tel: +39 02 390141 - Fax: +39 02 3546277  +39 02 39001918
Internet: www.marionegri.it, mnegri at marionegri.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121004/d3a86463/attachment.htm>


More information about the ParaView mailing list