[CMake] CloseHandleError problems in XP/Vista

Andrew Maclean andrew.amaclean at gmail.com
Thu Aug 16 18:01:23 EDT 2007


Has anyone tried building VTK or Paraview with the latest CMake CVS version
in XP or Vista?


I am using the lastst cvs version of CMake and when I try to build VTK or
ParaView3 I get lots of:
CMakeError: Parse error in cache file <file name>,. Offending Entry:
CloseHandleError
I am pretty sure that this is a CMake problem as older versions of CMake do
not do this. In Vista I have has to revert to an older version of CMake but
this error is now appearing when I use XP.

Hera re some extracts from the CMakeCahe.txt file for VTK.
******************

//Path to a program.
QT_DBUSXML2CPP_EXECUTABLE:FILEPATH=QT_DBUSXML2CPP_EXECUTABLE-NOTFOUND

//The location of the Qt docs
QT_DOC_DIR:PATH=C:/Qt/4.2.3/doc
CloseHandleError
CloseHandleError
CloseHandleError

//The location of the Qt mkspecs
QT_MKSPECS_DIR:PATH=C:/Qt/4.2.3/mkspecs
CloseHandleError
CloseHandleError
CloseHandleError

//The moc executable
QT_MOC_EXECUTABLE:FILEPATH=C:/Qt/4.2.3/bin/moc.exe

//The location of the Qt plugins
QT_PLUGINS_DIR:PATH=C:/Qt/4.2.3/plugins
CloseHandleError
CloseHandleError
CloseHandleError

//Invalid qmake found
QT_QMAKE_EXECUTABLE:FILEPATH=c:/Qt/4.2.3/bin/qmake.exe-NOTFOUND

...

//Stored GUID
ProcessShader_GUID_CMAKE:INTERNAL=48A1FDCC-E6C7-441E-B0DD-5F05602E7043
QT_BINARY_DIR:INTERNAL=C:\Qt\4.2.3\bin
CloseHandleError
CloseHandleError
CloseHandleError
//Advanced flag for variable: QT_DBUSCPP2XML_EXECUTABLE
QT_DBUSCPP2XML_EXECUTABLE-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_DBUSXML2CPP_EXECUTABLE

...

QT_DBUSXML2CPP_EXECUTABLE-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_DOC_DIR
QT_DOC_DIR-ADVANCED:INTERNAL=1
QT_HEADERS_DIR:INTERNAL=C:\Qt\4.2.3\include
CloseHandleError
CloseHandleError
CloseHandleError
//Advanced flag for variable: QT_MKSPECS_DIR
QT_MKSPECS_DIR-ADVANCED:INTERNAL=1
//Advanced flag for variable: QT_MOC_EXECUTABLE
...

//Install directory for Python .py and .pyc files
VTK_PYTHON_MODULE_INSTALL_DIR:INTERNAL=${CMAKE_INSTALL_PREFIX}/Lib/site-packages
CloseHandleError
CloseHandleError
CloseHandleError
//Install directory for Python binary modules
VTK_PYTHON_MODULE_PLATFORM_INSTALL_DIR:INTERNAL=${CMAKE_INSTALL_PREFIX}/Lib/site-packages
CloseHandleError
CloseHandleError
CloseHandleError
//Result of CHECK_TYPE_SIZE
VTK_SIZEOF_LONG_LONG:INTERNAL=8



******************

Thanks for any comments/help

Andrew




-- 
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070817/3d49cead/attachment.htm


More information about the CMake mailing list