[CMake] error using cmake on 64-bit platform?

William A. Hoffman billlist at nycap.rr.com
Mon Dec 19 16:36:36 EST 2005


At 04:15 PM 12/19/2005, Vicka Corey wrote:
>hi -- i have a recent cmake build (from last week) and i'm trying to use
>it to build vtk on 64-bit centos4.
>
>i am using "ccmake ." as the command, and i get errors starting with:
>
> CMake Error: Error in cmake code at
> /space/lyon/9/pubsw/build/VTK/jupiter/4.4/VTK/CMake/vtkLoadCMakeExtensions.cma
> ke:7:
> LOAD_COMMAND Attempt to load the library
> /space/lyon/9/pubsw/build/VTK/jupiter/4.4/VTK/CMake/libcmVTK_WRAP_TCL2.so
> failed.
>
>the file is definitely there:
>
>jupiter% file /space/lyon/9/pubsw/build/VTK/jupiter/4.4/VTK/CMake/libcmVTK_WRAP_TCL2.so
>/space/lyon/9/pubsw/build/VTK/jupiter/4.4/VTK/CMake/libcmVTK_WRAP_TCL2.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped

You need to run a 64 bit version of cmake.

-Bill



More information about the CMake mailing list