Hi
Its my first time building a simulator and Its erroring out for some reason ( no surprises there!!!)
Below are the commands i followed:
brew tap PX4/px4
brew install px4-dev
pip3 install --user pyserial empy toml numpy pandas jinja2 pyyaml pyros-genmsg packaging
brew install --cask temurin
brew install px4-sim-jmavsim
cd Px4-dev
git clone [https://github.com/PX4/Firmware.git] --recursive
make px4_sitl jmavsim
I am seeing the below error in #8.
Can someone help me fix this?
% make px4_sitl jmavsim
-- PX4 version: v1.13.0-alpha1-3022-g177fe4bade
-- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- PX4 config file: /Users/tusharphadke/PX4-dev/PX4-Autopilot/boards/px4/sitl/default.px4board
-- PLATFORM posix
-- ROMFSROOT px4fmu_common
-- TESTING y
-- ETHERNET y
-- PX4 config: px4_sitl_default
-- PX4 platform: posix
-- PX4 lockstep: enabled
-- cmake build type: RelWithDebInfo
CMake Error at /usr/local/Cellar/cmake/3.21.4/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:48 (message):
Could not find compiler set in environment variable CXX:
x86_64-apple-darwin13.4.0-clang++.
Call Stack (most recent call first):
CMakeLists.txt:229 (project)