Hello <br> <br> I couldn't build gdal with the new release , i have solve the link error , but after that i get many error "unresolved external ...", also i compared the structure of the two versions the are much different.<br> <br> I used older version which is HDF41r5 , the code compiled but you have to copy 4 lib library to gdal home which are hd415.lib, hm415.lib, hd415m.lib, hm415m.lib<br><br><b><i>Frank Warmerdam <warmerdam@pobox.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> salah jubeh wrote:<br>> I have edited gdal nmake.opt to specify the hdf location folder , i <br>> specefy it like this<br>> <br>> # Uncomment the following and update to enable NCSA HDF Release 4 support.<br>> HDF4_DIR = C:\projects\42r1-win\release<br>> HDF4_LIB = /LIBPATH:$(HDF4_DIR)\lib Ws2_32.lib<br>> <br>> why i get the link error<br>> <br>> LINK : fatal error LNK1104:
cannot open file 'HD421m.lib'<br>> <br>> I checked this file and it is exist in<br>> C:\projects\42r1-win\release\dll<br><br>Salah,<br><br>I would suggest you change to something like:<br><br>HDF4_DIR = C:\projects\42r1-win<br>HDF4_LIB = /LIBPATH:$(HDF4_DIR)\release\dll Ws2_32.lib<br><br>It seems the NCSA has changed the layout of their distributed<br>binaries.<br><br>> Also what is Ws2_32.! lib i have nothing like this in the HDF <br>> distribution folder.<br><br>It is a Microsoft library. I can't recall what it does, though you<br>could check in google.<br><br>Best regards,<br>-- <br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com<br>light and sound - activate the windows | http://pobox.com/~warmerdam<br>and watch the world go round - Rush | President OSGF, http://osgeo.org<br><br></blockquote><br><p>
                <hr size=1> Yahoo! Mail<br>
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=38867/*http://photomail.mail.yahoo.com">Use Photomail</a> to share photos without annoying attachments.