2001-07-10 02:34:08 +08:00
|
|
|
|
2001-07-19 05:08:59 +08:00
|
|
|
Instructions for Building the HDF5 Library, Tests, and Tools
|
|
|
|
with the Metrowerks Code Warrior Compiler
|
|
|
|
---------------------------------------------------------------------------
|
2001-07-10 02:34:08 +08:00
|
|
|
|
2003-05-06 06:25:58 +08:00
|
|
|
The HDF5 library is supported under the Metrowerks Code Warrior version 8.0 compiler.
|
2001-07-19 05:08:59 +08:00
|
|
|
The Code Warrior port of the HDF5 library has been tested only on the
|
|
|
|
Windows NT platform.
|
2003-05-13 00:36:32 +08:00
|
|
|
The following instructions assume we will be using the path D:\hdf5 for installing the library.
|
|
|
|
|
2003-05-31 16:51:31 +08:00
|
|
|
------------------------------------------------------------------------
|
2003-05-13 00:36:32 +08:00
|
|
|
Pre conditions:
|
2003-05-31 16:51:31 +08:00
|
|
|
-------------------------------------------------------------------------
|
|
|
|
Both the ZLIB and SZIP libraries are needed to link with HDF5.
|
|
|
|
The Code Warrior project file settings assumes ZLIB is intalled in D:\zlib\zlib.lib and SZIP is installed in
|
|
|
|
D:\szip\codewarrior\szip.lib
|
|
|
|
These precompiled libraries can be obtained from the HDF web site, please see hdf.ncsa.uiuc.edu for
|
|
|
|
downloading instructions.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------
|
|
|
|
Setup
|
|
|
|
--------------------------------------------------------------------------
|
2001-07-19 05:08:59 +08:00
|
|
|
|
2003-05-13 00:36:32 +08:00
|
|
|
1. Unpack the file all.zip located in d:\hdf5\windows to d:\. This file contains
|
|
|
|
the Windows specific files of HDF5.
|
2001-07-19 05:08:59 +08:00
|
|
|
|
2003-05-31 16:51:31 +08:00
|
|
|
To build the HDF5 library with Code Warrior:
|
2003-05-13 00:36:32 +08:00
|
|
|
1. Open the project file hdf5.mcp (located in d:\hdf5\proj\codewarrior\).
|
2001-07-19 05:08:59 +08:00
|
|
|
2. To build the library:
|
|
|
|
Select the 'hdf5' target and build (menu Projects-> Make or F7 key).
|
|
|
|
3. To build all the targets (HDF5 library, test, and tools):
|
|
|
|
Select the 'all' target and build.
|
|
|
|
4. To run the tests in a command line window:
|
2003-05-13 00:36:32 +08:00
|
|
|
In the command line window, change directory to d:\hdf5\test\.
|
2001-07-19 05:08:59 +08:00
|
|
|
Type
|
|
|
|
Hdf5test debug
|
|
|
|
or, to redirect the output to a file called myfile.txt,
|
|
|
|
Hdf5test debug > myfile.txt
|
|
|
|
The test and tools files are generated in the same directory as
|
|
|
|
the those compiled with the Microsoft Visual Studio compiler.
|
2001-07-10 02:34:08 +08:00
|
|
|
5. Enjoy.
|
|
|
|
|
2002-11-27 00:19:54 +08:00
|
|
|
|
2001-07-19 05:08:59 +08:00
|
|
|
---------------------------------------------------------------------------
|
|
|
|
The HDF Group would like to thank Ron Liechty of Metrowerks technical
|
|
|
|
support for all the help provided during the development of this project.
|
2001-07-10 02:34:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
|