[CMake] CVS cmake fails on paraview 3

John Biddiscombe biddisco at cscs.ch
Thu Mar 22 05:17:27 EST 2007


I wanted to use the latest LANGUAGE CXX/C from cmake cvs so I updated my 
tree, but ParaView3 fails to build on this 64 bit system.
I didn't investigate the problem much, but adding

file : ParaView3/VTK/Rendering/CMakeLists.txt

/usr/X11R6/lib64/libXt.a /usr/X11R6/lib64/libSM.a 
/usr/X11R6/lib64/libICE.a /usr/X11R6/lib64/libXfixes.a

to here fixed the link errors.

IF(VTK_USE_X)
  TARGET_LINK_LIBRARIES(vtk${KIT} /usr/X11R6/lib64/libXt.a 
/usr/X11R6/lib64/libSM.a /usr/X11R6/lib64/libICE.a 
/usr/X11R6/lib64/libXfixes.a ${X11_LIBRARIES})
ENDIF(VTK_USE_X)

I'm not sure if it's a cmake module issue, a 64 bit issue or a 
vtk/paraview bad cmake config  issue, but I'm just posting this so that 
if anyone else encounters the problem it'll save some time.

JB


-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the CMake mailing list