[Gdal-dev] Build csharp swig (from real newbie)

Alan alankeown at southernphone.com.au
Mon Dec 4 14:02:33 EST 2006


Things are getting better...

gdal_ogr_csharp.dll
gdal_gdal_csharp.dll
gdal_gdalconst_csharp.dll
gdal_osr_csharp.dll

all build okay. 

link /dll /debug   ogr_wrap.obj      odbc32.lib odbccp32.lib user32.lib
..\..\gdal.lib /out:gdal_ogr_wrap.dll

fails with:

"Creating library gdal_ogr_wrap.lib and object gdal_ogr_wrap.exp
gdal.lib(mitab_tooldef.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) private: void __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Tidy(bool)"
(__imp_?_Tidy@?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@A
AEX_N at Z)"

and about 970 similar errors and then

" gdal_ogr_wrap.dll : fatal error LNK1120: 12 unresolved externals "

What can I do now? ;-)

AlanK




More information about the Gdal-dev mailing list