[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running Apache Arrow on Visual Studio

Hello. I have installed apache arrow C++ API on windows 10 , and all the tests are running fine.

But when I am trying to make my own c++ program using apache arrow I get this error :

“Severity             Code     Description         Project File         Line        Suppression State
Error      LNK2001               unresolved external symbol "__declspec(dllimport) class arrow::MemoryPool * __cdecl arrow::default_memory_pool(void)" (__imp_?default_memory_pool@arrow@@YAPEAVMemoryPool@1@XZ)                test       C:\Users\t_aggelosd\Desktop\test\test\test.obj 1              “

I think I have included all the additional include directories in in visual studio. Have I done something wrong ?

This is my code:
#include "stdafx.h"
#include <limits>
#include <new>
#include <cstdint>
#include <memory>
#include "arrow/util/visibility.h"
#include "arrow/memory_pool.h"
#include "arrow/array.h"
#include "arrow/allocator.h"
#include <algorithm>
#include <type_traits>
using arrow::Int64Builder;

int main()
    return 0;


Thanx for your time.