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

cmake problem #179

Open
ARKopp opened this issue Mar 1, 2017 · 7 comments
Open

cmake problem #179

ARKopp opened this issue Mar 1, 2017 · 7 comments

Comments

@ARKopp
Copy link

ARKopp commented Mar 1, 2017

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

@mkeeter
Copy link
Owner

mkeeter commented Mar 1, 2017

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

@ARKopp
Copy link
Author

ARKopp commented Mar 1, 2017

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

@mkeeter
Copy link
Owner

mkeeter commented Mar 2, 2017

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

@ARKopp
Copy link
Author

ARKopp commented Mar 2, 2017

ok it it cmake and what after it?

@ARKopp
Copy link
Author

ARKopp commented Mar 2, 2017

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

@ARKopp
Copy link
Author

ARKopp commented Mar 2, 2017

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
Copy link
Author

ARKopp commented Mar 2, 2017

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

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

2 participants