Open dotvignesh opened 1 month ago
Below is untested but what I’d try (stopped using apple silicon awhile back but use Mac builds on intel chips extensively).
Try tinyxml2 (brew install tinyxml2)
Then point to the correct paths by setting the cmake variable manually:
export TINYXML2_INCLUDE_DIR=/opt/homebrew/include/tinyxml2 export TINYXML2_LIBRARY=/opt/homebrew/lib/libtinyxml2.dylib
Fix the cmake warning by adding these to the top of cmakelists.txt
cmake_policy(SET CMP0167 NEW) # For Boost warnings cmake_policy(SET CMP0148 NEW) # For PythonInterp and PythonLibs warnings
check command line tools is installed (aka because you can’t compile a simple test program):
xcode-select --install
Do a make clean and try again.
Unable to build px4_sitl on M1 Mac. Running terminal on Rosetta, and I've tinyxml installed, still doesn't work.
I repeatedly keep running into some new error or the other, mostly it points to some directory and says it doesn't exist while it actually does in that location.