diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-10-02 21:16:34 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-10-02 21:17:10 (GMT) |
commit | 8c26358eca11455235df239a7e9f3a225b3141da (patch) | |
tree | f9ae4061b519ae7c516830a59a92faba93f9f006 /release_docs/USING_HDF5_VS.txt | |
parent | 66ef37d0d8030f38c924374facc49f6af6f6ddd5 (diff) | |
download | hdf5-8c26358eca11455235df239a7e9f3a225b3141da.zip hdf5-8c26358eca11455235df239a7e9f3a225b3141da.tar.gz hdf5-8c26358eca11455235df239a7e9f3a225b3141da.tar.bz2 |
Merge CMake changes from 1.10 to 1.8
Diffstat (limited to 'release_docs/USING_HDF5_VS.txt')
-rw-r--r-- | release_docs/USING_HDF5_VS.txt | 58 |
1 files changed, 41 insertions, 17 deletions
diff --git a/release_docs/USING_HDF5_VS.txt b/release_docs/USING_HDF5_VS.txt index 27191d3..3fd0453 100644 --- a/release_docs/USING_HDF5_VS.txt +++ b/release_docs/USING_HDF5_VS.txt @@ -16,30 +16,58 @@ The following two sections are helpful if you do not use CMake to build your applications. Consult the Microsoft documentation for your product for more information. -======================================================================== -Using Visual Studio with HDF5 Libraries -======================================================================== +============================================================================================== +Using Visual Studio 2010 and above with HDF5 Libraries built with Visual Studio 2010 and above +============================================================================================== + + 1. Set up path for external libraries and headers + + The path settings will need to be in the project property sheets per project. + Go to "Project" and select "Properties", find "Configuration Properties", + and then "VC++ Directories". - 1. The HDF5 binary must match with your Visual Studio version + 1.1 If you are building on 64-bit Windows, find the "Platform" dropdown + and select "x64". + + 1.2 Add the header path to the "Include Directories" setting. + + 1.3 Add the library path to the "Library Directories" setting. + + 1.4 Select Linker->Input and beginning with the + "Additional Dependencies" line, enter the library names. The + external libraries should be listed first, followed by the HDF5 + library, and then optionally the HDF5 High Level, Fortran or C++ + libraries. For example, to compile a C++ application, enter: + + szip.lib zlib.lib hdf5.lib hdf5_cpp.lib + + +========================================================================== +Using Visual Studio 2008 with HDF5 Libraries built with Visual Studio 2008 +========================================================================== 2. Set up the path for external libraries and headers - Follow the Microsoft guidelines for adding third-party libraries. + Invoke Microsoft Visual Studio and go to "Tools" and select "Options", + find "Projects", and then "VC++ Directories". - 2.1 If you are building on 64-bit Windows, be sure the binary is - built for the your intended "Platform"; 64-bit or 32-bit. + 2.1 If you are building on 64-bit Windows, find the "Platform" dropdown + and select "x64". - 2.2 Add the header path (i.e. c:\Program Files\HDF_Group\HDF5\1.8.x\include) - to the included directories settings. + 2.2 Find the box "Show directories for", choose "Include files", add the + header path (i.e. c:\Program Files\HDF_Group\HDF5\1.8.x\include) + to the included directories. - 2.3 Add the library path (i.e. c:\Program Files\HDF_Group\HDF5\1.8.x\lib) + 2.3 Find the box "Show directories for", choose "Library files", add the + library path (i.e. c:\Program Files\HDF_Group\HDF5\1.8.x\lib) to the library directories. 2.4 If using Fortran libraries, you will also need to setup the path for the Intel Fortran compiler. - 2.5 Enter the library names into the linker "Additional Dependencies" line. - The external libraries should be listed first, followed by the HDF5 + 2.5 Select Project->Properties->Linker->Input and beginning with the + "Additional Dependencies" line, enter the library names. The + external libraries should be listed first, followed by the HDF5 library, and then optionally the HDF5 High Level, Fortran or C++ libraries. For example, to compile a C++ application, enter: @@ -52,11 +80,7 @@ Using Visual Studio with HDF5 Libraries 3.1 FAQ Many other common questions and hints are located online and being updated - in the HDF5 FAQ. For Windows-specific questions, please see: - - http://support.hdfgroup.org/HDF5/faq/windows.html - - For all other general questions, you can look in the general FAQ: + in the HDF Knowledge Base, please see: https://portal.hdfgroup.org/display/knowledge/HDF+Knowledge+Base |