Need help to fix the "protobuf error"



  • [libprotobuf FATAL ../SaarathyClient/external/google/protobuf/stubs/common.cc:78] This program was compiled against version 2.6.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.3.0). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/build/mir-O8_xaj/mir-0.26.3+16.04.20170605/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".)
    terminate called after throwing an instance of 'google::protobuf::FatalException'
    what(): This program was compiled against version 2.6.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.3.0). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/build/mir-O8_xaj/mir-0.26.3+16.04.20170605/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".)
    The program has unexpectedly finished.

    I am getting above the error, while running the code so, to fixed it i have performed some steps, which are-(
    (os- Ubuntu 16.04 LTS,Qt creator-Application development-opensource-latest V4.5rc)
    1)Installed protocol buffer V3.5.1 which was missing in my system.

    1. updated Qt with new updates.
    2. run the code-> still i am getting the same error.


  • @Nidhi maybe this issue applies to you


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.