devendrachaplot / Object-Goal-Navigation

Pytorch code for NeurIPS-20 Paper "Object Goal Navigation using Goal-Oriented Semantic Exploration"
https://devendrachaplot.github.io/projects/semantic-exploration
MIT License
327 stars 60 forks source link

CMake error in MacOS #21

Open rginpan opened 1 year ago

rginpan commented 1 year ago

When I try to install habitat-sim:

-- Check for working C compiler: /usr/bin/cc - broken CMake Error at /Users/miniforge3/envs/semexp/lib/python3.8/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler

"/usr/bin/cc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /Users/leyuansun/PycharmProjects/habitat-sim/build/CMakeFiles/CMakeScratch/TryCompile-K32F3s

Run Build Command(s):/Users/leyuansun/miniforge3/envs/semexp/lib/python3.8/site-packages/cmake/data/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_6eb5b/fast && xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:13 (project)