Bravo

Best Regards,
Zimo Zhang


Sutou Kouhei <[email protected]> 于2022年5月17日周二 08:25写道:

> Hi,
>
> You'll be able to find ArrowFlightSql CMake package by
> adding -DArrowFLightSql_DIR=${ARROW_PREFIX}/lib/cmake/arrow
> CMake option.
>
> I'll fix this by
> https://issues.apache.org/jira/browse/ARROW-12175 .
>
>
> Thanks,
> --
> kou
>
> In <CAJLfL15M3tpuhJfi8j_H=_HwxCPUcXyu1T92te02HQZw0A=c...@mail.gmail.com>
>   "Re: arrow_flight_sql_static" on Mon, 16 May 2022 15:24:11 +0800,
>   Zmoey Zhang <[email protected]> wrote:
>
> > Thank you Sutou. But it didn't work and got error like
> >
> > By not providing "FindArrowFlightSql.cmake" in CMAKE_MODULE_PATH this
> >   project has asked CMake to find a package configuration file provided
> by
> >   "ArrowFlightSql", but CMake did not find one.
> >
> > And finally I used this and it worked.
> >
> > find_library(ARROW_FLIGHT_SQL_LIBRARY NAMES arrow_flight_sql REQUIRED)
> >
> > target_link_libraries(${TARGET_NAME}
> >         PUBLIC
> >             ${ARROW_FLIGHT_SQL_LIBRARY} ...
> >
> >
> > Best Regards,
> > Zimo Zhang
> >
> >
> > Sutou Kouhei <[email protected]> 于2022年5月14日周六 04:41写道:
> >
> >> Hi,
> >>
> >> It seems that you don't have
> >>
> >>   find_package(ArrowFlightSql REQUIRED)
> >>
> >> in your CMakeLists.txt. Could you confirm it?
> >>
> >>
> >> Thanks,
> >> --
> >> kou
> >>
> >> In <CAJLfL15v+CrF9+PSKWxFWjSQvmqwcma3CqT7a=ratwjaxax...@mail.gmail.com>
> >>   "arrow_flight_sql_static" on Fri, 13 May 2022 10:59:17 +0800,
> >>   Zmoey Zhang <[email protected]> wrote:
> >>
> >> > Hi there,
> >> >
> >> > I'm recently trying to write a flight sql server following the sqlite
> >> > example. However, it throws error "ld: library not found for
> >> > -larrow_flight_sql_static" during compiling. My arrow's installed via
> >> vcpkg
> >> > and I'm sure libarrow_flight_sql.a is in both
> installed/x64-osx/debug/lib
> >> > and installed/x64-osx/lib. And I have following code in the
> >> CMakeLists.txt
> >> >
> >> > ...
> >> > target_link_libraries(${TARGET_NAME}
> >> >         PUBLIC
> >> >             arrow_flight_sql_static gRPC::grpc++ protobuf::libprotobuf
> >> >             arrow_static ...
> >> >
> >> > I've checked arrow official doc but seems flight-sql-related content
> not
> >> > there yet. Do you have any idea how to fix this? Many thanks in
> advance.
> >> >
> >> >
> >> > Best Regards,
> >> > Zimo Zhang
> >>
>

Reply via email to