From 54f3ee3190d9cc6dfc93b5ee7bd2f90231d0de88 Mon Sep 17 00:00:00 2001
From: Fang Guo Notes: 1. This instruction is written for users who would like to build HDF5
@@ -100,8 +136,8 @@ hr.second{color:#0000FF;height:2px; width:100%;magin-top:5px;margin-bottom:5px;b
line.
2. Currently, we support: (1) Building and testing HDF5 on command line with Microsoft Visual
+ (1) Building and testing HDF5 on command line with Microsoft Visual
C++ 6.0 and Compaq Visual Fortran 6.0. (2) Building and testing HDF5 C and C++ Library on command line with
Microsoft Visual C++ .Net (2003)Instructions for Building and Testing HDF5 from Command Line on Windows XP
+Instructions for Building and Testing HDF5 on Windows XP
+
+from Command Line
+
-
+
For all other Windows development tools, HDF5 should be built in the development environment. - Please refer to INSTALL_Windows.txt for detailed HDF5 building and installation information, or - INSTALL_Windows_short.txt for quick HDF5 building and installation instructions. + Please refer to INSTALL_Windows.txt for detailed HDF5 building and installation information, or + INSTALL_Windows_short_*.txt for quick HDF5 building and installation instructions.
(4) Different compiler is using different batch files on command line to build HDF5 Libraries.
@@ -147,7 +183,8 @@ hr.second{color:#0000FF;height:2px; width:100%;magin-top:5px;margin-bottom:5px;bBe careful to choose the corresponding batch file when you choose a procedure below to build HDF5 Libraries.
3. Please read CAREFULLY about HDF5 build and install preconditions and notes in INSTALL_Windows.txt before starting below procedures.
+3. Please read CAREFULLY about HDF5 build and install preconditions and notes in + INSTALL_Windows.txt before starting below procedures.
If you want to extract zip files on the command line, you should
Download WinZip command line support add-on 1.1 from http://www.winzip.com and install it.
Open "System" in Control Panel. - On the "Advanced" tab, click "Environment Variables", click - "Path" in the "System variables" box, then click "Edit" and - add your WinZip path (For example C:\Program Files\WinZip) - into "Variable Value" and click "OK".
+Download WinZip command line support add-on 1.1 from http://www.winzip.com and install it.
Open + "System" in Control Panel. + On the "Advanced" tab, click + "Environment Variables", click + "Path" in the + "System variables" box, then click "Edit" and + add your WinZip path (For example + C:\Program Files\WinZip) into "Variable + Value" and click "OK".
Notes:
You can also extract zip files from interactive WinZip interface without the above two steps.
@@ -177,16 +218,23 @@ hr.second{color:#0000FF;height:2px; width:100%;magin-top:5px;margin-bottom:5px;bOpen "System" in Control Panel.
-On the "Advanced" tab, click "Environment Variables", click - "Path" in the "System variables" box, then click "Edit" and +
Open "System" in Control Panel.
+On the "Advanced" tab, click + "Environment Variables", + click "Path" in the + "System variables" box, + then click "Edit" and add your Visual C++ 6.0 path (For example, - C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\) + C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\) and Compaq Visual Fortran 6.0 path (For example, - C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\) - into "Variable Value" and click "OK".
+ C:\Program Files\Microsoft + Visual Studio\Common\MSDev98\Bin\) into + "Variable Value" and click + "OK".Go to c:\MyHDFstuff\hdf5\windows and run copy_hdf.bat.
+Go to c:\MyHDFstuff\hdf5\windows + and run copy_hdf.bat. +
A batch file named hdf5bt.bat in c:\MyHDFstuff\hdf5 directory +
A batch file named hdf5bt.bat + in c:\MyHDFstuff\hdf5 directory is provided for users to build and test HDF5 library and tools together from command line.
-hdf5bt.bat has four options:
+hdf5bt.bat has four options:
Illustration | |
---|---|
hdf5bt_net | +build and test C + libraries and tools | +
hdf5bt_net enablecpp | build and test C/C++ libraries and tools |
Invoke a command prompt window - and run hdf5bt_net with this - option.
+ and run hdf5bt_net with one of the + options.Test results are saved in two files:
In general, you only need to check tests_results.txt. +
In general, you only need to check + tests_results.txt. If all the tests passed, then you do not have to check - hdf5_results_net.txt. If some tests failed, check - hdf5_results_net.txt can help you figure out what was wrong.
+ hdf5_results_net.txt. If some tests failed, check + hdf5_results_net.txt can help you figure out what was wrong.We also provide users with the option to build and test HDF5 libraries and tools seperately.
+We also provide users with the option to build and test HDF5 libraries and tools + separately.
A batch file named hdf5build_net.bat in c:\MyHDFstuff\hdf5 +
A batch file named hdf5build_net.bat in + c:\MyHDFstuff\hdf5 directory is provided for users to build HDF5 library and tools from command line.
-hdf5build_net.bat has - only one - option:
++ hdf5build_net.bat has + two + options:
Illustration | |
---|---|
hdf5build_net | +build C libraries and tools | +
hdf5build_net enablecpp | build C/C++ libraries and tools |
Invoke a command prompt window and run hdf5build_net with - this option. building results will be saved in - c:\MyHDFstuff\hdf5\build_results_net.txt. You can check +
Invoke a command prompt window and run hdf5build_net + with + one of the + options. building results will be saved in + c:\MyHDFstuff\hdf5\build_results_net.txt. You can check the file to find out whether there are any compilation errors.
Go to directory, run batch file hdf5check with the following options:
+Go to directory, run batch file + hdf5check.bat with the following options:
Notes:
-hdf5check.bat has ONLY TWO options listed above in this case.
-Testing results will be saved in c:\MyHDFstuff\hdf5\check_results.txt. +
+ hdf5check.bat has ONLY TWO options listed above in this case.
+Testing results will be saved in + c:\MyHDFstuff\hdf5\check_results.txt. There should be no failures at all.
Run the batch file c:\MyHDFstuff\hdf5\installhdf5lib.bat to install all HDF5 libraries and tools into - c:\MyHDFstuff\hdf5\hdf5lib directory.
+Run the batch file c:\MyHDFstuff\hdf5\installhdf5lib.bat to install all HDF5 libraries and tools into + c:\MyHDFstuff\hdf5\hdf5lib directory.
Open "System" in Control Panel.
-On the "Advanced" tab, click "Environment Variables", click - "Path" in the "System variables" box, then click "Edit" and +
Open "System" in Control Panel.
+On the "Advanced" tab, click + "Environment Variables", click + "Path" in the + "System variables" box, then click "Edit" and add your Visual C++ .Net path (For example, - C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE) + C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE) and Intel C++ 8.1 path (For example, - C:\Program Files\Intel\CPP\Compiler80\Ia32\Bin) - into "Variable Value" and click "OK". -
Go to c:\MyHDFstuff\hdf5\windows and run copy_hdf.bat. This process +
Go to c:\MyHDFstuff\hdf5\windows + and run copy_hdf.bat. This process will copy all the necessary batch files and text files saved under - c:\MyHDFstuff\hdf5\windows directory to the directories where they + c:\MyHDFstuff\hdf5\windows directory to the directories where they will be used.
Go to directory c:\MyHDFstuff\hdf5 and run convert_to_vcproj.bat +
Go to directory c:\MyHDFstuff\hdf5 and run + convert_to_vcproj.bat in the following format:
The converting results will be saved into file convert.log under - the directory c:\MyHDFstuff\hdf5. The messages should look like
+The converting results will be saved into file + convert.log under + the directory c:\MyHDFstuff\hdf5. The messages should look like
We provide 2 options for users to build HDF5 libraries and tools.
A batch file named hdf5bt_intelc.bat in c:\MyHDFstuff\hdf5 directory +
A batch file named hdf5bt_intelc.bat + in c:\MyHDFstuff\hdf5 directory is provided for users to build and test HDF5 library and tools together from command line.
-hdf5bt_intelc.bat has only one option:
+hdf5bt_intelc.bat has two options:
Illustration | |
---|---|
hdf5bt_intelc | +build and test C libraries and tools | +
hdf5bt_intelc enablecpp | build and test C/C++ libraries and tools |
Invoke a command prompt window and run hdf5bt_intelc with - this option.
+ one of the options.Test results will be saved in two files:
Project conversion results from MSVS .Net format to Intel C++ fomat will be saved in
Check convert_intel.txt to see if all of the project files have been converted +
Check convert_intel.txt to see if all of the project files have been converted successfully. Conversion messages should look like:
In general, you only need to check tests_results.txt. +
In general, you only need to check + tests_results.txt. If all the tests passed, then you do not have to check - hdf5_results_intelc.txt. If some tests failed, check - hdf5_results_intelc.txt can help you figure out what was wrong. + hdf5_results_intelc.txt. If some tests failed, check + hdf5_results_intelc.txt can help you figure out what was wrong.
We also provide users with the option to build and test HDF5 libraries and tools seperately.
+We also provide users with the option to build and test HDF5 libraries and tools + separately.
A batch file named hdf5build_intelc.bat in c:\MyHDFstuff\hdf5 +
A batch file named + hdf5build_intelc.bat + in c:\MyHDFstuff\hdf5 directory is provided for users to build HDF5 library and tools from command line.
- hdf5build_intelc.bat + hdf5build_intelc.bat has only one option:
Illustration | |
---|---|
hdf5build_intelc | +build C libraries and tools | +
hdf5build_intelc enablecpp | build C/C++ libraries and tools |
Invoke a command prompt window and run hdf5build_intelc with +
Invoke a command prompt window and run + hdf5build_intelc with this option. Compiling outputs are saved in - c:\MyHDFstuff\hdf5\build_results_intelc.txt. You can check + c:\MyHDFstuff\hdf5\build_results_intelc.txt. You can check the file to find out whether there are any compiling errors.
Go to directory, run batch file hdf5check with the following options: -
Go to directory, run batch file + hdf5check with the following options: +
Options | @@ -605,23 +710,27 @@ hr.second{color:#0000FF;height:2px; width:100%;magin-top:5px;margin-bottom:5px;b
---|