Closed zhouhaoan closed 1 year ago
DataFrame is not a header-only library. You have to build the DataFrame library first, then your executable has to link with DataFrame library. Depending on your environment, you may have to link with other system libraries too.
Follow the instructions in README to build it using CMake. Or alternatively you can look at my makefiles in the src directory as a guid to build your own makefiles -- although I recommend CMake.
DataFrame is not a header-only library. You have to build the DataFrame library first, then your executable has to link with DataFrame library. Depending on your environment, you may have to link with other system libraries too.
Follow the instructions in README to build it using CMake. Or alternatively you can look at my makefiles in the src directory as a guid to build your own makefiles -- although I recommend CMake.
Thanks, I got it. I have to link to libDataFrame.a by a -l
flag.
I have built the latest code(commit:9c9e949 ) in the repository and installed it. When I tried to compile the 'examples/hello_world.cc', a lot of link errors raised.
My compile instruction is
g++ -o hello_test hello_world.cc -g -std=c++17 -I/usr/local/include
Here are versions of my tools:
here are error outputs: