From 3686703e86580a4c016ec1009e7bce146f868677 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Tue, 12 Jul 2011 13:13:25 -0500 Subject: [svn-r21094] Add section on updating paths in VS2010 --- release_docs/INSTALL_Windows.txt | 10 ++++++++++ release_docs/INSTALL_Windows_Short_VS2008.TXT | 11 ++++++++++- release_docs/USING_Windows.txt | 19 +++++++++++++++---- 3 files changed, 35 insertions(+), 5 deletions(-) diff --git a/release_docs/INSTALL_Windows.txt b/release_docs/INSTALL_Windows.txt index c54bd02..bb4c677 100644 --- a/release_docs/INSTALL_Windows.txt +++ b/release_docs/INSTALL_Windows.txt @@ -164,6 +164,16 @@ Preconditions: 9.4 If building Fortran libraries, you will also need to setup the path for the Intel Fortran compiler. Please see Section VI. + + NOTE: + If you are using VS2010, the path settings will need to be in project + property sheets per project. Go to "Project" and select "Properties", find + "Configuration Properties", and then "VC++ Directories". + + 9.1 If you are building on 64-bit Windows, find the "Platform" dropdown + and select "x64". + 9.2 Add the header path to the "Include Directories" setting. + 9.3 Add the library path to the "Library Directories" setting. Notes: diff --git a/release_docs/INSTALL_Windows_Short_VS2008.TXT b/release_docs/INSTALL_Windows_Short_VS2008.TXT index 8ff8866..4ec79ed 100755 --- a/release_docs/INSTALL_Windows_Short_VS2008.TXT +++ b/release_docs/INSTALL_Windows_Short_VS2008.TXT @@ -56,9 +56,18 @@ notes in INSTALL_Windows.txt before starting below procedures. find your Zlib and Szip library path (for example, c:\zlib125\dll, c:\szip\dll) from the directory list, add the library path (c:\zlib125\dll, c:\szip\dll) to the library directories. + + NOTE: + If you are using VS2010, the path settings will need to be in project + property sheets per project. Go to "Project" and select "Properties", find + "Configuration Properties", and then "VC++ Directories". + + Add the header path to the "Include Directories" setting. + + Add the library path to the "Library Directories" setting. ======================================================================== - Building HDF5 C/C++ Libraries with Visual Studio 2005 + Building HDF5 C/C++ Libraries with Visual Studio 2008 ======================================================================== 1. Run batch file copy_hdf.bat diff --git a/release_docs/USING_Windows.txt b/release_docs/USING_Windows.txt index 4e78c68..410a759 100644 --- a/release_docs/USING_Windows.txt +++ b/release_docs/USING_Windows.txt @@ -87,7 +87,7 @@ Preconditions: Variables" box. In the New Variable window, set "Variable name" as HDF5_EXT_ZLIB and - "Variable value" as zlib1.lib, then click OK. + "Variable value" as zlib.lib, then click OK. Similarly, you can set: @@ -98,7 +98,7 @@ Preconditions: a. You will have to close and reopen running programs for the new environment variable settings to take effect. - b. c:\zlib\zlib1.dll and c:\szip\dll\szip.dll should be copied + b. c:\zlib\zlib.dll and c:\szip\dll\szip.dll should be copied into a location that the application can find. 9. Set up path for libraries and headers @@ -123,6 +123,16 @@ Preconditions: 9.4 If building Fortran applications, you will also need to setup the path for the Intel Fortran compiler. Please see Section VI. + + NOTE: + If you are using VS2010, the path settings will need to be in project + property sheets per project. Go to "Project" and select "Properties", find + "Configuration Properties", and then "VC++ Directories". + + 9.1 If you are building on 64-bit Windows, find the "Platform" dropdown + and select "x64". + 9.2 Add the header path to the "Include Directories" setting. + 9.3 Add the library path to the "Library Directories" setting. Notes: @@ -595,7 +605,7 @@ Building with Visual Studio 2010 is very similar to building with Visual Studio with the following considerations: 1. Visual Studio 2010 uses a new format for project files, but Visual Studio - 2008 project files can be easily converted. The HDF5 project files + 2008 project files can be converted. The HDF5 project files will need to be converted on first use. To do so: 1.1. Open the HDF5 Visual Studio 2008 solution file as in Section II @@ -610,7 +620,8 @@ with the following considerations: 1.3. When it is finished, it should state that all projects were converted successfully with no errors. Warnings can be ignored. - 2. Once the project files have been converted, build and test normally. + 2. Once the project files have been converted you will need to create project + property sheets for the library and include paths. Then build and test normally. Note that the converted project files aren't backwards compatible with previous versions of Visual Studio. -- cgit v0.12