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

Protobuf support only compiles with version 3.4.0 #17

Open
chrischen opened this issue Jan 3, 2018 · 3 comments
Open

Protobuf support only compiles with version 3.4.0 #17

chrischen opened this issue Jan 3, 2018 · 3 comments

Comments

@chrischen
Copy link

Thought this should be noted as it states minimum version is 3.0.0, but it doesn't compile unless 3.4.0 is used.

@YuvalNirkin
Copy link
Owner

It should work with Protobuf 3.0.0 as well.
Compilation problems with Protobuf are very common because multiple versions often exist on the same system.

@akashgoyal
Copy link

Hi @YuvalNirkin
I am not able to compile this source code because of protobuf. I get a lot of errors like below
undefined reference to google::protobuf::Arena::AllocateAligned(std::type_info const*, unsigned long)'`

I have tried protobuf versions 2.6.1, 2.7.0, 3.0.x, 3.4.x but none of them seem to work
Any clue on what to fix ?

Thanks
Akash

@YuvalNirkin
Copy link
Owner

All Protobuf versions 3.0.x and above should work.
What you're getting is a linkage problem, make sure that you're linking with the right Protobuf libraries.

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

3 participants