Error map

ninja: error ninja: error: loading 'build.ninja': No such file or directory

C/C++ · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (8). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

ninja: error — ninja: error: loading 'build.ninja': No such file or directory (C/C++)ninja: errorCould not find a package configuration file — CMake Error: Could not find a package configuration file provided by "Foo" (requested version 1.2) (C/C++)Could not find a pa…Killed signal terminated program cc1plus — g++: fatal error: Killed signal terminated program cc1plus — compilation terminated (out of memory) (C/C++)Killed signal termi…C compiler cannot create executables — configure: error: C compiler cannot create executables / no acceptable C compiler found in $PATH (C/C++)C compiler cannot c…does not appear to contain CMakeLists.txt — CMake Error: The source directory does not appear to contain CMakeLists.txt (C/C++)does not appear to …No targets specified and no makefile found — make: *** No targets specified and no makefile found. Stop. (C/C++)No targets specifie…Error 1 — make: *** [Makefile:12: target] Error 1 — a recipe command failed (C/C++)Error 1no such target — Bazel: ERROR: no such target '//pkg:name': target 'name' not declared in package 'pkg' (C/C++)no such targetUnsupported gpu architecture — nvcc fatal: Unsupported gpu architecture 'compute_90' (C/C++)Unsupported gpu arc…undefined reference to — C/C++: undefined reference to `function' — collect2: error: ld returned 1 exit status (C/C++)undefined reference…fatal error: No such file or directory — C/C++: fatal error: foo.h: No such file or directory — #include not found (C/C++)fatal error: No suc…redefinition of — C++: error: redefinition of 'class X' / multiple definition — missing include guard (C/C++)redefinition ofMEMORY_MANAGEMENT — Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A) (Windows)MEMORY_MANAGEMENTSIGSEGV — Segmentation fault (core dumped) (Linux)SIGSEGVOOM killer — Killed / Out of memory: Killed process (Linux OOM killer) (Linux)OOM killernot a member of std — C++: error: 'optional' in namespace 'std' does not name a template type — wrong -std standard (C/C++)not a member of stdundefined reference to main — C/C++: undefined reference to `main' — (.text+0x20) in crt1.o (C/C++)undefined reference…No rule to make target — Make: *** No rule to make target 'foo.c', needed by 'foo.o'. Stop. (C/C++)No rule to make tar…missing separator — Make: Makefile:5: *** missing separator. Stop. (spaces instead of a tab) (C/C++)missing separatorruby-build: OpenSSL error installing Ruby on macOS — BUILD FAILED (macOS 14.0 using ruby-build) ... Downloading openssl-1.1.1w... OpenSSL::SSL::SSLError (macOS)ruby-build: OpenSSL…pyenv: BUILD FAILED — zlib not available — ERROR: The Python zlib extension was not compiled. Missing the zlib? (macOS)pyenv: BUILD FAILED…gcc is actually clang on macOS / make: command not found — zsh: command not found: make (macOS)gcc is actually cla…Dependency not found — meson.build: ERROR: Dependency "x" not found, tried pkgconfig and cmake (C/C++)Dependency not foundnot found in the pkg-config search path — Package 'glib-2.0' was not found in the pkg-config search path / configure: error: Package requirements were not met (C/C++)not found in the pk…ignoring pragma omp — warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] (C/C++)ignoring pragma ompfunction main is undeclared in the main package — Go: runtime.main_main·f: function main is undeclared in the main package (Go)function main is un…cgo: C compiler gcc not found — Go: cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH (Go)cgo: C compiler gcc…no Go files in directory — Go: package app/cmd: no Go files in /app/cmd / build constraints exclude all Go files (Go)no Go files in dire…CMake Error: CMAKE_C_COMPILER not set / No CMAKE_CXX_COMPILER could be found — CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles" (macOS)CMake Error: CMAKE_…nvcc: command not found — bash: nvcc: command not found — CUDA toolkit not installed or not on PATH (C/C++)nvcc: command not f…CUDA error: out of memory — CUDA error: out of memory (cudaErrorMemoryAllocation) (C/C++)CUDA error: out of …

Directly related (8)

Two steps away (22)

undefined reference toC/C++

C/C++: undefined reference to `function' — collect2: error: ld returned 1 exit status

The linker can’t find the definition of a function or variable that was declared and used.

fatal error: No such file or directoryC/C++

C/C++: fatal error: foo.h: No such file or directory — #include not found

The preprocessor cannot find a header named in `#include`: wrong path, missing include directory (-I), or the library is not inst…

redefinition ofC/C++

C++: error: redefinition of 'class X' / multiple definition — missing include guard

The same class, struct or function body was included twice in one translation unit because the header has no include guard.

MEMORY_MANAGEMENTWindows

Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A)

Windows detected a severe memory-management error — commonly faulty RAM, unstable memory settings or a bad driver.

SIGSEGVLinux

Segmentation fault (core dumped)

A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).

OOM killerLinux

Killed / Out of memory: Killed process (Linux OOM killer)

The kernel ran out of memory and killed a process to recover — the program just prints “Killed” (exit code 137).

not a member of stdC/C++

C++: error: 'optional' in namespace 'std' does not name a template type — wrong -std standard

The standard-library feature you used needs a newer C++ standard than the compiler is currently set to.

undefined reference to mainC/C++

C/C++: undefined reference to `main' — (.text+0x20) in crt1.o

The linker has no `main` function: the file with `main` is not compiled or linked, or `main` is spelled or declared incorrectly.

No rule to make targetC/C++

Make: *** No rule to make target 'foo.c', needed by 'foo.o'. Stop.

`make` was asked to build a file for which there is no rule and no existing file — a missing source, a typo in the Makefile, or a…

missing separatorC/C++

Make: Makefile:5: *** missing separator. Stop. (spaces instead of a tab)

A line in the Makefile is neither a rule, a variable assignment nor a tab-indented command — nearly always spaces used where a TA…

ruby-build: OpenSSL error installing Ruby on macOSmacOS

BUILD FAILED (macOS 14.0 using ruby-build) ... Downloading openssl-1.1.1w... OpenSSL::SSL::SSLError

Building Ruby via rbenv/ruby-build fails around OpenSSL.

pyenv: BUILD FAILED — zlib not availablemacOS

ERROR: The Python zlib extension was not compiled. Missing the zlib?

pyenv can't compile Python without development libraries.

gcc is actually clang on macOS / make: command not foundmacOS

zsh: command not found: make

macOS ships clang aliased as `gcc` and has no tools until the CLT are installed.

Dependency not foundC/C++

meson.build: ERROR: Dependency "x" not found, tried pkgconfig and cmake

Meson could not locate a required library.

not found in the pkg-config search pathC/C++

Package 'glib-2.0' was not found in the pkg-config search path / configure: error: Package requirements were not met

pkg-config cannot find the .pc file of a dependency.

ignoring pragma ompC/C++

warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]

The code uses OpenMP but the compiler was not told to enable it, so the code runs single-threaded.

function main is undeclared in the main packageGo

Go: runtime.main_main·f: function main is undeclared in the main package

The package is named `main` but contains no `func main()`, or you tried to build a library as an executable.

cgo: C compiler gcc not foundGo

Go: cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH

A package using cgo needs a C compiler, but none is installed or CGO is disabled.

no Go files in directoryGo

Go: package app/cmd: no Go files in /app/cmd / build constraints exclude all Go files

The directory you asked Go to build contains no buildable `.go` files.

CMake Error: CMAKE_C_COMPILER not set / No CMAKE_CXX_COMPILER could be foundmacOS

CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles"

CMake can't find a compiler or build tool.

nvcc: command not foundC/C++

bash: nvcc: command not found — CUDA toolkit not installed or not on PATH

The shell cannot find the CUDA compiler.

CUDA error: out of memoryC/C++

CUDA error: out of memory (cudaErrorMemoryAllocation)

A CUDA allocation failed because the GPU has no free memory for it.