wgtmac commented on issue #36026:
URL: https://github.com/apache/arrow/issues/36026#issuecomment-2002322269
I'm now stuck at linking (same result at the master branch and 13.0.0
release tag, which I chose randomly)
```
Creating library
E:/projects/github/arrow/python/build/temp.win32-cpython-312/Release/arrow_python.lib
and object
E:/projects/github/arrow/python/build/temp.win32-cpython-312/Release/arrow_python.exp
gdb.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
class arrow::Result<class std::shared_ptr<class arrow::Array> >
__cdecl arrow::ipc::internal::json::ArrayFromJSON(class
std::shared_ptr<class arrow::DataType> const &,class
std::basic_string_view<char ,struct std::char_traits<char> >)"
(__imp_?ArrayFromJSON@json@internal@ipc@arrow@@YA?AV?$Result@V?$shared_ptr@VArray@arrow@@@std@
@@4@AEBV?$shared_ptr@VDataType@arrow@@@std@@V?$basic_string_view@DU?$char_traits@D@std@@@7@@Z),referenced
in function "class std::shared_ptr<classarrow::Array> __cdecl
arrow::gdb::`anonymous namespace'::SliceArrayFromJSON(class
std::shared_ptr<class arrow::DataType> const &,cl ass
std::basic_string_view<char,struct std::char_traits<char> >,__int64,__int64)"
(?SliceArrayFromJSON@?A0x9bed347f@gdb@arrow@@YA
?AV?$shared_ptr@VArray@arrow@@@std@@AEBV?$shared_ptr@VDataType@arrow@@@5@V?$basic_string_view@DU?$char_traits@D@std@@@5@_J2@Z)
[E:\projects\github\arrow\python\build\temp.win32-cpython-312\arrow_python.vcxproj]
gdb.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
class arrow::Result<class std::shared_ptr<class arrow::Array> >
__cdecl arrow::ipc::internal::json::ArrayFromJSON(class
std::shared_ptr<class arrow::DataType> const &,char const *)"
(__imp_?ArrayFromJ
SON@json@internal@ipc@arrow@@YA?AV?$Result@V?$shared_ptr@VArray@arrow@@@std@@@4@AEBV?$shared_ptr@VDataType@arrow@@@std@@PEBD@Z),referenced
in function "void __cdecl arrow::gdb::TestSession(void)"
(?TestSession@gdb@arrow@@YAXXZ)
[E:\projects\github\arrow\python\build\temp.win32-cpython-312\arrow_python.vcxproj]
gdb.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
class arrow::Status __cdecl
arrow::ipc::internal::json::ChunkedArrayFromJSON(class std::shared_ptr<class
arrow::DataType> const &,class std::vector<class std::basic_string<char,struct
std::char_traits <char>,class std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class std::al
locator<char> > > > const &,class std::shared_ptr<class arrow::ChunkedArray>
*)" (__imp_?ChunkedArrayFromJSON@json@internal@ipc@a
rrow@@YA?AVStatus@4@AEBV?$shared_ptr@VDataType@arrow@@@std@@AEBV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@
@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@7@PEAV?$shared_ptr@VChunkedArray@arrow@@@7@@
Z),referenced in function "void __cdecl arrow::gdb::TestSession(void)"
(?TestSession@gdb@arrow@@YAXXZ)
[E:\projects\github\arrow\python\build\temp.win32-cpython-312\arrow_python.vcxproj]
gdb.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
class arrow::Status __cdecl arrow::ipc::internal::json::ScalarFromJSON(class
std::shared_ptr<class arrow::DataType> const &,class
std::basic_string_view<char,struct std::char_traits<char> >,class std:
:shared_ptr<struct arrow::Scalar> *)"
(__imp_?ScalarFromJSON@json@internal@ipc@arrow@@YA?AVStatus@4@AEBV?$shared_ptr@VDataType@ar
row@@@std@@V?$basic_string_view@DU?$char_traits@D@std@@@7@PEAV?$shared_ptr@UScalar@arrow@@@7@@Z),referenced
in function "void __cdecl arrow::gdb::TestSession(void)"
(?TestSession@gdb@arrow@@YAXXZ)
[E:\projects\github\arrow\python\build\temp.win32-cpython-312\arrow_python.vcxproj]
E:\projects\github\arrow\python\build\temp.win32-cpython-312\Release\arrow_python.dll
: fatal error LNK1120: 4 unresolved externals
[E:\projects\github\arrow\python\build\temp.win32-cpython-312\arrow_python.vcxproj]
Compiling Cython CXX source for _csv...
Building Custom Rule E:/projects/github/arrow/python/CMakeLists.txt
Compiling Cython CXX source for _feather...
Building Custom Rule E:/projects/github/arrow/python/CMakeLists.txt
Compiling Cython CXX source for _fs...
Building Custom Rule E:/projects/github/arrow/python/CMakeLists.txt
Compiling Cython CXX source for _hdfsio...
Building Custom Rule E:/projects/github/arrow/python/CMakeLists.txt
Compiling Cython CXX source for _json...
Building Custom Rule E:/projects/github/arrow/python/CMakeLists.txt
Compiling Cython CXX source for _orc...
Building Custom Rule E:/projects/github/arrow/python/CMakeLists.txt
Compiling Cython CXX source for _pyarrow_cpp_tests...
Building Custom Rule E:/projects/github/arrow/python/CMakeLists.txt
error: command
'C:\\Users\\wgtmac\\.conda\\envs\\pyarrow-dev\\Library\\bin\\cmake.exe' failed
with exit code 1
```
If it is hard to make it work on my Windows PC, I will try to modify the CI
script to debug this in a pull request. :(
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]