diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2008-07-02 19:40:00 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2008-07-02 19:40:00 (GMT) |
commit | 2b50ce69837f55e009b500237e66989c8f1f8946 (patch) | |
tree | bfc72f14202a2f3a21af9a81a5a91a190024b9e8 /release_docs/INSTALL_Windows_From_Command_Line.txt | |
parent | 7722c4c834891e088666945742fc1a5a3162b947 (diff) | |
download | hdf5-2b50ce69837f55e009b500237e66989c8f1f8946.zip hdf5-2b50ce69837f55e009b500237e66989c8f1f8946.tar.gz hdf5-2b50ce69837f55e009b500237e66989c8f1f8946.tar.bz2 |
[svn-r15312] Purpose: Support Visual Studio 2008 on Windows
Description:
Write documentation for building HDF5 with the latest version of Visual Studio, 2008. The process is very similar to building with Visual Studio 2005, but with an automatic project-file conversion beforehand.
Also adapt commandline build scripts for Visual Studio 2008 as well.
Tested:
VS2008 on WinXP
Diffstat (limited to 'release_docs/INSTALL_Windows_From_Command_Line.txt')
-rwxr-xr-x | release_docs/INSTALL_Windows_From_Command_Line.txt | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/release_docs/INSTALL_Windows_From_Command_Line.txt b/release_docs/INSTALL_Windows_From_Command_Line.txt index 62c3daa..053ae72 100755 --- a/release_docs/INSTALL_Windows_From_Command_Line.txt +++ b/release_docs/INSTALL_Windows_From_Command_Line.txt @@ -6,10 +6,10 @@ Note: This instruction is written for users who would like to build HDF5 libraries and tools from the HDF5 source code package on command line. - Currently, we support + Currently, we support: 1. Building and testing HDF5 C/C++/Fortran libraries on command line with - Microsoft Visual Studio 2005 for 32- or 64-bit Windows. + Microsoft Visual Studio .NET, 2005 or 2008 for 32- or 64-bit Windows. For all other Windows development tools, HDF5 should be built in the development environment. Please refer to INSTALL_Windows.txt @@ -25,12 +25,12 @@ notes in INSTALL_Windows.txt before starting below procedures. ======================================================================== Section I: Building and testing HDF5 on command line with Microsoft - Visual Studio 2005 + Visual Studio ======================================================================== 1. Preconditions: - 1.1 Verify environment for Visual Studio 2005 + 1.1 Verify environment for Visual Studio Building from the command line requires environment variables for Visual Studio. These are generally setup when Visual Studio is installed, but you @@ -41,6 +41,9 @@ notes in INSTALL_Windows.txt before starting below procedures. This should output a path similar to: C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\ + + If you are using Visual Studio .NET, replace "vs80comntools" with + "vs71comntools". For Visual Studio 2008, use "vs90comntools" 1.2 Run batch file copy_hdf.bat. @@ -55,9 +58,9 @@ notes in INSTALL_Windows.txt before starting below procedures. From the command prompt that you will be building HDF5 from, issue the following command: - set HDF5_EXT_ZLIB=zdll.lib + set HDF5_EXT_ZLIB=zlib1.lib - replacing "zdll.lib" with the name of the zlib library on your system. + replacing "zlib1.lib" with the name of the zlib library on your system. Similarly, set HDF5_EXT_SZIP to the name of the szip library on your system. (Optional) If you will be building using the /useenv switch, you must also @@ -80,6 +83,8 @@ notes in INSTALL_Windows.txt before starting below procedures. hdf5bt file takes the following options: /vs7 Build HDF5 using Visual Studio .NET 2003 Note: Default is Visual Studio 2005 + /vs9 Build HDF5 using Visual Studio 2008 + Note: Default is Visual Studio 2005 /fort Build and test HDF5 with Fortran libraries /ivf101 Build HDF5 Fortran using Intel Visual Fortran 10.1 Note: Default is Intel Visual Fortran 9.1 @@ -109,6 +114,8 @@ notes in INSTALL_Windows.txt before starting below procedures. hdf55build takes the following options: /vs7 Build HDF5 using Visual Studio .NET 2003 Note: Default is Visual Studio 2005 + /vs9 Build HDF5 using Visual Studio 2008 + Note: Default is Visual Studio 2005 /fort Build HDF5 with Fortran libraries /ivf101 Build HDF5 Fortran using Intel Visual Fortran 10.1 Note: Default is Intel Visual Fortran 9.1 |