[ 
https://issues.apache.org/jira/browse/PARQUET-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048032#comment-16048032
 ] 

Wes McKinney commented on PARQUET-1029:
---------------------------------------

Yes, the header files are out of sync. I recommend using "make install" to 
install the libraries and header in some root, like this:

{code}
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$PARQUET_ROOT ..
make
make install
{code}

If you leave off the CMAKE_INSTALL_PREFIX, it will install in /usr/local. But 
you will also need to install Arrow separately. It's a good idea to install 
Arrow first, then build and install Parquet with {{$ARROW_HOME}} set. 

You can see an example of building both projects in succession at: 
http://arrow.apache.org/docs/python/development.html#environment-setup-and-build

> Attempting to import Parquet-Cpp to use in my own project
> ---------------------------------------------------------
>
>                 Key: PARQUET-1029
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1029
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>         Environment: 64 Bit Ununtu 14.04
>            Reporter: Saatvik
>            Priority: Minor
>              Labels: documentation, newbie, starter
>
> Relatively new to C++.
> I'm attempting to import Parquet-Cpp into my own C++ source code outside of a 
> project. I've added this questiond here as well: 
> https://stackoverflow.com/questions/44509984/importing-from-a-large-c-library,
>  
> https://stackoverflow.com/questions/44507840/linking-a-shared-library-from-a-large-github-project?noredirect=1.
>  Basically when I'm trying to link my source code to libparquet.so libraries 
> and header files, the compiler is successful but the linker fails with 
> undefined reference errors.
> I've written about the issue in a lot of detail in the questions above. If 
> required I can explain it again here?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to