Skip to content
  • Jean-Christophe Fillion-Robin's avatar
    Do not force manifest selection for vtkhdf5 libraries · e6e67374
    Jean-Christophe Fillion-Robin authored
    Following e16fac17, hdf5 libraries are build with -D_BIND_TO_CURRENT_VCLIBS_VERSION=1.
    
    When building VTK using VS2008, the result of this is that
    (1) VTK libraries all reference "9.0.21022.8" manifest expect the hdf5
    ones that reference "9.0.30729.1" and (2) in some case prevent application
    built against VTK from starting.
    
    The problem can also be detected when running CMakeVerifyManifest.cmake
    against the application install tree. It basically returns a message
    similar to the following one:
    
    8<----8<----8<----8<----8<----8<----8<----
    ERROR: C:/Program Files/AwesomeApp 1.0.0/bin/vtkhdf5_hl-6.2.dll uses 9.0.30729.6161 not found in shipped manifests:[9.0.21022.8].
    CMake Error at C:/D/Support/cmake-3.2.2-win32-x86/share/cmake-3.2/Modules/CMakeVerifyManifest.cmake:118 (message):
      This distribution embeds dll versions that it does not ship, and may not
      work on other machines.
    8<----8<----8<----8<----8<----8<----8<----
    
    Here are some more information copi...
    e6e67374