[Gdal-dev] MinGW & GDAL: "[Linker error] undefined reference..."
Norman Vine
nhv at cape.com
Wed May 26 20:39:37 EDT 2004
Jochen Kruger writes:
>
> I'm trying to use the gdal libraries with MinGW (Dev-C++) - but even
> after checking the respective threads in this newsgroup I can't get it
> to work. This is most likely rooted in my lack of experience with C/C++
> and/or the compilation and installation of libraries. I'm not a
> professional programmer, just someone in need of a specific tool, with
> no budget but enough enthusiasm to try it myself - so please bare with
> me if the following seems trivial to you:
>
> I need a working GCC library with HDF4 support for a tool essential for
> one of my projects. I tried to use the binary that came with OpenEV and
> also the one available from the gdal website, but with both I get the
> following errors when compiling my programme:
>
> "[Linker error] undefined reference to `GDALAllRegister'"
> "[Linker error] undefined reference to `GDALOpen'"
What is the command you are using to link the program
Note Win32 does not allow undefined symbols so the order of the libraries
presented to the linker is important
HTH
Norman
More information about the Gdal-dev
mailing list