[netcdfgroup] Cmake netcdf build

Hi Ward

I did a svn update from the netcdf repo

I get these errors while building in Windows with Cmake

Is the svn code assumed to build all the time ?

Pedro

W:\netcdf_svn\build>cmake  -D"HDF5_INCLUDE_DIR=T:\hdf5-1.8.11-pre1\src" 
-D"HDF5_LIB=T:\hdf5-1.8.11-pre1\build\bin\Debug\libhdf5_D.lib" 
-D"HDF5_HL_LIB=T:\hdf5-1.8.11-pre1\build\bin\
Debug\libhdf5_hl_D.lib" -D"ZLIB_INCLUDE_DIR:PATH=T:\zlib-1.2.5" 
-D"ZLIB_LIBRARY:FILEPATH=T:\zlib-1.2.5\build\bin\Debug\libzlib_D.lib" 
-D"SZIP_INCLUDE_DIR:PATH=T:\szip-2.1\src" -D"S
ZIP_LIBRARY:FILEPATH=T:\szip-2.1\build\bin\Debug\libszip_D.lib" 
-D"ENABLE_DAP=ON"  -D"BUILD_SHARED_LIBS=OFF" -D"ENABLE_DLL=OFF" 
-D"CURL_LIBRARY=W:\curl-7.29.0\builds\libcurl-vc10-x
86-debug-static-ipv6-sspi-spnego-winssl\lib\libcurl_a_debug.lib" 
-D"CURL_INCLUDE_DIR=W:\curl-7.29.0\builds\libcurl-vc10-x86-debug-static-ipv6-sspi-spnego-winssl\include"
  ..
-- Building for: Visual Studio 10
-- The C compiler identification is MSVC 16.0.40219.1
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:386 (FIND_PACKAGE):
  Could not find a package configuration file provided by "HDF5" with any of
  the following names:

    HDF5Config.cmake
    hdf5-config.cmake

  Add the installation prefix of "HDF5" to CMAKE_PREFIX_PATH or set
  "HDF5_DIR" to a directory containing one of the above files.  If "HDF5"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!

W:\netcdf_svn\build>


------
Pedro Vicente, Earth System Science
University of California, Irvine
http://www.ess.uci.edu/

  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: