Re: [D] Built the C++ library Error [incubator-graphar]

2024-08-23 Thread via GitHub


GitHub user acezen added a comment to the discussion: Built the C++ library  
Error

Hi, @DancyHuang, I can not reproduce the problem in Ubuntu 20.04, can you 
install the dependencies with 
[setup-ubuntu.sh](https://github.com/apache/incubator-graphar/blob/main/dev/release/setup-ubuntu.sh)
 and try to compile again?

GitHub link: 
https://github.com/apache/incubator-graphar/discussions/597#discussioncomment-10428219


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [D] Built the C++ library Error [incubator-graphar]

2024-08-20 Thread via GitHub


GitHub user DancyHuang deleted a comment on the discussion: Built the C++ 
library  Error

The issue is resolved now. It's possible that the Arrow version (17.0.0)is too 
high, so we might need to add the following code to the CMakeLists.txt file." 
![IMG_20240820_170403](https://github.com/user-attachments/assets/ec4b6ce8-d1ab-446c-80bb-91c7c2b06fd3)


GitHub link: 
https://github.com/apache/incubator-graphar/discussions/597#discussioncomment-10393683


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [D] Built the C++ library Error [incubator-graphar]

2024-08-20 Thread via GitHub


GitHub user DancyHuang added a comment to the discussion: Built the C++ library 
 Error

The issue is resolved now. It's possible that the Arrow version (17.0.0)is too 
high, so we might need to add the following code to the CMakeLists.txt file." 
![IMG_20240820_170403](https://github.com/user-attachments/assets/ec4b6ce8-d1ab-446c-80bb-91c7c2b06fd3)


GitHub link: 
https://github.com/apache/incubator-graphar/discussions/597#discussioncomment-10393683


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [D] Built the C++ library Error [incubator-graphar]

2024-08-19 Thread via GitHub


GitHub user DancyHuang added a comment to the discussion: Built the C++ library 
 Error

OS system: Ubuntu 20.04.6 LTS
GraphAr version :  master


GitHub link: 
https://github.com/apache/incubator-graphar/discussions/597#discussioncomment-10390743


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [D] Built the C++ library Error [incubator-graphar]

2024-08-19 Thread via GitHub


GitHub user acezen added a comment to the discussion: Built the C++ library  
Error

Can you give your environment message, like
- OS system
- GraphAr version or commit

GitHub link: 
https://github.com/apache/incubator-graphar/discussions/597#discussioncomment-10390660


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [D] Built the C++ library Error [incubator-graphar]

2024-08-19 Thread via GitHub


GitHub user DancyHuang added a comment to the discussion: Built the C++ library 
 Error

the version of the apache arrow17.0.0




At 2024-08-20 10:58:16, "Weibin Zeng" ***@***.***> wrote:

Hi, @DancyHuang , what is the version of the apache arrow in your environment?

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>

GitHub link: 
https://github.com/apache/incubator-graphar/discussions/597#discussioncomment-10390454


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [D] Built the C++ library Error [incubator-graphar]

2024-08-19 Thread via GitHub


GitHub user acezen edited a comment on the discussion: Built the C++ library  
Error

Hi, @DancyHuang , what is the version of the apache arrow in your environment? 

GitHub link: 
https://github.com/apache/incubator-graphar/discussions/597#discussioncomment-10390440


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [D] Built the C++ library Error [incubator-graphar]

2024-08-19 Thread via GitHub


GitHub user acezen added a comment to the discussion: Built the C++ library  
Error

Hi, @DancyHuang , what is version of the arrow in your environment? 

GitHub link: 
https://github.com/apache/incubator-graphar/discussions/597#discussioncomment-10390440


This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [D] Built the C++ library Error [incubator-graphar]

2024-08-19 Thread via GitHub


GitHub user DancyHuang edited a discussion: Built the C++ library  Error

When i  built the C++ library of GraphAr:

>>> cmake ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- [graphar] will build in type: Release
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Checking for module 'thrift'
--   Found thrift, version 0.13.0
CMake Warning at CMakeLists.txt:200 (message):
  apache-arrow is built without ORC extension, ORC related functionalities
  will be disabled.


-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread (found 
version "3.6.1") 
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/fh/newgraphar/graphar/cpp/build-release

>>> make -j
Scanning dependencies of target graphar
[  5%] Building CXX object 
CMakeFiles/graphar.dir/src/graphar/arrow/chunk_reader.cc.o
[ 11%] Building CXX object 
CMakeFiles/graphar.dir/src/graphar/arrow/chunk_writer.cc.o
[ 17%] Building CXX object 
CMakeFiles/graphar.dir/src/graphar/chunk_info_reader.cc.o
[ 23%] Building CXX object 
CMakeFiles/graphar.dir/src/graphar/chunk_info_writer.cc.o
[ 29%] Building CXX object CMakeFiles/graphar.dir/src/graphar/expression.cc.o
[ 35%] Building CXX object CMakeFiles/graphar.dir/src/graphar/filesystem.cc.o
/home/fh/newgraphar/graphar/cpp/src/graphar/filesystem.cc: In member function 
‘std::shared_ptr 
graphar::FileSystem::GetFileFormat(graphar::FileType) const’:
/home/fh/newgraphar/graphar/cpp/src/graphar/filesystem.cc:91:47: error: could 
not convert ‘std::make_shared(_Args&& ...) [with _Tp = 
arrow::dataset::CsvFileFormat; _Args = {}]()’ from 
‘shared_ptr’ to 
‘shared_ptr’
   91 | return std::make_shared();
  |~~~^~
  |   |
  |   
shared_ptr
/home/fh/newgraphar/graphar/cpp/src/graphar/filesystem.cc:93:51: error: could 
not convert ‘std::make_shared(_Args&& ...) [with _Tp = 
arrow::dataset::ParquetFileFormat; _Args = {}]()’ from 
‘shared_ptr’ to 
‘shared_ptr’
   93 | return std::make_shared();
  |~~~^~
  |   |
  |   
shared_ptr
/home/fh/newgraphar/graphar/cpp/src/graphar/filesystem.cc:95:48: error: could 
not convert ‘std::make_shared(_Args&& ...) [with _Tp = 
arrow::dataset::JsonFileFormat; _Args = {}]()’ from 
‘shared_ptr’ to 
‘shared_ptr’
   95 | return std::make_shared();
  |^~
  ||
  |
shared_ptr
In file included from /usr/include/c++/9/bits/shared_ptr_base.h:56,
 from /usr/include/c++/9/bits/shared_ptr.h:52,
 from /usr/include/c++/9/memory:81,
 from /usr/local/include/arrow/array/array_base.h:22,
 from /usr/local/include/arrow/array.h:41,
 from /usr/local/include/arrow/api.h:22,
 from 
/home/fh/newgraphar/graphar/cpp/src/graphar/filesystem.cc:23:
/usr/include/c++/9/ext/aligned_buffer.h: In instantiation of ‘struct 
__gnu_cxx::__aligned_buffer’:
/usr/include/c++/9/bits/shared_ptr_base.h:535:35:   required from ‘class 
std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Impl’
/usr/include/c++/9/bits/shared_ptr_base.h:596:13:   required from ‘class 
std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>’
/usr/include/c++/9/bits/shared_ptr_base.h:676:43:   required from 
‘std::__shared_count<_Lp>::__shared_count(_Tp*&, 
std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = 
arrow::dataset::CsvFileFormat; _Alloc = 
std::allocator; _Args = {}; 
__gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
/usr/include/c++/9/bits/shared_ptr_base.h:1344:71:   required from 
‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, 
_Args&& ...) [with _Alloc = std::allocator; 
_Args = {}; _Tp = arrow::dataset::CsvFileFormat; __gnu_cxx::_Lock_policy _Lp = 
__gnu_cxx::_S_atomic]’
/usr/include/c++/9/bits/shared_ptr.h:359:59:   required from 
‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) 
[with _Alloc = std::allocator; _Args = {}; _Tp = 
arrow::dataset::CsvFileFo