acezen opened a new issue, #627:
URL: https://github.com/apache/incubator-graphar/issues/627
### Describe the bug, including details regarding any error messages,
version, and platform.
### build graphar with arrow from source
```bash
cmake .. -DBUILD_ARROW_FROM_SOURCE=ON -DGRAPHAR_BUILD_STATIC=ON
make -j && sudo make install
```
### write a `show.cc` and link graphar
```c++
#include "graphar/graph_info.h"
#include "iostream"
int main() {
std::string path =
"/workspaces/incubator-graphar/testing/neo4j/MovieGraph.graph.yml";
auto graph_info = graphar::GraphInfo::Load(path);
std::cout << graph_info.value()->Dump().value() << std::endl;
}
```
```cmake
cmake_minimum_required(VERSION 3.15)
project(import)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wall")
set(TARGET show)
find_package(OpenSSL REQUIRED)
find_package(graphar REQUIRED)
add_executable(${TARGET} show.cc)
target_link_libraries(${TARGET} PRIVATE graphar)
```
### build
```
cmake . & make
```
got link error:
`/usr/bin/ld: can not find -lgar_arrow_static: No such file or directory`
### Component(s)
C++
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]