Thank you Neal! I'll check those out and I appreciate the tips! Hi Antoine, I do include those. That's a reason I am especially confused, since I don't get any issue on including them. Although, interestingly, the error " 'arrow' does not name a type " is there whether or not I include the arrow headers. If they are not included though, compilation stops at that step.
Here's a gist to make it easier to see the difference. I've also included more code just for completeness. If there's anything else I can include that would be helpful, please let me know! https://gist.github.com/drin/d9f4400670eae69f5c367b37ca8c1b24 Aldrin Montana Computer Science PhD Student UC Santa Cruz On Tue, Jun 8, 2021 at 12:14 AM Antoine Pitrou <[email protected]> wrote: > On Fri, 4 Jun 2021 17:26:03 -0700 > Aldrin <[email protected]> wrote: > > Hello! > > > > I am trying to wrap some C++ code I have that uses arrow with R to enable > > users to continue working in R. Unfortunately, I get a compilation error > of > > `arrow does not name a type` when it gets to the return type of my > function > > which is > > `arrow::Result<std::shared_ptr<arrow::ipc::RecordBatchStreamReader>>`. I > > posted in RStudio in case this is purely a cpp11 library issue happening > ( > > https://community.rstudio.com/t/cpp11-does-not-name-a-type/106740). > > Did you include the Arrow headers? For example `#include "arrow/api.h"`? > > > >
