Skip to content

csv plugin link error on windows #1491

Closed
springmeyer opened this Issue Sep 17, 2012 · 0 comments

1 participant

@springmeyer
Mapnik member

msvc.link.dll build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.input
   Creating library build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.lib and object build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.exp
csv_datasource.obj : error LNK2019: unresolved external symbol "public: bool __thiscall mapnik::json::geometry_parser<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > >::parse(class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class boost::ptr_vector<class mapnik::geometry<double,class mapnik::vertex_vector>,struct boost::heap_clone_allocator,class std::allocator<void *> > &)" (?parse@?$geometry_parser@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@json@mapnik@@QAE_NV?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0AAV?$ptr_vector@V?$geometry@NVvertex_vector@mapnik@@@mapnik@@Uheap_clone_allocator@boost@@V?$allocator@PAX@std@@@boost@@@Z) referenced in function __catch$??$parse_csv@V?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@csv_datasource@@QBEXAAV?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@11@Z$2
csv_datasource.obj : error LNK2019: unresolved external symbol "public: bool __thiscall mapnik::wkt_parser::parse(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class boost::ptr_vector<class mapnik::geometry<double,class mapnik::vertex_vector>,struct boost::heap_clone_allocator,class std::allocator<void *> > &)" (?parse@wkt_parser@mapnik@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$ptr_vector@V?$geometry@NVvertex_vector@mapnik@@@mapnik@@Uheap_clone_allocator@boost@@V?$allocator@PAX@std@@@boost@@@Z) referenced in function __catch$??$parse_csv@V?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@csv_datasource@@QBEXAAV?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@11@Z$2
csv_datasource.obj : error LNK2019: unresolved external symbol "public: __thiscall mapnik::json::geometry_parser<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > >::~geometry_parser<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > >(void)" (??1?$geometry_parser@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@json@mapnik@@QAE@XZ) referenced in function __catch$??$parse_csv@V?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@csv_datasource@@QBEXAAV?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@11@Z$2
csv_datasource.obj : error LNK2019: unresolved external symbol "public: __thiscall mapnik::json::geometry_parser<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > >::geometry_parser<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > >(void)" (??0?$geometry_parser@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@json@mapnik@@QAE@XZ) referenced in function __catch$??$parse_csv@V?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@csv_datasource@@QBEXAAV?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@11@Z$2
csv_datasource.obj : error LNK2019: unresolved external symbol "public: __thiscall mapnik::wkt_parser::wkt_parser(void)" (??0wkt_parser@mapnik@@QAE@XZ) referenced in function __catch$??$parse_csv@V?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@csv_datasource@@QBEXAAV?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@11@Z$2
build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.input : fatal error LNK1120: 5 unresolved externals

        call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DLL /MACHINE:X86 /subsystem:console /out:"build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.input" /IMPLIB:"build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.lib" /LIBPATH:"c:\dev2\boost-49-vc100\lib" /LIBPATH:"c:\dev2\icu\lib"   @"build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.input.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

...failed msvc.link.dll build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.input build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.lib...
...removing build\plugins\input\csv\msvc-10.0\release\threading-multi\csv.lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.