Git Product home page Git Product logo

Comments (6)

filipematos95 avatar filipematos95 commented on May 2, 2024 4

I am having the same problem

from cld3.

msahyoun777 avatar msahyoun777 commented on May 2, 2024

Any update on this issue?

from cld3.

gordeli avatar gordeli commented on May 2, 2024

Same issue here

from cld3.

CarlosGDCJ avatar CarlosGDCJ commented on May 2, 2024

I had this error when trying to install gcld3 in a Ubuntu 20.04 image with protobuf 3.20.1 managed by conda. I fixed it by downgrading the protbuf version to 3.6.1

On my machine (WSL Ubuntu 22.04), I had no problem installing gcld3 with protobuf 3.12.4. My guess is that this issue is caused by some kind of mismatch of protobuf versions. This answer suggests that something regarding this file changed after version 3.7 of protobuf.

from cld3.

lan2720 avatar lan2720 commented on May 2, 2024

same issue

from cld3.

Babay88 avatar Babay88 commented on May 2, 2024

(windows, building with visual studio)

  1. you need protobuf of at least 3.20. You can install it with vcpkg
  2. locate port_def.inc inside protobuf installation
  3. set LIBPATH environment variable to a folder, where google/protobuf/port_def.inc located. (not port_def.inc itself)
  4. if you have issue with protobuf.lib... I guess it's a bug. There is no protobuf.lib file, there is libprotobuf.lib file. Copy libprotobuf.lib to protobuf.lib in the same folder.
    1. set LIB environment variable to a place, where protobuf.lib is located.

from cld3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.