Hello everyone, im running into this error after following this official guide when running “make px4_sitl”, i’ve unregistered and reinstalled ubuntu 6+ times, i tried clean, distclean, installing protobuf before running bash and tried following the guide on another computer.
i’ve solved this issue by downgrading protoc to 3.6.1, make clean and make distclean in ~/PX4-Autopilot then exiting wsl and shutting down then rebooting and make px4_sitl which ran with no errors
I tried following, but still getting error about protobuf sudo apt remove protobuf-compiler
tried with and without removing the old one (looks like it removes some dependant gazebo packages)
and then by installing protobuf 3.6.1
as described in answer
following by make clean and make distclean and reboot. protoc --version
shows 3.6.1
Im using Ubuntu 22.04 from WSL.
I haven`t used ubuntu for a while and i am not sure if I have done everything correctly