antimony
antimony copied to clipboard
cmake problem
CMake Error: Internal CMake error, TryCompile generation of cmake failed -- Check for working C compiler using: Ninja -- broken CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program.
It fails with the following output:
i get this problem when trying to cmake
CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred! See also "/home/chrx/antimony/CMakeFiles/CMakeOutput.log". See also "/home/chrx/antimony/CMakeFiles/CMakeError.log".
What OS are you on? What have you tried to debug the problem?
I am using gallium os with is ubuntu.I tried to install all the dependences.
You can try running without ninja
by leaving out -GNinja
from the cmake
invocation.
I'm suspicious about cmake
not knowing about Gallium OS's paths, since not having a valid C compiler seems like a pretty fundamental issue...
ok it it cmake and what after it?
ok read a tutorial. it worked with mkdir build-dir, cd build-dir, cmake ..
but there i do not know what to do afterwards. it worked no as well with mkdir build-dir, cd build-dir, cmake -GNinja .., ninja
i would also like to try on the raspberry pi 3. Do you know if anybody has tried?