OK, compiled from git worked. Thank you.

2017-03-01 16:20 GMT+08:00 Kenton Varda <[email protected]>:

> Hi Urakagi,
>
> For now, you need to use Cap'n Proto from git master when working with
> Sandstorm. Many small fixes that Sandstorm depends on haven't made their
> way into an official release. I hope to fix this soon, by putting together
> a 0.6 release.
>
> -Kenton
>
> On Wed, Mar 1, 2017 at 12:12 AM, <[email protected]> wrote:
>
>> Hi, I'm compiling a capnp file in this page: https://docs.sandstorm.i
>> o/en/latest/developing/powerbox/
>> The my-query.capnp file has this:
>>
>> const myTagValue :ApiSession.PowerboxTag = ( canonicalUrl = "
>> https://apidata.googleusercontent.com/caldav/v2";, # We're requesting an
>> API compatible with Google Calendar API version 2. # # (See the
>> definition of `ApiSession.PowerboxTag` in `api-session.capnp` # for more
>> about the meaning of `canonicalUrl`.) ); const myDescriptor
>> :Powerbox.PowerboxDescriptor = ( # Our descriptor has one tag, whose ID
>> is `ApiSession`'s type ID, and # whose value is the tag value defined
>> above. tags = [ (id = 0xc879e379c625cdc7, value = .myTagValue) ], );
>>
>> And when I compile, it says:
>>
>> my-query.capnp:26:39-50: error: Type mismatch; expected AnyPointer.
>>
>> I thought AnyPointer can be anything, so of course it can be
>> ApiSession.PowerboxTag.
>> I'm using capnp 0.5.3.
>>
>> Any idea about this problem? Thanks!
>>
>> --
>> 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.
>>
>
>


-- 
Romulus Urakagi Ts'ai

-- 
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