When I am trying to install the package on RTOS side with command 'make -j build_franka=1', it giving the following errors:
/home/panda/deoxys_rtos_ws/deoxys_control/deoxys/build/proto/deoxys/franka_controller.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
12 | #error This file was generated by a newer version of protoc which is
| ^~~~~
/home/panda/deoxys_rtos_ws/deoxys_control/deoxys/build/proto/deoxys/franka_controller.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
13 | #error incompatible with your Protocol Buffer headers. Please update
| ^~~~~
/home/panda/deoxys_rtos_ws/deoxys_control/deoxys/build/proto/deoxys/franka_controller.pb.h:14:2: error: #error your headers.
Please help me , I am not able to resove these errors after so much of trying.
Unfortunately, protoc is installed at three locations with three different versions:
/usr/bin/protoc 3.6.1
/usr/local/bin/protoc 3.14.0
~/.local/bin/protoc 3.19.6
It seems the makefile looks for /usr/local/bin/protoc.
The code lines where the errors is coming compare with version 3.14.0 only at franka_controller.pb.h:12:2
When I am trying to install the package on RTOS side with command 'make -j build_franka=1', it giving the following errors:
/home/panda/deoxys_rtos_ws/deoxys_control/deoxys/build/proto/deoxys/franka_controller.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is 12 | #error This file was generated by a newer version of protoc which is | ^~~~~ /home/panda/deoxys_rtos_ws/deoxys_control/deoxys/build/proto/deoxys/franka_controller.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update 13 | #error incompatible with your Protocol Buffer headers. Please update | ^~~~~ /home/panda/deoxys_rtos_ws/deoxys_control/deoxys/build/proto/deoxys/franka_controller.pb.h:14:2: error: #error your headers.
Please help me , I am not able to resove these errors after so much of trying. Unfortunately, protoc is installed at three locations with three different versions: /usr/bin/protoc 3.6.1 /usr/local/bin/protoc 3.14.0 ~/.local/bin/protoc 3.19.6
It seems the makefile looks for /usr/local/bin/protoc.
The code lines where the errors is coming compare with version 3.14.0 only at franka_controller.pb.h:12:2
Help is required !!