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

taibc taibc_coltech at yahoo.com
Thu Jul 12 20:56:53 PDT 2012


Hi everyone,

I am trying to use Ogr C++ class on Visual Studio 2010. I created an new
empty Visual C++ project (Win 32 Console Application). Then added Ogr files
into project, then buid it.

I got the errors similar as below: 

/Error	147	error LNK2001: unresolved external symbol "private: virtual int
__thiscall OGRLinearRing::_exportToWkb(enum OGRwkbByteOrder,int,unsigned
char *)const " (?_exportToWkb at OGRLinearRing@@EBEHW4OGRwkbByteOrder@@HPAE at Z)
c:\Users\administrator\documents\visual studio
2010\Projects\CLCConverter\CLCConverter\main.obj	CLCConverter/

Do you know how to fix it ?

Thanks and regards,

Tai

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list