1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * * * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the files COPYING and Copyright.html. COPYING can be found at the root * * of the source code distribution tree; Copyright.html can be found at the * * root level of an installed copy of the electronic HDF5 document set and * * is linked from the top-level documents page. It can also be found at * * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have * * access to either file, you may request a copy from help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<title>HDF5 Build and Install Instructions for Windows XP with MSVS .NET 2003</title>
<style type="text/css">
a {text-decoration:none}
a:link {color:#0000FF;}
a:visited {color:purple;}
a:hover {background-color:#FAEBD7;}
body {
margin-left:5%;
margin-right:5%
}
h1 {
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 180%;
font-style:bold;
color:#0000FF;
text-align:center;
text-transform:capitalize;
margin-top:30
}
h2 {
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 160%;
font-style:bold;
color:#0000FF;
text-align:center;
text-transform:capitalize;
margin-top:20
}
h3 {
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 140%;
font-style:bold;
color:#0000FF;
text-transform:capitalize;
margin-top:15
}
h4 {
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 120%;
font-style:bold;
color:#0000FF;
margin-top:12
}
h5 {
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 110%;
font-style:bold;
color:#0000FF;
margin-top:10
}
hr.first {color:#0000FF; height:4px;width:100%;magin-top:10px;margin-bottom:10px;border:thick double blue;}
hr.second{color:#0000FF;height:2px; width:100%;magin-top:5px;margin-bottom:5px;border:thin dotted;}
li{ margin-top:12;
}
p.right{text-align:right;color:#A52A2A;}
p {
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 110%;
text-align:left;
}
p.center {text-align:center}
p.note{
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 110%;
text-align:left;
color:#FF0000
}
p.filename
{
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 100%;
font-style:italic; color:#008000
text-align:center;
}
span.filename
{
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 95%;
font-style:italic; color:#800000
}
table {
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 100%;
text-align:left;
border:thin solid blue;
}
td {
font-family:font-family:times, arial, 'lucida console', sans-serif;
font-size: 95%;
text-align:left;
padding:10;
}
ul.normal
{
margin-left:10%;
list-style-type:none;
margin-bottom:15px;
}
ul.intable
{
text-align: left;
list-style-type:none;
}
</style>
</head>
<body>
<h1>HDF5 Build and Install Instructions for Windows XP with MSVS
.NET 2003</h1>
<h1>(Short Version)</h1>
<hr class="first">
<p class="note">Notes:</p>
<p>1. 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 .NET 2003 but do not want to know HDF5
building and installation details on Windows XP.</p>
<p>2. For detailed HDF5 build and install information, or if you
have trouble following any steps in the instructions, please refer to
INSTALL_Windows.html for further information.</p>
<p>3. For users who would like to build and test HDF5 package
from the command line, please refer to
INSATLL_Windows_From_Command_Line.txt.</p>
<p>4. For .Net and Intel users, If you are not in
building HDF5 with Thread-Safe Feature, ttsafedll.dsp should always be turned
off.</p>
<p class="note">Warnings: Please read CAREFULLY about <a href="http://hdfgroup.org/windows/INSTALL_Windows.html#preconditions" target="_blank">
HDF5 build and install preconditions and notes</a> before
starting below procedures.</p>
<hr class="second">
<h2>Preconditions:</h2>
<hr class="second">
<h3>a. Setup path Visual Studio .Net 2003 Compiler. </h3>
<p> Open "System" in Control Panel.</p>
<p>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) into "Variable Value" and click "OK". </p>
<h3>b. Set up path for external libraries and headers</h3>
<p>Skip this part if you don't want to use ANY compression
features provided by HDF5. Read <a href="http://hdfgroup.org/windows/INSTALL_Windows.html#section5" target="_blank">Section V in INSTALL_WINDOWS.html</a>.
</p>
<p>You have to read this part even if you want to only use Zlib
or Szip. You also need to read <a href="http://hdfgroup.org/windows/INSTALL_Windows.html#section5" target="_blank">Section V in INSTALL_WINDOWS.html</a>
. </p>
<p>Invoke Microsoft Visual C++ .Net and go to "Tools" and select
"Options". In the left pane of "Option" window poped up, choose and
extend "Projects", Click on "VC++ Directories". In the right pane, Find
the box "Show directories for", choose "Include files", if you can not
find your Zlib and Szip header path (for example, c:\zlib122\include,
c:\szip\include) from the directory list, add the header path
(c:\zlib122\include, c:\szip\include) to the included directories. </p>
<p>Find the box "Show directories for", choose "Library files",
If you cannot find your Zlib and Szip library path (for example,
c:\zlib122\lib, c:\szip\dll) from the directory list, add the library
path (c:\zlib122\lib, c:\szip\dll) to the library directories. </p>
<hr class="second">
<h2>STEP 1: Building HDF5 Libraries and Tools</h2>
<hr class="second">
<h3>1. Open all.dsw workspace</h3>
<p class="note">Notes:</p>
<p>Notes: all.sln is for command use only. Please open all.dsw
not all.sln.</p>
<p>Invoke Microsoft Visual C++ .Net 2003. From the main menu, go
to "File" and select "Open Solution". In the "Open Solution" window,
Change "Files of type" to "All Project Files". Choose "all.dsw" under
the directory c:\MyHDFstuff\hdf5\windows\proj\all. In the pop up
window, chooise "Yes To All" to convert all project files to Visual C++
.Net project format.</p>
<h3>2. Building HDF5 C and C++ Libraries </h3>
<p>Users can choose the desirable libraries to be built according
to the following describtion.</p>
<ul class="intable">
<li>
<h4>2.1 If you don't want to build HDF5 C++ Libraries</h4>
<p>Go to "Build" and select "Configuration Manager". Choose
"Release" or "Debug" under "Active Solution Configuration"</p>
<p>Disable the following projects:</p>
<ul class="normal">
<li>dsets_cpp </li>
<li>dsets_cppdll </li>
<li>hdf5_cpp </li>
<li>hdf5_cppdll </li>
<li>testhdf5_cpp </li>
<li>testhdf5_cppdll </li>
<li>hdf5_hl_cpp </li>
<li>hdf5_hl_cppdll</li>
<li>hl_test_table_cpp</li>
<li>hl_test_table_cppdll</li>
<li>ttsafedll</li>
</ul>
<p>Click on "OK", From the main menu, choose "Build"->
"Build" or "Rebuild ALL" to build both release and debug version of
HDF5 Libraries. </p>
</li>
<li>
<h4>2.2 If you don't want to build HDF5 Fortran Libraries</h4>
<p>Go to "Build" and select "Configuration Manager". Choose
"Release" or "Debug" under "Active Solution Configuration" </p>
<p>Disable the following projects:</p>
<ul class="normal">
<li>flush1_fortran </li>
<li>flush1_fortrandll </li>
<li> flush2_fortran </li>
<li>flush2_fortrandll </li>
<li>hdf5_f90cstub </li>
<li>hdf5_f90cstubdll </li>
<li>hdf5_fortran </li>
<li>hdf5_fortrandll </li>
<li>hdf5_hl_fortran </li>
<li>hdf5_hl_fortrandll </li>
<li>hdf5_hl_f90cstubdll</li>
<li>hl_test_image_fortran </li>
<li>hl_test_image_fortrandll</li>
<li>hl_test_lite_fortran </li>
<li>hl_test_lite_fortrandll</li>
<li>hl_test_table_fortran </li>
<li>hl_test_table_fortrandll</li>
<li>libtest_cstubdll </li>
<li>libtest_fortran </li>
<li>libtest_fortrandll </li>
<li>testhdf5_fortran </li>
<li>testhdf5_fortrandll</li>
<li>ttsafedll</li>
</ul>
<p>Click on "OK", From the main menu, choose "Build"->
"Build" or "Rebuild ALL" to build both release and debug version of
HDF5 Libraries. </p>
</li>
<li>
<h4>2.3 If you don't want to build HDF5 High-Level Libraries</h4>
<p>Go to "Build" and select "Configuration Manager". Choose
"Release" or "Debug" under "Active Solution Configuration" </p>
<p>Disable the following projects:</p>
<ul class="normal">
<li>hdf5_hl </li>
<li>hdf5_hldll</li>
<li>hl_test_image</li>
<li>hl_test_imagedll </li>
<li>hl_test_lite </li>
<li>hl_test_litedll</li>
<li>hl_test_table </li>
<li>hl_test_tabledll</li>
<li>hl_test_ds </li>
<li>hl_test_dsdll</li>
<li>hl_test_packet</li>
<li>hl_test_packetdll</li>
<li>ttsafedll</li>
</ul>
<p>Click on "OK", From the main menu, choose "Build"->
"Build" or "Rebuild ALL" to build both release and debug version of
HDF5 Libraries. </p>
</li>
<li>
<h4>2.4 If you don't want to build HDF5 C++
High-Level Libraries</h4>
<p>Go to "Build" and select "Configuration Manager". Choose
"Release" or "Debug" under "Active Solution Configuration" </p>
<p>Disable the following projects:</p>
<ul class="normal">
<li>hdf5_hl_cpp </li>
<li>hdf5_hl_cppdll</li>
<li>hl_test_table_cpp</li>
<li>hl_test_table_cppdll</li>
<li>ttsafedll</li>
</ul>
<p>Click on "OK", From the main menu, choose "Build"->
"Build" or "Rebuild ALL" to build both release and debug version of
HDF5 Libraries. </p>
</li>
<li>
<h4>2.5 If you don't want to build HDF5 Fortran High-Level
Libraries</h4>
<p>Go to "Build" and select "Configuration Manager". Choose
"Release" or "Debug" under "Active Solution Configuration".</p>
<p>Disable the following projects:</p>
<ul class="normal">
<li>hdf5_hl_fortran </li>
<li>hdf5_hl_fortrandll</li>
<li>hdf5_hl_f90cstubdll</li>
<li>hl_test_image_fortran </li>
<li>hl_test_image_fortrandll</li>
<li>hl_test_lite_fortran </li>
<li>hl_test_lite_fortrandll</li>
<li>hl_test_table_fortran </li>
<li>hl_test_table_fortrandll</li>
<li>ttsafedll</li>
</ul>
<p>Click on "OK", From the main menu, choose "Build"->
"Build" or "Rebuild ALL" to build both release and debug version of
HDF5 Libraries. </p>
</li>
</ul>
<hr class="second">
<h2> STEP 2: Testing HDF5 Libraries and Tools </h2>
<hr class="second">
<p>HDF5 libraries and tools should be tested to make sure that
they were
built correctly.</p>
<p>HDF5 libraries and tools can be tested with hdf5check.bat
batch file in c:\MyHDFstuff\hdf5 directory.</p>
<p>hdf5check.bat has four options:</p>
<div style="text-align: center;">
<table style="border: thin solid blue;" border="1">
<tbody>
<tr>
<th>Options</th>
<th>Illustration</th>
</tr>
<tr>
<td>
<p>hdf5check</p>
</td>
<td>
<p>test HDF5 C library and tools only</p>
</td>
</tr>
<tr>
<td>
<p>hdf5check enablecpp</p>
</td>
<td>
<p>test HDF5 C/C++ libraries and tools.</p>
</td>
</tr>
<tr>
<td>
<p>hdf5check enablefortran</p>
</td>
<td>
<p>test HDF5 C/FORTRAN libraries and tools</p>
</td>
</tr>
<tr>
<td>
<p>hdf5check enableall</p>
</td>
<td>
<p>test HDF5 C/C++/FORTRAN libraries and tools</p>
</td>
</tr>
</tbody>
</table>
</div>
<p>Invoke a command prompt window and run hdf5check with
appropriate options.</p>
<p>Test results are saved into file:</p>
<ul class="normal">
<li>c:\MyHDFstuff\hdf5\check_results.txt</li>
</ul>
<p>Check check_results.txt and there should be no failures at all.</p>
<p>If you want to test HDF5 libraries and tools one by one,
please refer to <a href="http://hdfgroup.org/windows/INSTALL_Windows.html#step2_section2" target="_blank">Section II, step 2 in INSTALL_Windows.html</a>.</p>
<hr class="second">
<p>Check check_results.txt and there should be no failures at all.</p>
<p>If you want to test HDF5 libraries and tools one by one,
please refer to <a href="http://hdfgroup.org/windows/INSTALL_Windows.html#step2_section2" target="_blank">Section II, step 2 in INSTALL_Windows.html</a>.</p>
<hr class="second">
<h2>STEP 3: Installing HDF5 Libraries</h2>
<hr class="second">
<p>Run the batch file c:\MyHDFstuff\hdf5\installhdf5lib.bat to
install all HDF5 libraries and tools into c:\MyHDFstuff\hdf5\hdf5lib
directory.</p>
<hr class="second">
<h2>STEP 4: Building HDF5 Examples (Optional)</h2>
<hr class="second">
<p>Please read <a href="http://hdfgroup.org/windows/INSTALL_Windows.html#step4_section2" target="_blank">section II, step 4 in INSTALL_Windows.html.</a></p>
<hr class="first">
<h4>Need further assistance? email to <a href="mailto:help@hdfgroup.org" style="text-decoration: none;">help@hdfgroup.org</a>
or go to <a href="http://hdfgroup.org/windows/questions.html" style="text-decoration: none;">http://hdfgroup.org/windows/questions.html</a>
to get help on windows</h4>
<h4 style="background-color: green; color: white; text-align: center; letter-spacing: 5px;">Thank
you for using Hierarchical
Data Format (HDF)</h4>
<p> </p>
<p> </p>
<p> </p>
</body>
</html>
|