Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 21994

How to include a C++ library after I `make` it?

$
0
0

I followed the instructions to build arrow which is

git clone https://github.com/apache/arrow.gitcd arrow/cppmkdir releasecd releasecmake ..make

so now I want to make use of the libraries I have built

main.cpp

#include "parquet/arrow/writer.h"void main(int argc, char *argv[]) {    printf("ok")}

but it complains that

In file included from /home/xiaodai/git/arrow/cpp/src/parquet/arrow/writer.h:24:0,                 from main.cpp:1:/home/xiaodai/git/arrow/cpp/src/parquet/properties.h:30:10: fatal error: parquet/parquet_version.h: No such file or directory #include "parquet/parquet_version.h"          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

so how do I tell gcc to use the library I just built?


Viewing all articles
Browse latest Browse all 21994

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>