I can produce something isolated shortly - but really the questions is how can
one build a hello world type flight server that does something like
{
FlightServerBase server;
server.Serve();
//Yes I know this would fail at runtime but I just need to get there first
}
with a fully self contained CMake project (i.e. that doesn’t depend on having
arrow or it’s dependencies preinstalled).
If you have something like that that works, I can take it from there
Thank you
Radu
> On Aug 13, 2020, at 4:42 PM, Sutou Kouhei <[email protected]> wrote:
>
> Hi,
>
> Could you share a minimal CMake and C++ file set to
> reproduce your case?
>
>
> Thanks,
> --
> kou
>
> In <[email protected]>
> "Building an executable with arrow flight (C++)" on Thu, 13 Aug 2020
> 12:06:49 -0400,
> Radu Teodorescu <[email protected]> wrote:
>
>> Hello,
>> I am trying to build a server that uses arrow flight and getting into a bit
>> of a rabbit hole with dependency inclusion.
>> I have arrow included as an external project and so far everything has
>> worked really smoothly (I have executables building with arrow, parquet
>> arrow and I also have arrow flight libraty building fine).
>> When I try to build an executable that user flight lib, I am getting a
>> never-ending stream of missing dependencies (mostly grpc related).
>> The flight-test-server is building without any issues but I cannot see a
>> clean way to point my cmake to the same list of dependencies that are built
>> internally by arrow CMake stack (without duplicating a lot of the existing
>> arrow CMake and/or manually defining all the dependencies)
>>
>> I realize this is mostly a gRPC and CMake question, but I am hoping someone
>> had walked this road before or there is some public domain project I can use
>> as an integration reference.
>> Thank you
>> Radu