[question] Crosscompiling protobuf
See original GitHub issueHi guys, I’ve been looking into integrating protobuf
to my project and I need to crosscompile.
Right now the recipe fails because it tries to download protoc
for a non x86 architecture. My first thought was to add protoc
as a build_requirement
but I’ve been looking around into old PRs and I saw that you decided to go this road instead.
What is the reason for this? Having protoc
as a build_requirement
seams really convenient.
Is there any suggested approach if you need to use protoc
in a non x86 architecture?
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Google protocol buffers cross compiling - Stack Overflow
First problem is about compiler options: I'm trying to install Google protocol buffers on a PowerPC machine which requires cross compiling.
Read more >[question] cross compiling Android binary with protobuf/grpc ...
Hi, I am working on a Android project which needs protobuf/grpc, my CMakeLists.txt is as follows project(some) include(conan.cmake) ...
Read more >How to Cross-Compile ArmNN on x86_64 for arm64
These are the step by step instructions on Cross-Compiling ArmNN under an x86_64 system to target an Arm64 system. This build flow has...
Read more >Cross Compiling Protobuf for Raspberry Pi
The problem was that protobuf installs protoc by default in the /usr/local/bin directory, as opposed to /usr/bin .
Read more >Cross-compile of Google Protocol Buffers fails
The build procedures for GPB don't work when cross-compiling. The crux of the matter is that the build attempts to run tests using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please this see note https://github.com/conan-io/conan-center-index/pull/1199#pullrequestreview-394573563
Hi guys, I ended up creating a custom recipe to pack protoc based on all the links that you shared here. I’m closing this. Thanks for all the help!