Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use arm based protobuf #13

Open
darbee opened this issue Nov 12, 2018 · 0 comments
Open

how to use arm based protobuf #13

darbee opened this issue Nov 12, 2018 · 0 comments

Comments

@darbee
Copy link

darbee commented Nov 12, 2018

When we cross compile a project that depend protobuf such ROS.

  1. first we cross compile protobuf for arm. then we get arm version libprotobuf* and a arm version tool named protoc( which can convert proto to .h .cc )
  2. second we cross compile ROS on x86. ROS contain some file like a.proto and b.proto ..
    So, which version protoc should we use to convert those *.proto to *.h and .cc?
    I think we should use x86 version protoc instead of arm version protoc.
    But when we include headers and link dynamic libraries , we should use arm version, such as libprotobuf
    (arm)

These steps puzzled me,How should we use protobuf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant