hi list, I tried to build gdal 1.6 on Windows XP using MS VC++ 6 and Python 2.5.2. I had to make two changes for it to pass VC6 compiler: (1) Replace "long long" with "__int64" in gdal-1.6.0\frmts\gtiff\libtiff\tif_ojpeg.c (2) edit gdal-1.6.0\frmts\grib\degrib18\degrib\fileendian.h so that 4 #include are outside of the extern "C" (3) and HDF4.2r2 has many compiling errors. I had to use older version HDF41r5
I then edited nmake.opt to change: GDAL_HOME, PYDIR, HDF4/5, PROJ, HAVE_NUMPY. gdal 1.6 seems to make ok. However when I use python "import gdal" It said: "ImportError: No module named _gdal". But there is _gdal.dll in local_install\pymod\ Is this gdal python binding problem? same import error occurred to others like _gtk.dll, _gv.dll, _gtkmissing.dll. thanks, Shawn
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
