cshizhe / onav_rim

MIT License
32 stars 1 forks source link

Error: raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', #1

Open zhlhlhlhl opened 1 year ago

zhlhlhlhl commented 1 year ago

Hi, when I run : ./build.sh --headless --bullet # for headless systems,

It reports that:

CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message): The C compiler

"/usr/bin/cc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /onav_rim/dependencies/habitat-sim/habitat-sim/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_1b125 && [1/2] Building C object CMakeFiles/cmTC_1b125.dir/testCCompiler.c.o
FAILED: CMakeFiles/cmTC_1b125.dir/testCCompiler.c.o 
/usr/bin/cc    -o CMakeFiles/cmTC_1b125.dir/testCCompiler.c.o -c /onav_rim/dependencies/habitat-sim/habitat-sim/build/CMakeFiles/CMakeTmp/testCCompiler.c
cc: error trying to exec 'cc1': execvp: No such file or directory
ninja: build stopped: subcommand failed.

Have you ever met this error?