You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by Renato Marroquín Mogrovejo <re...@gmail.com> on 2018/08/19 14:45:53 UTC
Error building parquet-cpp
Hi all,
I am trying to build parquet-cpp (tag/apache-parquet-cpp-1.4.0-rc1) with
arrow/cpp (tag/apache-arrow-0.10.0)
I am using:
g++-5 (Debian 5.5.0-12) 5.5.0 20171010
Arrow/cpp builds and compiles successfully. But when building parquet-cpp,
I am getting many errors as the following.
/mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/writer.cc:278:19:
error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> data_buffer;
^
/mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/writer.cc:278:29:
error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> data_buffer;
^
/mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/writer.cc:281:19:
error: ‘PoolBuffer’ was not declared in this scope
std::shared_ptr<PoolBuffer> def_levels_buffer;
^
/mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/writer.cc:281:29:
error: template argument 1 is invalid
std::shared_ptr<PoolBuffer> def_levels_buffer;
I guess I have a version mismatch between my installed arrow_cpp, and what
parquet-cpp version expects. But what are the correct version between both?
Thanks in advance for any ideas/pointers!
Best,
Renato M.
Re: Error building parquet-cpp
Posted by Renato Marroquín Mogrovejo <re...@gmail.com>.
I tried again a clean installation, using master in both projects and that
went well.
Thanks again!
2018-08-19 16:56 GMT+02:00 Renato Marroquín Mogrovejo <
renatoj.marroquin@gmail.com>:
> Thanks Uwe!
> I just tried, using master on both (arrow and parquet-cpp) and now I got
> this:
>
> /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/statistics.cc:136:12:
> error: ‘__builtin_isnan’ is not a member of ‘std’
> if (!std::isnan(values[i])) {
> ^
>
> I am using Debian btw.
>
> 2018-08-19 16:48 GMT+02:00 Uwe L. Korn <uw...@xhochy.com>:
>
>> Hello Renato,
>>
>> you will need Arrow 0.9 for the latest parquet release. If you want to
>> Arrow 0.10, you need to use the parquet-cpp master. We plan to make a
>> parquet-cpp 1.5.0 release soon that will support Arrow 0.10, then you can
>> combine the latest release versions of both again.
>>
>> Uwe
>>
>> On Sun, Aug 19, 2018, at 4:45 PM, Renato Marroquín Mogrovejo wrote:
>> > Hi all,
>> >
>> > I am trying to build parquet-cpp (tag/apache-parquet-cpp-1.4.0-rc1)
>> with
>> > arrow/cpp (tag/apache-arrow-0.10.0)
>> > I am using:
>> >
>> > g++-5 (Debian 5.5.0-12) 5.5.0 20171010
>> >
>> > Arrow/cpp builds and compiles successfully. But when building
>> parquet-cpp,
>> > I am getting many errors as the following.
>> >
>> > /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/
>> writer.cc:278:19:
>> > error: ‘PoolBuffer’ was not declared in this scope
>> > std::shared_ptr<PoolBuffer> data_buffer;
>> > ^
>> > /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/
>> writer.cc:278:29:
>> > error: template argument 1 is invalid
>> > std::shared_ptr<PoolBuffer> data_buffer;
>> > ^
>> > /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/
>> writer.cc:281:19:
>> > error: ‘PoolBuffer’ was not declared in this scope
>> > std::shared_ptr<PoolBuffer> def_levels_buffer;
>> > ^
>> > /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/
>> writer.cc:281:29:
>> > error: template argument 1 is invalid
>> > std::shared_ptr<PoolBuffer> def_levels_buffer;
>> >
>> > I guess I have a version mismatch between my installed arrow_cpp, and
>> what
>> > parquet-cpp version expects. But what are the correct version between
>> both?
>> > Thanks in advance for any ideas/pointers!
>> >
>> >
>> > Best,
>> >
>> > Renato M.
>>
>
>
Re: Error building parquet-cpp
Posted by Renato Marroquín Mogrovejo <re...@gmail.com>.
Thanks Uwe!
I just tried, using master on both (arrow and parquet-cpp) and now I got
this:
/mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/statistics.cc:136:12:
error: ‘__builtin_isnan’ is not a member of ‘std’
if (!std::isnan(values[i])) {
^
I am using Debian btw.
2018-08-19 16:48 GMT+02:00 Uwe L. Korn <uw...@xhochy.com>:
> Hello Renato,
>
> you will need Arrow 0.9 for the latest parquet release. If you want to
> Arrow 0.10, you need to use the parquet-cpp master. We plan to make a
> parquet-cpp 1.5.0 release soon that will support Arrow 0.10, then you can
> combine the latest release versions of both again.
>
> Uwe
>
> On Sun, Aug 19, 2018, at 4:45 PM, Renato Marroquín Mogrovejo wrote:
> > Hi all,
> >
> > I am trying to build parquet-cpp (tag/apache-parquet-cpp-1.4.0-rc1) with
> > arrow/cpp (tag/apache-arrow-0.10.0)
> > I am using:
> >
> > g++-5 (Debian 5.5.0-12) 5.5.0 20171010
> >
> > Arrow/cpp builds and compiles successfully. But when building
> parquet-cpp,
> > I am getting many errors as the following.
> >
> > /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/
> writer.cc:278:19:
> > error: ‘PoolBuffer’ was not declared in this scope
> > std::shared_ptr<PoolBuffer> data_buffer;
> > ^
> > /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/
> writer.cc:278:29:
> > error: template argument 1 is invalid
> > std::shared_ptr<PoolBuffer> data_buffer;
> > ^
> > /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/
> writer.cc:281:19:
> > error: ‘PoolBuffer’ was not declared in this scope
> > std::shared_ptr<PoolBuffer> def_levels_buffer;
> > ^
> > /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/
> writer.cc:281:29:
> > error: template argument 1 is invalid
> > std::shared_ptr<PoolBuffer> def_levels_buffer;
> >
> > I guess I have a version mismatch between my installed arrow_cpp, and
> what
> > parquet-cpp version expects. But what are the correct version between
> both?
> > Thanks in advance for any ideas/pointers!
> >
> >
> > Best,
> >
> > Renato M.
>
Re: Error building parquet-cpp
Posted by "Uwe L. Korn" <uw...@xhochy.com>.
Hello Renato,
you will need Arrow 0.9 for the latest parquet release. If you want to Arrow 0.10, you need to use the parquet-cpp master. We plan to make a parquet-cpp 1.5.0 release soon that will support Arrow 0.10, then you can combine the latest release versions of both again.
Uwe
On Sun, Aug 19, 2018, at 4:45 PM, Renato Marroquín Mogrovejo wrote:
> Hi all,
>
> I am trying to build parquet-cpp (tag/apache-parquet-cpp-1.4.0-rc1) with
> arrow/cpp (tag/apache-arrow-0.10.0)
> I am using:
>
> g++-5 (Debian 5.5.0-12) 5.5.0 20171010
>
> Arrow/cpp builds and compiles successfully. But when building parquet-cpp,
> I am getting many errors as the following.
>
> /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/writer.cc:278:19:
> error: ‘PoolBuffer’ was not declared in this scope
> std::shared_ptr<PoolBuffer> data_buffer;
> ^
> /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/writer.cc:278:29:
> error: template argument 1 is invalid
> std::shared_ptr<PoolBuffer> data_buffer;
> ^
> /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/writer.cc:281:19:
> error: ‘PoolBuffer’ was not declared in this scope
> std::shared_ptr<PoolBuffer> def_levels_buffer;
> ^
> /mnt/SG/marenato/project_jitq/parquet-cpp/src/parquet/arrow/writer.cc:281:29:
> error: template argument 1 is invalid
> std::shared_ptr<PoolBuffer> def_levels_buffer;
>
> I guess I have a version mismatch between my installed arrow_cpp, and what
> parquet-cpp version expects. But what are the correct version between both?
> Thanks in advance for any ideas/pointers!
>
>
> Best,
>
> Renato M.