compilation failed of opencv 3.4.1

asked 2019-07-31 06:01:04 -0600

Hello guys.

I've tried to install the package with opencv dependency on my gentoo but the compilation of opencv failed I am trying to understand, is there any missing dependency analyzing logs or ..... anything else but I see no glue to stare my eye at it.

I uploaded compilation log here https://pastebin.com/uhyJm89i

Could you please help me to understand what's wrong with compilation ?

edit retag flag offensive close merge delete

Comments

could you put your logs here, not on a pastebin, where it will expire ?

berak gravatar imageberak ( 2019-08-03 04:56:19 -0600 )edit

see line 402, it found a preinstalled protobuf (which seems to be out of date)

--     Protobuf:                    /usr/lib64/libprotobuf.so (3.5.1)

try to change -DBUILD_PROTOBUF=ON in your cmake flags, so it uses the supplied 3rdparty protobuf code instead (then cleanup, and build from scratch)

berak gravatar imageberak ( 2019-08-03 05:02:18 -0600 )edit