[gdal-dev] Error LNK1120: 314 unresolved externals - When using Ogr C++ class on Visual Studio 2010

Mateusz Loskot mateusz at loskot.net
Fri Jul 13 01:19:56 PDT 2012


> 13.07.2012 11:18, taibc пишет:
>
> What are exported classes/methods ?

http://gdal.org/annotated.html
http://gdal.org/ogr/annotated.html

> I only created a file: main.cpp to show the word "Hello", and added Ogr files into my project, then built it.
>
> Please see the attached file.
>
> My idea is: I will create functions in the main.cpp file that use methods of Ogr class to allow convert .dgn files to shape files.

Read the last paragraph of "Building From Source" section

http://trac.osgeo.org/gdal/wiki/BuildingOnWindows

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list