Ian Cook created ARROW-14260:
--------------------------------

             Summary: [C++] Linker error with Visual Studio 2019
                 Key: ARROW-14260
                 URL: https://issues.apache.org/jira/browse/ARROW-14260
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Ian Cook


The *test-build-vcpkg-win* nightly Crossbow job is failing with these linker 
errors:
{code:java}
 unity_1_cxx.obj : error LNK2019: unresolved external symbol 
"__declspec(dllimport) void __cdecl 
testing::internal2::PrintBytesInObjectTo(unsigned char const *,unsigned 
__int64,class std::basic_ostream<char,struct std::char_traits<char> > *)" 
(__imp_?PrintBytesInObjectTo@internal2@testing@@YAXPEBE_KPEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
 referenced in function "class std::basic_ostream<char,struct 
std::char_traits<char> > & __cdecl testing::internal2::operator<<<char,struct 
std::char_traits<char>,class std::_Vector_iterator<class 
std::_Vector_val<struct std::_Simple_types<class arrow::compute::ExecNode *> > 
> >(class std::basic_ostream<char,struct std::char_traits<char> > &,class 
std::_Vector_iterator<class std::_Vector_val<struct std::_Simple_types<class 
arrow::compute::ExecNode *> > > const &)" 
(??$?6DU?$char_traits@D@std@@V?$_Vector_iterator@V?$_Vector_val@U?$_Simple_types@PEAVExecNode@compute@arrow@@@std@@@std@@@1@@internal2@testing@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV23@AEBV?$_Vector_iterator@V?$_Vector_val@U?$_Simple_types@PEAVExecNode@compute@arrow@@@std@@@std@@@3@@Z)
 

unity_1_cxx.obj : error LNK2019: unresolved external symbol 
"__declspec(dllimport) class testing::AssertionResult __cdecl 
testing::internal::CmpHelperEQ(char const *,char const *,__int64,__int64)" 
(__imp_?CmpHelperEQ@internal@testing@@YA?AVAssertionResult@2@PEBD0_J1@Z) 
referenced in function "void __cdecl arrow::fs::AssertFileContents(class 
arrow::fs::FileSystem *,class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > const &,class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &)" 
(?AssertFileContents@fs@arrow@@YAXPEAVFileSystem@12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@1@Z)
 

unity_0_cxx.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) class testing::AssertionResult __cdecl 
testing::internal::CmpHelperEQ(char const *,char const *,__int64,__int64)" 
(__imp_?CmpHelperEQ@internal@testing@@YA?AVAssertionResult@2@PEBD0_J1@Z) 
{code}
Link to the error where it occurs in the full log: 
https://github.com/ursacomputing/crossbow/runs/3799925986#step:4:2737



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to