Closed Carlz182 closed 9 months ago
Hi, it might be some conflict of protobuf between ros and the version this package requires. Maybe double check again if the cmake compilation is using the correct version of protobuf. Deoxys uses the version of 3.13, while I believe ros was using much older version.
Hi,
I faced the same problem, and it looks like it's not related to the versions mentioned above as I checked for it and also used the script:
export LD_LIBRARY_PATH=$(dirname "${0}")/../lib:$LD_LIBRARY_PATH
Thanks in advance
Do you mean that you checked the protobuf version downloaded is correct or the protobuf version used to compile the codebase is correct? It might be the case that the protobuf used to compile the code is not correct. If you only have 3.13.0
version, maybe consult the protobuf repo first and see what is the issue of these not defining functions.
Thanks for your response .. Yes I checked the version protobuf and the version required for the codesbase. I will check in protobuf repo ..
Thanks again
@Soha18 I am getting the same errors. Are you able to solve it?
Hey! I am able to solve it. In my case, I set the LIBRARY_PATH as follows:
export LIBRARY_PATH=/usr/local/lib/:$LIBRARY_PATH
After this, the errors disappear, and the code compiles normally. Please give a thumbs up if it solves someone else's problem as well!
We could also solve it in the meantime. The path was one issue because it took the Ros protobuf version. The other one was that the other version of protobuf was outdated. To be able to Install the right version, we had to update the Kernel to 5.11 and then we could install protobuf 3.13 using apt.
@Carlz182 Hello, While running the code example "reset_robot_joints.py", I am getting the following error: 'If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.'
Are you able to run the example successfully? I am using ubuntu 20.04.6 with kernel 5.4.0-164-generic And Python 3.8.18 in an anaconda environment. Any idea?
Hi
trypip install protobuf==3.20.0
@Carlz182
Thanks! Its worked !
Hello, I have troubles running
make -j build_franka=1
and hope you can help me out. This is how I set up my paths:But when I run the make command, it fails linking the depending libraries:
When I have a look at the CMake cache, the protobuf.so is set up correctly. I would appreciate any help.