[vtkusers] CMAKE error (please help)

Lic. José M. Rodriguez Bacallao jmrbcu at gmail.com
Thu Oct 20 10:30:22 EDT 2011


well, those errors are from a fresh configure, so, the build directory
is empty whe the configure process start.

On 10/20/11, Jothybasu Selvaraj <jothybasu at gmail.com> wrote:
> Have you deleted the cmake cache (in the File menu). The build freshly.
>
> Jothy
>
> On Thu, Oct 20, 2011 at 2:59 PM, Lic. José M. Rodriguez Bacallao <
> jmrbcu at gmail.com> wrote:
>
>> Hi folks, I am trying to build VTK from git using CMake v2.8.6 in
>> archlinux and using this options:
>>
>> -DCPACK_SOURCE_TGZ:BOOL="0"
>> -DSIP_INCLUDE_DIR:PATH="/usr/include/python2.7"
>> -DCMAKE_INSTALL_PREFIX:PATH="/home/jmrbcu/.local"
>> -DCPACK_BINARY_TZ:BOOL="0" -DCPACK_SOURCE_TBZ2:BOOL="0"
>> -DCPACK_BINARY_TGZ:BOOL="1"
>> -DCMAKE_BACKWARDS_COMPATIBILITY:STRING="2.4"
>> -DCMAKE_BUILD_TYPE:STRING="Release" -DVTK_WRAP_PYTHON_SIP:BOOL="1"
>> -DVTK_USE_QT:BOOL="1" -DVTK_DATA_ROOT:PATH="VTK_DATA_ROOT-NOTFOUND"
>> -DCPACK_BINARY_STGZ:BOOL="0" -DBUILD_TESTING:BOOL="0"
>> -DSIP_PYQT_DIR:PATH="/usr/share/sip/PyQt4" -DCPACK_SOURCE_TZ:BOOL="0"
>> -DBUILD_SHARED_LIBS:BOOL="1" -DVTK_WRAP_PYTHON:BOOL="1"
>> -DVTK_USE_QVTK_QTOPENGL:BOOL="1"
>>
>> but the configure proccess using the gui (cmake-gui) give me these errors:
>>
>> CMake Error: Parse error in cache file
>> /home/jmrbcu/installs/linux/development/imagis/vtk/build/CMakeCache.txt.
>> Offending entry: print apply(get_install_path, sys.argv[1:])
>> CMake Error: Parse error in cache file
>> /home/jmrbcu/installs/linux/development/imagis/vtk/build/CMakeCache.txt.
>> Offending entry: ^
>> CMake Error: Parse error in cache file
>> /home/jmrbcu/installs/linux/development/imagis/vtk/build/CMakeCache.txt.
>> Offending entry: SyntaxError: invalid syntax
>> CMake Error: Parse error in cache file
>> /home/jmrbcu/installs/linux/development/imagis/vtk/build/CMakeCache.txt.
>> Offending entry: print apply(get_install_path, sys.argv[1:])
>> CMake Error: Parse error in cache file
>> /home/jmrbcu/installs/linux/development/imagis/vtk/build/CMakeCache.txt.
>> Offending entry: ^
>> CMake Error: Parse error in cache file
>> /home/jmrbcu/installs/linux/development/imagis/vtk/build/CMakeCache.txt.
>> Offending entry: SyntaxError: invalid syntax
>>
>> I had build vtk successfully in ubuntu 11.04 and other distros
>> (including archlinux) but now I have no clue, any suggestions please?
>>
>> --
>> Lic. José M. Rodriguez Bacallao
>> Centro de Biofisica Medica
>> -----------------------------------------------------------------
>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
>> mismo.
>>
>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>> por profesionales
>> -----------------------------------------------------------------
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
>
> --
> Jothybasu K Selvaraj
> PhD Student
> University of Liverpool
> Liverpool,UK
>


-- 
Lic. José M. Rodriguez Bacallao
Centro de Biofisica Medica
-----------------------------------------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.

Recuerda: El arca de Noe fue construida por aficionados, el titanic
por profesionales
-----------------------------------------------------------------



More information about the vtkusers mailing list