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

failed to build #1

Closed
tmakatos opened this issue Nov 26, 2020 · 1 comment
Closed

failed to build #1

tmakatos opened this issue Nov 26, 2020 · 1 comment

Comments

@tmakatos
Copy link

# git clone [email protected]:Guardsquare/mocxx.git; cd mocxx
Cloning into 'mocxx'...
remote: Enumerating objects: 80, done.
remote: Counting objects: 100% (80/80), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 80 (delta 24), reused 63 (delta 13), pack-reused 0
Receiving objects: 100% (80/80), 9.12 MiB | 16.27 MiB/s, done.
Resolving deltas: 100% (24/24), done.
# mkdir build; cd build
# cmake ../ -GNinja -DCMAKE_BUILD_TYPE=Debug
CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/root/src/mocxx/build/CMakeFiles/CMakeOutput.log".
@MichielDerhaeg
Copy link
Contributor

CMake is complaining it can't find ninja.
Either don't pass -GNinja, and CMake defaults to make or install ninja in your package manager.

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