File: Install_HDFEOS_WIN.readme.txt

package info (click to toggle)
hdf-eos4 2.20v1.00-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 34,028 kB
  • sloc: ansic: 46,955; sh: 23,547; fortran: 15,467; csh: 1,098; makefile: 633
file content (239 lines) | stat: -rwxr-xr-x 8,460 bytes parent folder | download
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
#-----------------------------------------------------------------------------
# filename:
#       Install_HDFEOS_WIN.README
#
# description:
#       Installation instruction for HDFEOS2.20 on Windows xp
#       
# author:
#       Subing Zeng/ Raytheon STX Corp.
#       Phuong Nguyen/ L3 Communication, GSI.
#       Abe Taaheri/ Raytheon SSI
#
# history:
#       02-Aug-1999 Second version
#       11-OCT-1999 Third version( starting with Fortran support)
#	  06-Jul-2005 Version 2.13
#	  19-Feb-2006 Version 2.14
#	  27-Feb-2008 Version 2.15
#         15-Jun-2009 Version 2.16
#         19-Aug-2010 Version 2.17
#         14-Dec-2011 Version 2.18
#         05-Nov-2013 Version 2.19
#         05-Oct-2017 Version 2.20
#-----------------------------------------------------------------------------
              
The instructions which follow assume that you will be using
the 'zip' files that we provide: hdfeos2_20b.zip (binary file 
for Windows xp) and hdfeos2_20.zip (source code file along with binaries). 
Also we have been using "Microsoft Visual Studio 2013" for our windows 
developement. 


Building from Binary Code Release (hdfeos2_20b.zip)
===============================================
To install the HDFEOS with the prebuilt libraries, it is assumed that 
you have done the following:      

      NOTE: THE FOLLOWING INTSTRUTIONS SHOULD BE FINE FOR xp

      1. Download hdfeos2_20b.zip from 
      ftp://edhs1.gsfc.nasa.gov/edhs/hdfeos/latest_release/windows/, 

      2. On you window, create a directory structure to unpack the 
	source file. For example: 
	F:\					(any drive)
   	MyHDFEOS\				(any folder name)
        

      3. Copy the hdfeos2_20b.zip to that directory and unpack it by running 
	WinZip on it.This should create the following directories: hdfeos, 
	hdf4.2.13_win_x86, jpeg9b-vs2013, zlib1211-dll, and 
	szip21-vs2013-noenc (no- encoder) 	

	The libraries and include files for hdfeos2.20 are inside:
	F:\MyHDFEOS\hdfeos\lib		(Release versions of hdfeos and gctp
					libraries (hdfeos.lib, gctp.lib))
					(Debug versions of hdfeos and gctp
					libraries (hdfeosd.lib, gctpd.lib))

	F:\MyHDFEOS\hdfeos\include		( HDFEOS include files )

   	Inside the directories hdf4.2.13_win_x86, jpeg6b-vs2013, zlib1211-dll, 
	and szip211-vs2013-noenc ( or szip211-vs2013-enc) you can find their 
	include files and libraries (hd4213.lib, hm4213.lib, xdr.lib, zdll.lib, 
	libjpeg.lib and szlib.lib).

      4. Run your "Microsoft Visual Studio" application.
	
	Assumed you have installed HDF4.2.13 on 
            
	F:\MyHDF\hdf4213-win32\

	To specify the header files and linking in the HDFEOS libraries:
	Select Tools->Options->Projects and Solutions->C++Directories->
	"Show directories for"->"Include files", add the following directories:
	
	$(VCInstallDir)include
        $(VCInstallDir)atlmfc\include
        $(WindowsSdkDir)\include
        $(FrameworkSDKDir)include
	F:<path to jpeg>\include  
	F:<path to zlib>\include
	F:<path to szlib>\include      
        F:<path to HDF>\include 
        F:<path to HDFEOS>\include 

	Select Tools->Options->Projects and Solutions->VC++Directories->
	"Show directories for"->"Library files", add the following directories:

	$(VCInstallDir)lib
	$(VCInstallDir)atlmfc\lib
	$(VCInstallDir)atlmfc\lib\i386
	$(WindowsSdkDir)\lib
	$(FrameworkSDKDir)lib
	$(VSInstallDir)
	$(VSInstallDir)lib
	F:<path to jpeg>\lib 
	F:<path to zlib>\lib
	F:<path to szlib>\lib
	F:<path to HDF>\lib
	F:<path to HDFEOS>\lib\WIN

	NOTE: Please note that you may need some other include and lib 
	directories, depending on your application. Please see 
	Compile_WIN.readme.txt inside for more details.


Building from Source Code Release (hdfeos2_20.zip)
===============================================

STEP I:  Preconditions

To build the HDFEOS, it is assumed that you have done the following:
      
      1. Installed MicroSoft Visual Studio 2013 (or higher)
    
      2. Installed jpeg, szip and zlib (see install_jpeg_zlib_szip.txt)
	(See step 4)
         
      3. Installed HDF version4.2.13
	(see step 4)
      4. Set up a directory structure to unpack the library. For 
      	example: 

	    	F:\				(any drive)
           	MyHDFEOS\			(any folder name)

      5. Copy the source distribution archive to that directory and unpack it 
      using WinZip on hdfeos2_20.zip. Exract all including 'hdfeos2.19'.  The 
      directory hdfeos2.19 will contain hdfeos and 'hdfeos_dev' directories. 
      The directory 'hdfeos_dev' contains several files and directories for 
      Windows, and the 'hdfeos' directory contains hdfeos source code package.

STEP II: Build HDFEOS library

INSTRUCTIONS FOR INSTALLATION           

      1. Open  F:\myHDFEOS\hdfeos_dev\hdfeos.dsw to begin building the 
	 Developer Studio project.
         
      2. Select Tools->Options->Projects and Solutions->VC++Directories->
	 "Show directories for"->"Include files", add the following 
	 directories:
               
	 $(VCInstallDir)include
	 $(VCInstallDir)atlmfc\include
	 $(WindowsSdkDir)\include
	 $(FrameworkSDKDir)include
	 F:<path to jpeg>\include  
	 F:<path to zlib>\include
	 F:<path to szlib>\include      
	 F:<path to HDF>\include 
	 F:<path to HDFEOS>\include 

      3. Select Tools->Options->Projects and Solutions->VC++Directories->
	 "Show directories for"->"Library files", add the following 
	 directories:

	 F:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT
	 $(VCInstallDir)lib
	 $(VCInstallDir)atlmfc\lib
	 $(VCInstallDir)atlmfc\lib\i386
	 $(WindowsSdkDir)\lib
	 $(FrameworkSDKDir)lib
	 $(VSInstallDir)
	 $(VSInstallDir)lib
	 F:<path to jpeg>\lib 
	 F:<path to zlib>\lib
	 F:<path to szlib>\lib
	 F:<path to HDF>\lib

      4. Select gctp (and once is done repeat for hdfeos) project. On the 
	 Project menu selectProject->Properties.
         Select "General" under "Configuration Properties". In the selection 
	 window for "Configuration Type" select "Static Library(.lib)" option 
	 to create output as library.

	 Select folder C/C++->Preprocesssor.
	 Add the following to "Preprocessor definitions" if they are not there 
	 alraedy: 
	 VISUAL_CPLUSPLUS, INTEL86	 

      5. Select "Build", then Select "Configuration Mangger".
	 Select "Debug" in "Active Solution Configuration" window, check mark 
	 hdfeos and gctp build boxes and change Configuration to Debug for both
	 projects.
	 Select "Build" and "Build Solutions" to
	 build the Debug version of the hdfeos and gctp tree.

      6. Select "Build", then Select "Configuration Mangger".
	 Select "Release" in "Active Solution Configuration" window, check 
	 mark hdfeos and gctp build boxes and change Configuration to Release 
	 for both projects.
	 Select "Build" and "Build Solutions" to build the Release version 
	 of the hdfeos and gctp tree.

	 Please note that you have a choice of building gctp and hdfeos 
	 separately.

      7. Please check "Release" and "Debug" directories under 
	 F:\myHDFEOS\hdfeos_dev\hdfeos and F:\myHDFEOS\hdfeos_dev\gctp to 
	 make sure that libraries have been created sucessfully.

      8. In command prompt window run the installation batch commands 
	 win32ins.bat
	 in the directory F:\myHDFEOS\hdfeos_dev, Or double click on
	 "F:\myHDFEOS\hdfeos_dev\win32ins.bat" file. This will copy *.lib 
	 files to F:\MyHDFEOS\hdfeos\lib\WIN directory and will remove some 
	 temporary files, debug and release directories, and all other lib 
	 directories under "F:\MyHDFEOS\hdfeos\lib" directory (if they exist).

      9. If you are building an application that uses the HDFEOS library,
	 Please refer to the 
	 <HDFEOS directory>\hdfeos_dev\compile_WIN.readme.txt 
	 file for more information on compiling an application with the 
	 HDFEOS libraries on Windows.

MORE HELPFUL POINTERS
=====================

Settings... details:
  If you create your own project, the necessary settings can be
  read from the hdfeos.dsw file(as text), or from the
  Project Settings in the Developer Studio project settings 
  dialog.

    Project
	  Settings
	      C/C++
		  Category
		     PreProcessor
			 Code Generation
			    Use run-time Library
				   These are all set to use Single-Threaded.
				   or Single-Threaded debug.