Closed dancesWithCycles closed 3 years ago
Hi folks,
I still do not now why, however after I build and installed protobuf c compiler from this repository on my own, also ttwatch ran entirely through the make
call.
I am only guessing, but it might be related to the installation directory of protobuf c compiler. I was playing around and ended up installing it to /usr/lib
instead of /usr/local/lib
.
Please unblind me. ;-)
Well, just give some time for answers. The README says:
Prebuilt packages should be available for most systems using the system's built in package manager (dpkg, yum, apt, rpm etc...). Make sure that the -dev version of the packages (eg. libssl-dev, libcurl-dev, libusb-1.0-0-dev) are installed so that the headers are available.
Since you seem to be using a variant of Debian, you would probably need to do:
sudo apt-get install libprotobuf-dev
I am only guessing, but it might be related to the installation directory of protobuf c compiler. I was playing around and ended up installing it to /usr/lib instead of /usr/local/lib.
Sure. If you compile yourself, you don't want this to mix random versions of libraries with (Debian) distribution libraries. That's why you would install your custom protobuf to /usr/local
. And then you would tell cmake that it needs to look there, in general, or at least for protobuf.
Now you installed to /usr/lib
, and possibly replaced files of Debian package libprotobuf. So other programs from Debian which rely on the specific version provided by Debian may fail. In the best case with a big bang. In the worst case in very subtle ways.
For the record, "Prebuilt package" of protobuf gives the error above on Debian/Ubuntu systems, but it's ok on Fedora.
Hi folks, thank you so much for creating and maintaining this repository. I would like to build and use it. This is what I did so far.
And this is the error I end up with.
I appreciate any hint that is pointing me in the right direction. I read the documentation and tried to install all dependencies on the following computer I am using.
Hopefully I am just blind and do not see the issue myself. Please unblind me. ;-)
Cheers!