Error map
C compiler cannot create executables configure: error: C compiler cannot create executables / no acceptable C compiler found in $PATH
C/C++ · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (12). 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 (12)
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.
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…
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.
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…
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.
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.
Two steps away (30)
C/C++: multiple definition of `x'; first defined here — ld returned 1 exit status
The linker found the same function or global variable defined in two object files — usually something defined in a header.
C++: undefined reference to `vtable for X' — virtual function not defined
The linker cannot find the class's virtual table, which means at least one virtual member function was declared but never defined…
C/C++: undefined reference to `pthread_create' — missing -pthread (also `dlopen`, `clock_gettime`)
Your program uses threads (or another system library) but the linker was not told to link it.
bash: command not found
The shell can’t find an executable with that name in any directory on your PATH.
MSVC: fatal error C1083: Cannot open include file: 'foo.h': No such file or directory
The compiler cannot find a header.
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.
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.
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.
npm ERR! code ELIFECYCLE / Command failed with exit code 1
An npm script (build, start, test, postinstall) exited with an error. ELIFECYCLE is only the wrapper — the real error is printed…
gyp ERR! build error / node-gyp rebuild failed
A dependency with native C/C++ code couldn’t compile — missing build tools, Python, or an unsupported Node version.
COPY failed: file not found in build context / "/app/x": not found
The Dockerfile COPY refers to a path outside the build context, excluded by .dockerignore, or relative to the wrong directory.
C++: error: invalid use of incomplete type 'class X' — forward declaration only
You used a class that has only been forward-declared (so its size and members are unknown) where the full definition is required.
C: warning: implicit declaration of function 'foo' [-Wimplicit-function-declaration]
In C you called a function the compiler has not seen declared — usually a missing `#include`. Newer compilers treat it as an erro…
C++: error: expected class-name before '{' token
A base-class list or declaration expects a class name but found something else.
C++: error: 'x' was not declared in this scope (undeclared identifier)
The compiler met a name it has never seen: it is misspelled, declared later, out of scope, or its header or namespace is missing.
C++: error: 'string' does not name a type
Where the compiler expected a type, it found a name it does not know as one — a missing header, namespace, or class declared late…
C++: warning: structured bindings / inline variables only available with '-std=c++17' or '-std=gnu++17'
A newer language feature was used but the compiler is building in an older standard mode.
make: *** No targets specified and no makefile found. Stop.
`make` ran in a folder without a Makefile.
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.
Error: error:0308010C:digital envelope routines::unsupported
An old build tool (webpack 4, old react-scripts) uses a hash algorithm that OpenSSL 3 in Node 17+ disables.
Error: @prisma/client did not initialize yet. Please run "prisma generate"
The generated Prisma Client is missing or out of date.
Error: Node Sass does not yet support your current environment
node-sass (deprecated) has no binary for your Node version/OS.
error: subprocess-exited-with-error / Failed building wheel for x
pip had to compile a package from source and the build failed — missing compiler, headers or system libraries.
failed to solve: process "/bin/sh -c ..." did not complete successfully: exit code: 1
A RUN step in your Dockerfile failed. The real error is printed in the lines just above this message.
failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
docker build can’t find a Dockerfile in the build context you passed.
C/C++: error: expected ';' before 'x' — missing semicolon
The compiler reached a token where a statement should have ended — almost always a missing semicolon on the line above.
C++: error: expected primary-expression before ')' token
The parser expected a value or expression and found a token that cannot start one — often a type name passed where a value belong…
C++: error: expected unqualified-id before 'return' / before ')' token
The parser found a token where a name (declaration) was required — often a missing brace, a stray `)`, or a statement placed in a…
/usr/bin/ld: cannot find -lssl: No such file or directory
The linker was told to link `-lfoo` but cannot find libfoo.so or libfoo.a in any search path.