[Gdal-dev] Question on GDALAllRgister()

Andrey Kiselev dron at ak4719.spb.edu
Tue Dec 16 03:37:09 EST 2003


Hi,

On Mon, Dec 15, 2003 at 12:05:34PM -0800, Ke Zeng wrote:
> I am new to GDAL. I downloaded gdal project through CVS and compiled
> GDAL under my WinXP. Everything seems to be all right. Now I start to
> build a little test following GDAL API Tutorial. Test project under
> VC++6 is compiled and linked to gdal_i.lib OK. But when the test
> program hits GDALAllRegiter(), it keeps making assertion. At one
> point, it complained gdal.dll was not found. But I intent to use
> static library in my project. Did I miss anything? Please help.
> Thanks.

You should use /ML option instead of /MD in the OPTFLAGS parameter in
nmake.opt file. /ML instructs compiler to build the static library.


-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



More information about the Gdal-dev mailing list