Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save harrishancock/1defbad9b30a9b2c65105e50bf7a4788 to your computer and use it in GitHub Desktop.
Save harrishancock/1defbad9b30a9b2c65105e50bf7a4788 to your computer and use it in GitHub Desktop.
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\orphan.h(345): error C2672: 'capnp::_::structSize': no matching overloaded function found [
C:\Users\vortr\git\sandstorm\build-capnp-vs2015\src\capnp\capnp-json.vcxproj]
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\compat\json.h(326): note: see reference to function template instantiation 'capnp::Orphan
<capnp::DynamicStruct> capnp::Orphanage::newOrphan<T>(void) const' being compiled
with
[
T=capnp::DynamicStruct
]
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\compat\json.h(324): note: while compiling class template member function 'capnp::Orphan<c
apnp::DynamicStruct> capnp::JsonCodec::Handler<capnp::DynamicStruct,capnp::Style::STRUCT>::decode(const capnp::JsonCodec &,capnp::JsonValue::R
eader,capnp::Orphanage) const'
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\compat\json.h(338): note: see reference to function template instantiation 'capnp::Orphan
<capnp::DynamicStruct> capnp::JsonCodec::Handler<capnp::DynamicStruct,capnp::Style::STRUCT>::decode(const capnp::JsonCodec &,capnp::JsonValue:
:Reader,capnp::Orphanage) const' being compiled
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\compat\json.h(395): note: see reference to class template instantiation 'capnp::JsonCodec
::Handler<capnp::DynamicStruct,capnp::Style::STRUCT>' being compiled
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\orphan.h(345): error C2783: 'capnp::_::StructSize capnp::_::structSize(void)': could not de
duce template argument for 'CapnpPrivate' [C:\Users\vortr\git\sandstorm\build-capnp-vs2015\src\capnp\capnp-json.vcxproj]
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\layout.h(182): note: see declaration of 'capnp::_::structSize'
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\orphan.h(345): error C2660: 'capnp::_::OrphanBuilder::initStruct': function does not take 2
arguments [C:\Users\vortr\git\sandstorm\build-capnp-vs2015\src\capnp\capnp-json.vcxproj]
C:\Users\vortr\git\sandstorm\capnproto\c++\src\capnp/dynamic.h(629): error C2027: use of undefined type 'capnp::DynamicValue::Reader::AsImpl<T,c
apnp::Kind::OTHER>' [C:\Users\vortr\git\sandstorm\build-capnp-vs2015\src\capnp\capnp-json.vcxproj]
with
[
T=capnp::DynamicValue
]
C:\Users\vortr\git\sandstorm\capnproto\c++\src\capnp/dynamic.h(629): note: see declaration of 'capnp::DynamicValue::Reader::AsImpl<T,capnp::Ki
nd::OTHER>'
with
[
T=capnp::DynamicValue
]
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\compat\json.h(307): note: see reference to function template instantiation 'capnp::Dynami
cValue::Reader capnp::DynamicValue::Reader::as<T>(void) const' being compiled
with
[
T=capnp::DynamicValue
]
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\compat\json.h(306): note: while compiling class template member function 'void capnp::Jso
nCodec::Handler<capnp::DynamicValue,capnp::Style::POINTER>::encodeBase(const capnp::JsonCodec &,capnp::DynamicValue::Reader,capnp::JsonValue::
Builder) const'
c:\users\vortr\git\sandstorm\capnproto\c++\src\capnp\compat\json.h(389): note: see reference to class template instantiation 'capnp::JsonCodec
::Handler<capnp::DynamicValue,capnp::Style::POINTER>' being compiled
C:\Users\vortr\git\sandstorm\capnproto\c++\src\capnp/dynamic.h(629): error C3861: 'apply': identifier not found [C:\Users\vortr\git\sandstorm\bu
ild-capnp-vs2015\src\capnp\capnp-json.vcxproj]
Done Building Project "C:\Users\vortr\git\sandstorm\build-capnp-vs2015\src\capnp\capnp-json.vcxproj" (default targets) -- FAILED.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment