Hi Cedric, I have used VSCode with Cmake Tools as follows. 1. Install CMake tools 2. Set cpp/CMakeLists.txt as the root 3. Set the cmake variables of your choice. [1] 4. Run/ debug targets
For debugging you can check these [1] https://arrow.apache.org/docs/developers/cpp/building.html [2] https://arrow.apache.org/docs/cpp/gdb.html [3] https://arrow.apache.org/docs/developers/python.html#debugging On Mon, Apr 18, 2022 at 12:55 PM Cedric Yau <[email protected]> wrote: > Thanks Will. Will definitely look into your website and the docs. > Someone has offered to help. So looking forward to sharing my experience > as well with pointers back to the group. :) > > On Mon, Apr 18, 2022 at 11:56 AM Will Jones <[email protected]> wrote: > >> Hi Cedric, >> >> I don't think I can provide direct help at this time, but I can provide a >> few initial pointers. >> >> For VS Code, I recently created a blog post on how to set up on Windows >> for Arrow R package development. [1] The equivalent setup for MacOS pyarrow >> development is very similar, with some slightly different configuration. >> Would be happy to share those config files if that interests you. >> >> It's been many years since I last worked with C++ so I'll need help >>> working with getting the libraries linked and working as well as syntax >>> changes for C++11 and beyond. >> >> >> Our C++ codebase is C++11 but with many important internal types added. >> Depending on what you'll be looking at, one or more of these header files >> are worth a read: >> >> 1. cpp/src/arrow/status.h >> 2. cpp/src/arrow/result.h >> 3. cpp/src/arrow/util/optional.h >> 4. cpp/src/arrow/util/iterator.h >> 5. cpp/src/arrow/util/future.h >> >> Finally, bonus points for being able to explain how the Cython/PyArrow >>> integration works. >>> >> >> In the dev version of the doc, we have a pretty good overview of this [2]. >> >> Best, >> >> Will Jones >> >> [1] >> https://www.datawill.io/2022/04/02/windows-apache-arrow-development-environment-with-rtools-4-0/ >> [2] >> https://arrow.apache.org/docs/dev/python/getting_involved.html#pyarrow-architecture >> >> >> On Sun, Apr 17, 2022 at 6:09 PM Cedric Yau <[email protected]> wrote: >> >>> I have been a user of PyArrow for the past couple years, and would like >>> help getting my Macbook environment setup to work with Apache Arrow in >>> C++. It's been many years since I last worked with C++ so I'll need help >>> working with getting the libraries linked and working as well as syntax >>> changes for C++11 and beyond. >>> >>> I would like be able to run and debug and step through these examples: >>> >>> - https://github.com/apache >>> /arrow/blob/master/cpp/examples/arrow/compute_and_write_csv_example.cc >>> - https://github.com/apache >>> /arrow/blob/master/cpp/examples/parquet/parquet_arrow/reader_writer.cc >>> >>> Finally, bonus points for being able to explain how the Cython/PyArrow >>> integration works. I see the .pyx files in the source code ( >>> https://github.com/apache/arrow/tree/master/python/pyarrow), but I do >>> not understand how the packaging all fits together. >>> >>> Best, >>> >>> Cedric >>> >> > > -- > Cedric Yau > [email protected] > -- Niranda Perera https://niranda.dev/ @n1r44 <https://twitter.com/N1R44>
