Errors in C++ auto generated code

in Help Center
Hi I have a simple slice file that looks something like this
I use slice2cpp to generate the appropriate code. When I try to build, though, I get errors on these generated lines
The specific error is
Not sure what is going on here.
Thanks
module example { struct Foo { float bar; }; interface Server { void setFoo(Foo value); }; };
I use slice2cpp to generate the appropriate code. When I try to build, though, I get errors on these generated lines
::IceInternal::Handle< ::IceDelegateM::Ice::Object> IceProxy::example::Server::__createDelegateM() { return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::example::Server); } ::IceInternal::Handle< ::IceDelegateD::Ice::Object> IceProxy::example::Server::__createDelegateD() { return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::example::Server); }
The specific error is
The type 'IceDelegateM::example::Server' must implement the inherited pure virtual method 'IceDelegate::Ice::Object::ice_isA'
Not sure what is going on here.
Thanks
0
Comments
It looks like you're building for x86_64 but linking with Ice libraries that don't contain x86_64 symbols.
Which OS are you using? OS X? Are you using the Ice binary distribution or your own build?
Cheers,
Bernard
Cheers,
Benoit.