Error map
No targets specified and no makefile found make: *** No targets specified and no makefile found. Stop.
C/C++ · layer 4, Application & API
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.
Directly related (8)
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…
CMake Error: Could not find a package configuration file provided by "Foo" (requested version 1.2)
`find_package(Foo)` could not locate the library's CMake config (FooConfig.cmake or FindFoo.cmake), so the library is not install…
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…
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…
zsh: command not found: make
macOS ships clang aliased as `gcc` and has no tools until the CLT are installed.
configure: error: C compiler cannot create executables / no acceptable C compiler found in $PATH
The autoconf check could not build a test program.
CMake Error: The source directory does not appear to contain CMakeLists.txt
CMake was run in or pointed at a folder without a top-level CMakeLists.txt.
g++: fatal error: Killed signal terminated program cc1plus — compilation terminated (out of memory)
The compiler was killed, almost always by the out-of-memory killer.
Two steps away (19)
bash: command not found
The shell can’t find an executable with that name in any directory on your PATH.
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.
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.
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.
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.
undefined reference to `curl_easy_init' / `SSL_new' / `EVP_...' (library not linked)
A third-party library header was included, but the library itself was never linked.
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.
macOS: “App” is damaged and can’t be opened. You should move it to the Trash.
Gatekeeper blocked an app that isn’t properly signed/notarized or was modified after download (quarantine attribute).
Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS
Homebrew requires a newer Command Line Tools version than the one installed.
macOS: clang: error: unsupported option '-fopenmp' (OpenMP with Apple Clang)
Apple's clang doesn't ship OpenMP support, so builds using `-fopenmp` fail.
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.
ERROR: The Python zlib extension was not compiled. Missing the zlib?
pyenv can't compile Python without development libraries.
CMake Error: No CMAKE_CXX_COMPILER could be found
CMake cannot find a C++ compiler.
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles"
CMake can't find a compiler or build tool.
CMake Error: Target "app" links to target "Foo::Foo" but the target was not found
A link target does not exist because the package was not found or the name is wrong.
CMake Error: The current CMakeCache.txt directory is different than the directory where CMakeCache.txt was created
The build folder was copied or moved.
Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A)
Windows detected a severe memory-management error — commonly faulty RAM, unstable memory settings or a bad driver.
Segmentation fault (core dumped)
A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).
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).