[CMake] CMake 2.8.12-rc2 Released

Orion Poplawski orion at cora.nwra.com
Mon Sep 16 16:07:19 EDT 2013


On 08/30/2013 02:49 PM, Robert Maynard wrote:
> The CMake 2.8.12 release candidate stream continues!
> You can find the source and binaries here:
> http://www.cmake.org/files/v2.8/?C=M;O=D

Is it expected that this is now an error?

CMake Error: The following variables are used in this project, but they are 
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
HDF5_dl_LIBRARY_DEBUG (ADVANCED)
     linked by target "netcdf" in directory 
/builddir/build/BUILD/netcdf-c-4.3.1-rc2/liblib
     linked by target "ncgen" in directory 
/builddir/build/BUILD/netcdf-c-4.3.1-rc2/ncgen
     linked by target "nccopy" in directory 
/builddir/build/BUILD/netcdf-c-4.3.1-rc2/ncdump
     linked by target "ncdump" in directory 
/builddir/build/BUILD/netcdf-c-4.3.1-rc2/ncdump
     linked by target "nctestserver" in directory 
/builddir/build/BUILD/netcdf-c-4.3.1-rc2/ncdap_test

Something has definitely changed with handling debug CMAKE_BUILD_TYPEs between 
2.8.11.2 and 2.8.12-rc2.  I'm building netcdf 4.8.1-rc2 and it works fine with 
2.8.11.2 but I get errors like the above with 2.8.12-rc2.  We build Fedora 
packages with either the Debug or RelWithDebugInfo build types so debug info 
is generated - though it is later stripped and put into a separate -debuginfo 
sub-package.  So the debug versions of libraries are generally not available 
at build time.

Could someone describe to me more of what is going on here?  There seems to be 
a new "debug" link mode or some such? I'm afraid this will be a real show 
stopper for Linux distributions.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com


More information about the CMake mailing list