The command is exactly what I need. Thanks a lot.
Song > 2020年7月11日 上午6:21,Sutou Kouhei <k...@clear-code.com> 写道: > > Hi, > > Here is the smallest command line to build with c_glib: > > gcc -o XXX XXX.c $(pkg-config --cflags --libs arrow-glib) > > We don't provide tutorial yet. Sorry. > > We provide only API > reference https://arrow.apache.org/docs/c_glib/ and some > examples > https://github.com/apache/arrow/tree/master/c_glib/example > for now. > > > Thanks, > -- > kou > > In <caef0b82-4daf-4648-b038-74c7e0fa8...@hashdata.cn> > "How can I use "C" API of arrow in other projects?" on Fri, 10 Jul 2020 > 17:14:26 +0800, > 宋东晓 <songdongx...@hashdata.cn> wrote: > >> Hi all, >> >> I’m working on a project which uses libarrow to scan and compute. >> The project is implemented by “C”, I have found that arrow contains c_glib >> as the API for “C” code. >> I can compile and install c_glib, but have no idea how to use it. >> >> My project is organized by Makefiles, do I have to write a Makefile. >> <http://makefile.in/>am to generate Makefiles for my code using c_glib? >> If I write compiling command by hand, what parameters should be added? >> Or is there any tutorial to get start with? >> >> Thanks for help. >> >> Dongxiao Song