[gdal-dev] Error LNK1120: 314 unresolved externals - When using Ogr C++ class on Visual Studio 2010
taibc
taibc_coltech at yahoo.com
Sun Jul 15 18:09:56 PDT 2012
Hi Dmitry,
I tried to do that, but still got errors:
/Error 36 error LNK2019: unresolved external symbol _CSLPartialFindString
referenced in function "public: int __thiscall
CPLStringList::PartialFindString(char const *)const "
(?PartialFindString at CPLStringList@@QBEHPBD at Z)
C:\Users\Administrator\Documents\Visual Studio
2010\Projects\CLCConverter\CLCConverter\main.obj CLCConverter
/
Thanks and regards,
Tai
Dmitry Baryshnikov wrote
>
>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at .osgeo
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> Try to add to preprocessor definitions:
>
> _WINDOWS
> STRICT
> _CRT_SECURE_NO_DEPRECATE
> _CRT_NONSTDC_NO_DEPRECATE
> _USRDLL
>
> Best regards,
> Dmitry
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at .osgeo
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
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-tp4988103p4988476.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list