Hi Brian,

It looks like the project you reference is hard-coded to download Cap'n
Proto version 0.5.3. The bug you describe was fixed in 0.5.3.1 and 0.6.0. I
suggest updating the project to the current release, 0.6.1.

-Kenton

On Mon, Jul 31, 2017 at 1:30 PM, <[email protected]> wrote:

> Shalom
>
> I was trying to build this project
>
> https://github.com/thekvs/cpp-serializers
>
> and have run into an error
>
> In file included from /home/brian/build-cpp/external
> /capnproto/src/capnproto/c++/src/capnp/generated-header-support.h:31:0,
>                  from /home/brian/build-cpp/external
> /capnproto/src/capnproto/c++/src/capnp/compiler/grammar.capnp.h:7,
>                  from /home/brian/build-cpp/external
> /capnproto/src/capnproto/c++/src/capnp/compiler/compiler.h:29,
>                  from /home/brian/build-cpp/external
> /capnproto/src/capnproto/c++/src/capnp/compiler/module-loader.h:29,
>                  from /home/brian/build-cpp/external
> /capnproto/src/capnproto/c++/src/capnp/compiler/module-loader.c++:22:
> /home/brian/build-cpp/external/capnproto/src/capnproto/c++/src/capnp/layout.h:129:65:
> error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /home/brian/build-cpp/external/capnproto/src/capnproto/c++/src/capnp/layout.h:129:66:
> error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> make[3]: *** [Makefile:1746: src/capnp/compiler/module-loader.o] Error 1
>
>
> I have several compilers on this machine and am not 100% sure which one
> it's using (the output above doesn't say).
>
> /usr/bin/c++ -v
>
> gives g++ 7.1.1 and I think that's what it is using.  Have you seen this?
> Any suggestions on how to fix it?   Thanks.
>
>
> Brian
> Ebenezer Enterprises - In G-d we trust.
> http://webEbenezer.net
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/group/capnproto.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to