antimony icon indicating copy to clipboard operation
antimony copied to clipboard

cmake problem

Open ARKopp opened this issue 8 years ago • 7 comments

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".

ARKopp avatar Mar 01 '17 00:03 ARKopp

What OS are you on? What have you tried to debug the problem?

mkeeter avatar Mar 01 '17 00:03 mkeeter

I am using gallium os with is ubuntu.I tried to install all the dependences.

ARKopp avatar Mar 01 '17 15:03 ARKopp

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...

mkeeter avatar Mar 02 '17 03:03 mkeeter

ok it it cmake and what after it?

ARKopp avatar Mar 02 '17 10:03 ARKopp

ok read a tutorial. it worked with mkdir build-dir, cd build-dir, cmake ..

ARKopp avatar Mar 02 '17 11:03 ARKopp

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

ARKopp avatar Mar 02 '17 11:03 ARKopp

i would also like to try on the raspberry pi 3. Do you know if anybody has tried?

ARKopp avatar Mar 02 '17 11:03 ARKopp