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