Hi Zhenyu Lu, You need not install the plugin dll-s if you don't require the corresponding functionality. With regards to the dependent dll-s, you can use the -dev packages from http://www.gisinternals.com/sdk/ to compile your own versions using the following steps:
1. Download the -dev package according to your compiler version. 2. Extract the SDK files in a specific directory (like C:\builds) 3. Check out the gdal sources into this directory. 4. Edit makefile and comment out the unwanted dependecies, like: #GDAL_POSTGIS = YES 5. Open a Visual studio command prompt, and type: nmake gdal GDAL_DIR=[your gdal directory] Best regards, Tamas 2011/10/3 Zhenyu Lu <[email protected]> > Hi Tamas, > > Sorry for sending you email so late at night. I noticed that you're in > charge of maintaining the GDAL binary and SDK packages. I would say that > you've done a fatastic job so far for making so many GDAL binary and SDK > packages. I've downloaded two .msi files which worked great. So I'm thinking > that your knowledge might offer huge help for me. > I would like to ask you several questions regarding the binary and SDK > packages you've released. > I used to use the .dll files of GDAL 1.5.2 before, which were compiled by > myself using VS2005. Now I wrote a tool for students to use for their labs. > I suddenly realized that all the computers of my uniersity have installed > Windows 7 64bit operating system, and my previous compiled .dll files do not > work anymore. > So I downloaded the gdal-18-1400-x64-core.msi and installed it on > my computer. Compared with the previous .dll files, the newly created .dll > files has much larger size (maybe much more functions). I think it is mainly > because I must include some other .dll files (hdf5dll, geos_c, libmysql, > pdflib, and xerces-c_2_8.dll) to make it work. However, using my previously > compiled .dll file, I only need to include the gdal1.5.dll itself. So my > previous implementation has the file size of < 5 MB, but now the > implementation grows to more than 20 MB which make it hard to distribute. > Now I would like to ask is it possible for you to create .dll files or the > installation file to only include the gdal18.dll file without the other > plugin .dll files? Or is there a way for me to create such .dll files? > Hopefully I have made my questions straightforward. > Thank you so much if you could offer me some suggestions. > > -- Zhenyu Lu > SUNY-ESF > >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
