kamal_jo at yahoo.com
Mon Feb 17 07:45:07 EST 2003
I will go with ur choice and use GDLA as DLL,
can you tell me plz what are the names of the DLLs
that I have to reference in my application and what
are the header files to put in my application?
My application needs only to open a GeoTiff file and
save it as BMP.
--- Frank Warmerdam <warmerdam at pobox.com> wrote:
> Ayman Kamal wrote:
> > I want to use it as a statically linked library.
> > Can you give me more explanation building apon
> > fact?
> Since the 1.1.8 release I have added a "devinstall"
> target to the makefile.vc.
> This will copy all include files and the gdal_i.lib
> stub library to a target
> location specified in nmake.opt.
> However, if you want to link against static
> libraries instead of the stub
> library for use of the DLL things are substantially
> more complicated. I
> think you would need the following directories in
> your include path:
> You will need to link against the following library
> If you are building a Visual Studio project you will
> also need to ensure
> that you use compatible compile options for the GDAL
> static libraries and
> your project. It is likely best to modify the
> OPTFLAGS macro in the nmake.opt
> file to match your visual studio project and rebuild
> I would stess though, that using the DLL is the
> preferred mechanism for using
> GDAL. It is easier to build.
> Good luck,
> I set the clouds in motion - turn up | Frank
> Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows |
> and watch the world go round - Rush | Geospatial
> Programmer for Rent
> Gdal-dev mailing list
> Gdal-dev at remotesensing.org
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
More information about the Gdal-dev