arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmala S <>
Subject default memory pool in macOS
Date Thu, 21 Mar 2019 07:34:59 GMT

I am a newbie to Arrow. I am trying to create a default memory pool and use
it to allocate, store and read some stuff using C++ libraries.

My code looks like below

int initializeArrow(int64_t memSize, uint8_t **memStart) {
    arrow::MemoryPool* pool = arrow::default_memory_pool();

    arrow::Status status = pool->Allocate(memSize, memStart);
    if (status.ok()) {
        return 0;

    return 1;

I am getting an error like below,

Undefined symbols for architecture x86_64:
  "arrow::default_memory_pool()", referenced from:
      initializeArrow(long long, unsigned char**) in main.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see

I looked into
as well older stuff on the user mailing list without avail. Can someone
help ?

Thanks in advance

View raw message