Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhlhlhlhl opened this issue Oct 9, 2023 · 0 comments

Comments

@zhlhlhlhl
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant