<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi,</div><div>I need to compile gdal with the HDF4-EOS extensions which I downloaded from here:</div><div>http://newsroom.gsfc.nasa.gov/sdptoolkit/TKDownload.html</div><div><br></div><div>Now the problem is similar to one mentioned back in <i>Sat Feb 25 11:09:32 EST 2012</i> where compilation stopped due to the following error:</div><div>hdf4imagedataset.cpp: In member function 'void HDF4ImageDataset::GetSwatAttrs(int32)':<br>hdf4imagedataset.cpp:1723: error: 'SWsdid' was not declared in this scope<br>hdf4imagedataset.cpp: In member function 'void HDF4ImageDataset::GetGridAttrs(int32)':<br>hdf4imagedataset.cpp:1833: error: 'GDsdid' was not declared in this scope<br>hdf4imagedataset.cpp: In member function 'int HDF4ImageDataset::ProcessSwathGeolocation(int32, char**)':<br>hdf4imagedataset.cpp:2218: warning: deprecated
 conversion from string constant to 'char*'<br>hdf4imagedataset.cpp:2240: warning: deprecated conversion from string constant to 'char*'<br>hdf4imagedataset.cpp:2252: warning: deprecated conversion from string constant to 'char*'<br>make[2]: *** [../o/hdf4imagedataset.lo] Error 1<br>make[1]: *** [hdf4-install-obj] Error 2<br>make: *** [frmts-target] Error 2<br><br></div><div>Now the difference is that I'm not compiling on Ubuntu but rather Mac OSX Lion (10.7.4) but obviously there is an issue with the gdal includes. Is there a fix for this?</div><div><br></div><div>Background: the normal gdal hdf4 driver does not handle MISR imagery correctly so I was hoping to include the newest HDF-EOS drivers into my gdal install.</div><div><br></div><div>Thanks in advance for your help,</div><div>Conrad :)<br></div><div><br></div></div></body></html>