Hello!
I have to develop a full native software in c++ for an Android device. I'm
using bionic toolchain to cross-compiling from Linux to Android platform.
I want to use grpc into the software so I included grpc as a plugin module
of the software and I'm trying to compile it during entire building.
Now, the problem is that I have some conversion errors during grpc
compilation (for example):
toolchains/arm/bionic/include/c++/4.8/memory:2630:34: error: invalid
conversion from 'std::__1::unique_ptr<std::__1::__function::__base<void()>,
std::__1::__allocator_destructor<std::__1::allocator<std::__1::__function::__func<std::__1::__bind<void
(grpc::Server::*)(), grpc::Server* const>,
std::__1::allocator<std::__1::__bind<void (grpc::Server::*)(),
grpc::Server* const> >, void()> > > >::pointer {aka
std::__1::__function::__base<void()>*}' to
'std::__1::__allocator_destructor<std::__1::allocator<std::__1::__function::__func<std::__1::__bind<void
(grpc::Server::*)(), grpc::Server* const>,
std::__1::allocator<std::__1::__bind<void (grpc::Server::*)(),
grpc::Server* const> >, void()> > >::pointer {aka
std::__1::__function::__func<std::__1::__bind<void (grpc::Server::*)(),
grpc::Server* const>, std::__1::allocator<std::__1::__bind<void
(grpc::Server::*)(), grpc::Server* const> >, void()>*}' [-fpermissive]
__ptr_.second()(__tmp);
And I cannot compile protobuf included in the thirdy-part folder of grpc.
*** No rule to make target 'google/protobuf/compiler/main.cc', needed by
'google/protobuf/compiler/main.o'
Does anyone know how I can build grpc and protobuf using bionic toolchain?
Does some project already exist?
Thank you.
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/0b950c8c-6fa6-4bf0-bfde-f4d2590b4b28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.