Questions tagged [ninja]

Ninja is a small build system with a focus on speed.

Ninja is a small build system with a focus on speed. It is designed to have its input files generated by a higher-level build system, and it is designed to run builds as fast as possible. Website: https://ninja-build.org/

614 questions
0
votes
1 answer

Chromium Ninja build fails (Illegal Instruction output)

I followed the Linux build instructions and when I try running "ninja -C out/Debug chrome", I just get the output "Illegal Instruction (core dumped)". Now, I wish I could actually find where the core dump is located to see if there is more specific…
pgebhard
  • 59
  • 1
  • 10
-1
votes
1 answer

How can I configure cmake to stop leaving .ninja_log files lying around?

As a developer, I want to reduce file clutter on my machines. For example, I often run make clean when I temporarily put away a software project. This reduces noise in the project directory tree, and frees up disk space. However, when run cmake…
mcandre
  • 22,868
  • 20
  • 88
  • 147
-1
votes
1 answer

libssl.so needed by target, missing and no known rule to make it

I am trying to make a Yocto recipe for an application (application_1.0.0.bb). Here is a (simplified) CMake for that application: cmake_minimum_required(VERSION 3.14) project( server VERSION 0.1.0 DESCRIPTION "Main application" …
mmnano50
  • 37
  • 6
-1
votes
1 answer

ESP-IDF: idf.py build fails with cmake error (unknown cmake command idf_component_register)

idf.py build consistently fails on my windows install of esp-idf, I installed it using the tools provided in espressif's documentation, here are the logs: Logs I tried reinstalling to no avail. Other than that I don't know what to do exactly since…
A R
  • 1
  • 1
-1
votes
1 answer

fatal error LNK1104: cannot open file 'kernel32.lib' in Visual Studio 2019

I'm using Visual Studio 2019 and I got an error even my PATH has kernel32.lib path. C:\Users\googi\Desktop\CMakeProject2\out\build\x64-debug\CMakeProject2\LINK : fatal error LNK1104: cannot open file 'kernel32.lib' ninja: build stopped: subcommand…
Jinsu Jang
  • 11
  • 4
-1
votes
1 answer

CMake + Ninja : how to implement incremental compilation under the path of different source directories

Every time I get a different source directory, and I have a fixed build directory. Every time I will run cmake /path/to/project and run ninja. It will report an error : Make Error: The source "/path1/to/project/CMakeLists.txt" does not match the…
-1
votes
1 answer

CppUTest on Jenkins

We use CppUTest to run unit tests. This is being performed by Cmake/Ninja where after building the tests, we use ninja to execute them ninja test an example output of this is: 1/3 Test #1: Test1................................................... …
user654789384
  • 305
  • 1
  • 4
  • 21
-1
votes
1 answer

Faild to build clang with ninja

There was a problem when I've tried to build clang with ninja.I've executed all commands one after another from the link: http://clang.llvm.org/docs/LibASTMatchersTutorial.html but after running ninja where the tutorial says "Okay.Now we’ll build…
iliya
  • 514
  • 6
  • 19
-2
votes
1 answer

Setting Ninja values through CMake (cross compilation)

I am currently trying to cross compile a program I wrote on macOS to Linux, and I have had to make some changes to the build.ninja file to make that possible (specifically the linker commands/other places where libraries are linked). However, this…
ImTheSquid
  • 365
  • 6
  • 15
-3
votes
1 answer

C++ destroys itself by detecting compile errors in the standard library

I can't build the project in the Debug configuration due to the fact that the compiler detects strange compile errors in the standard library. The project can be built in the Release configuration, due to the absence of _DEBUG, but I need to debug…
-3
votes
1 answer

How to compile Cuda within Clang when included by main c++ file?

I am currently working on a project, where I want to execute some code in Cuda, which should be called from the main c++ file. When I am compiling with Clang only the .cpp files are compiled and the compiler tells me "expected exprission" on the…
1 2 3
40
41