Problemas na instalação do VTK no Ubuntu

0

Quando tento instalar o VTK com o comando

ccmake .

Eu recebo esses erros:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
 Please set them or make sure they are set and tested correctly in the CMake files:
 OPENGL_INCLUDE_DIR (ADVANCED)
    used as include directory in directory /home/me/Masast/VTK
    used as include directory in directory /home/me/Masast/VTK/Wrapping
    used as include directory in directory /home/me/Masast/VTK/Utilities
    used as include directory in directory /home/me/Masast/VTK/Utilities/kwsys
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtkzlib
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtkhdf5
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtkhdf5/src
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtkjpeg
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtkpng
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtktiff
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtkexpat
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtkfreetype
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtklibxml2
    used as include directory in directory /home/me/Masast/VTK/Utilities/DICOMParser
    used as include directory in directory /home/me/Masast/VTK/Utilities/MaterialLibrary
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtklibproj4
    used as include directory in directory /home/me/Masast/VTK/Utilities/mrmpi
    used as include directory in directory /home/me/Masast/VTK/Utilities/mrmpi/mpistubs
    used as include directory in directory /home/me/Masast/VTK/Utilities/mrmpi/src
    used as include directory in directory /home/me/Masast/VTK/Utilities/verdict
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtknetcdf
    used as include directory in directory /home/me/Masast/VTK/Utilities/vtkmetaio
.
.
.

Eu uso meu Ubuntu em turco, então meu diretório Desktop é chamado de "Masaüstü". Como você pode ver nos erros, ele é usado pela ccmake como "Masast". Minha opinião é que isso causa o problema, mas não tenho certeza. É isso? Ou o problema é originado de outro motivo? Como posso resolver isso e instalar o VTK com sucesso?

editar Mudei o diretório para casa, mas o problema ainda existe.

CMake Error at CMake/vtkWrapPythonSIP.cmake:85 (MESSAGE):
   SIP_EXECUTABLE not set.
 Call Stack (most recent call first):
   CMake/KitCommonPythonWrapBlock.cmake:24 (VTK_CREATE_SIP_MODULE)
   CMake/KitCommonBlock.cmake:52 (INCLUDE)
   Common/CMakeLists.txt:555 (INCLUDE)



 CMake Error at CMake/vtkWrapPythonSIP.cmake:85 (MESSAGE):
   SIP_EXECUTABLE not set.
 Call Stack (most recent call first):
   CMake/KitCommonPythonWrapBlock.cmake:24 (VTK_CREATE_SIP_MODULE)
   CMake/KitCommonBlock.cmake:52 (INCLUDE)
   Filtering/CMakeLists.txt:396 (INCLUDE)



 CMake Error at CMake/vtkWrapPythonSIP.cmake:85 (MESSAGE):
   SIP_EXECUTABLE not set.
 Call Stack (most recent call first):
   CMake/KitCommonPythonWrapBlock.cmake:24 (VTK_CREATE_SIP_MODULE)
   CMake/KitCommonBlock.cmake:52 (INCLUDE)
   Imaging/CMakeLists.txt:184 (INCLUDE)



 CMake Error at CMake/vtkWrapPythonSIP.cmake:85 (MESSAGE):
   SIP_EXECUTABLE not set.
 Call Stack (most recent call first):
   CMake/KitCommonPythonWrapBlock.cmake:24 (VTK_CREATE_SIP_MODULE)
   CMake/KitCommonBlock.cmake:52 (INCLUDE)
   Graphics/CMakeLists.txt:363 (INCLUDE)



 CMake Error at CMake/vtkWrapPythonSIP.cmake:85 (MESSAGE):
   SIP_EXECUTABLE not set.
 Call Stack (most recent call first):
   CMake/KitCommonPythonWrapBlock.cmake:24 (VTK_CREATE_SIP_MODULE)
   CMake/KitCommonBlock.cmake:52 (INCLUDE)
   GenericFiltering/CMakeLists.txt:31 (INCLUDE)



 CMake Error at CMake/vtkWrapPythonSIP.cmake:85 (MESSAGE):
   SIP_EXECUTABLE not set.
 Call Stack (most recent call first):
   CMake/KitCommonPythonWrapBlock.cmake:24 (VTK_CREATE_SIP_MODULE)
   CMake/KitCommonBlock.cmake:52 (INCLUDE)
   IO/CMakeLists.txt:457 (INCLUDE)
    
por letitbe 02.11.2012 / 22:47

1 resposta

2

tente:

sudo apt-get install python-sip-dev
    
por user112413 03.12.2012 / 15:48