[CMake] Trouble finding X11 libs on CentOS system

David Flitney flitney at fmrib.ox.ac.uk
Wed Aug 1 13:23:22 EDT 2007


I've been trying to build a project on CentOS 5 which includes Qt and  
VTK elements and despite the configuration discovering X11 in the  
correct place: /usr/lib/X11 the build always fails with:

... No rule to make target `/usr/X11R6/lib/libX11.so' ...

The build.make file contains

build.make: bin/fslview: /usr/X11R6/lib/libX11.so

the cache:

CMakeCache.txt:X11_X11_LIB:FILEPATH=/usr/lib/libX11.so

I'm using cmake 2.4-patch 5
--
Cheers, Dave

Dave Flitney, IT Manager
Oxford Centre for Functional MRI of the Brain
E:flitney at fmrib.ox.ac.uk W:+44-1865-222713 F:+44-1865-222717
URL: http://www.fmrib.ox.ac.uk/~flitney


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070801/1cd76d5b/attachment.htm


More information about the CMake mailing list