Make px4_sitl gazebo unsucessful

“ld: library not found for -lprotobuf
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.”
I keep getting the above error while trying to run the ‘make px4_sitl gazebo’ command.
I’ve tried fixing the unlinked libraries and other secondary errors through brew doctor, uninstalled and reinstalled faulty libraries, uninstalled and reinstalled gazebo, updated the command line tools and the software, made sure there wasn’t anything remnant from the conda directories or anything similar.

macOS Catalina version 10.15.7

Nice username :joy:

Try this: https://github.com/PX4/PX4-SITL_gazebo/pull/650
We’re working on it.

Thank you so much! The changes to the CMakeLists.txt file helped me resolve the issue. The simulation is working fine now.