YuvalNirkin / find_face_landmarks

C++ \ Matlab library for finding face landmarks and bounding boxes in video\image sequences.
144 stars 44 forks source link

Protobuf support only compiles with version 3.4.0 #17

Open chrischen opened 6 years ago

chrischen commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Hi @YuvalNirkin I am not able to compile this source code because of protobuf. I get a lot of errors like below undefined reference togoogle::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 commented 6 years ago

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.