mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-06 14:56:51 +08:00
897bdeaef7
Remove "fortran test" part since we can no longer support 6.0 with compaq visual fortran.
128 lines
4.6 KiB
Plaintext
Executable File
128 lines
4.6 KiB
Plaintext
Executable File
************************************************************************
|
|
* HDF5 Build and Install Instructions for Windows XP with MSVS 6.0 *
|
|
* (Short Version) *
|
|
************************************************************************
|
|
|
|
Notes: To ease the building process for current versions of Visual
|
|
Studio, 6.0 is set to be depreciated in future releases. This
|
|
means that project files are being converted to .Net format, and
|
|
will not be backwards-compatible with Visual Studio 6.0.
|
|
|
|
Users who wish to continue to use Visual Studio 6.0 may choose
|
|
not to upgrade to future versions of HDF5. However, it is
|
|
recommended that all users consider making the switch to a
|
|
more current version of Visual Studio. An express version of
|
|
Visual Studio 2005 is available free from Microsoft, and is
|
|
full compatible with HDF5.
|
|
|
|
|
|
|
|
This short instruction is written for users who want to quickly
|
|
build HDF5 library and tools from the HDF5 source code package
|
|
with Microsoft Visual Studio 6.0 but do not want to know HDF5
|
|
building and installation details on Windows XP.
|
|
|
|
For detailed HDF5 build and install information, or if you have
|
|
trouble following any steps in the instructions, please refer to
|
|
INSTALL_Windows.txt for further information.
|
|
|
|
For users who would like to build and test HDF5 package from the
|
|
command line, please refer to
|
|
INSATLL_Windows_From_Command_Line.txt.
|
|
|
|
WARNINGS:
|
|
|
|
Please read CAREFULLY about HDF5 build and install preconditions and
|
|
notes in INSTALL_Windows.txt before starting below procedures.
|
|
|
|
========================================================================
|
|
STEP 1: Building HDF5 Libraries and Tools
|
|
========================================================================
|
|
|
|
1. Run batch file copy_hdf.bat.
|
|
|
|
Go to c:\MyHDFstuff\hdf5\windows and run copy_hdf.bat.
|
|
|
|
2. Open all.dsw workspace
|
|
|
|
Open the c:\MyHDFstuff\hdf5\windows_vs6\proj\all\all.dsw workspace.
|
|
|
|
3. (Optional) Disable C++ related projects
|
|
|
|
Remove the following projects from project "all" dependencies
|
|
ONLY if you prefer not to build HDF5 C++ libraries
|
|
|
|
dsets_cpp
|
|
dsets_cppdll
|
|
hdf5_cpp
|
|
hdf5_cppdll
|
|
testhdf5_cpp
|
|
testhdf5_cppdll
|
|
hdf5_hl_cpp
|
|
hdf5_hl_cppdll
|
|
hl_test_table_cpp
|
|
hl_test_table_cppdll
|
|
|
|
4. Select "Build", then Select "Set Active Configuration".
|
|
|
|
In "Project configurations", select the active configuration
|
|
|
|
"all -- Win32 Debug"
|
|
|
|
or
|
|
|
|
"all -- Win32 Release"
|
|
|
|
Then build project "all".
|
|
|
|
|
|
========================================================================
|
|
STEP 2: Testing HDF5 Libraries and Tools
|
|
========================================================================
|
|
|
|
HDF5 libraries and tools should be tested to make sure that they were
|
|
built correctly.
|
|
|
|
HDF5 libraries and tools can be tested with hdf5check.bat batch file
|
|
in c:\MyHDFstuff\hdf5 directory.
|
|
|
|
hdf5check.bat has four options:
|
|
|
|
hdf5check test HDF5 C library and tools only
|
|
|
|
hdf5check enablecpp test HDF5 C/C++ libraries and tools
|
|
|
|
|
|
|
|
Invoke a command prompt and run hdf5check with appropriate
|
|
options.
|
|
|
|
Test results are saved in two files:
|
|
|
|
c:\MyHDFstuff\hdf5\tests_results.txt
|
|
|
|
c:\MyHDFstuff\hdf5\check_results.txt.
|
|
|
|
In general, you only need to check tests_results.txt. If all the
|
|
tests passed, then you do not have to check check_results.txt.
|
|
If some tests failed, check check_results.txt can help you
|
|
figure out what was wrong.
|
|
|
|
========================================================================
|
|
STEP 3: Installing HDF5 Libraries
|
|
========================================================================
|
|
|
|
Run the batch file c:\MyHDFstuff\hdf5\installhdf5lib.bat to install
|
|
all HDF5 libraries and tools into c:\MyHDFstuff\hdf5\hdf5lib directory.
|
|
|
|
========================================================================
|
|
STEP 4: Building HDF5 Examples (Optional)
|
|
========================================================================
|
|
|
|
Please read about building examples in the main document, INSTALL_Windows.txt.
|
|
Note that these instructions use Visual Studio .Net project files. However,
|
|
similar 6.0 project files exist in the "windows_vs6" directory.
|
|
|
|
************************************************************************
|
|
Please send email to help@hdfgroup.org for further assistance
|