Error map

vcpkg package not found CMake: Could not find a package configuration file provided by "X" — vcpkg toolchain file not set

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

Open the full error page →

Centre: this error. First ring: errors it is linked with (9). 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.

vcpkg package not found — CMake: Could not find a package configuration file provided by "X" — vcpkg toolchain file not set (C/C++)vcpkg packa…Could 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…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_…CMakeCache.txt directory is different — CMake Error: The current CMakeCache.txt directory is different than the directory where CMakeCache.txt was created (C/C++)CMakeCache.txt dire…No CMAKE_CXX_COMPILER could be found — CMake Error: No CMAKE_CXX_COMPILER could be found (C/C++)No CMAKE_CXX_COMPIL…target was not found — CMake Error: Target "app" links to target "Foo::Foo" but the target was not found (C/C++)target was not founddoes not appear to contain CMakeLists.txt — CMake Error: The source directory does not appear to contain CMakeLists.txt (C/C++)does not appear to …Qt6Config.cmake — CMake Error: Could not find a package configuration file provided by "Qt6" (Qt6Config.cmake) (C/C++)Qt6Config.cmakeCMP0 — CMake Warning (dev): Policy CMP0xxx is not set: ... Run "cmake --help-policy CMP0xxx" for policy details (C/C++)CMP0install DESTINATION — CMake Error: install TARGETS given no RUNTIME DESTINATION / file INSTALL cannot copy file (C/C++)install DESTINATIONundefined 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 ofCOPY failed — COPY failed: file not found in build context / "/app/x": not found (Docker)COPY failedERR_OSSL_EVP_UNSUPPORTED — Error: error:0308010C:digital envelope routines::unsupported (Node.js)ERR_OSSL_EVP_UNSUPP…prisma generate — Error: @prisma/client did not initialize yet. Please run "prisma generate" (Node.js)prisma generateError: SHA256 mismatch (expected X, actual Y) — Error: SHA256 mismatch Expected: abc... Actual: def... File: /Users/me/Library/Caches/Homebrew/downloads/... (macOS)Error: SHA256 misma…expected ';' before — C/C++: error: expected ';' before 'x' — missing semicolon (C/C++)expected ';' beforewas not declared in this scope — C++: error: 'x' was not declared in this scope (undeclared identifier) (C/C++)was not declared in…expected primary-expression before — C++: error: expected primary-expression before ')' token (C/C++)expected primary-ex…cannot declare variable to be of abstract type — C++: error: cannot declare variable 'x' to be of abstract type 'Shape' (pure virtual functions) (C/C++)cannot declare vari…reference to is ambiguous — C++: error: reference to 'X' is ambiguous (using namespace std conflicts) (C/C++)reference to is amb…no such target — Bazel: ERROR: no such target '//pkg:name': target 'name' not declared in package 'pkg' (C/C++)no such targetnot 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…Could not load the Qt platform plugin xcb — qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found (C/C++)Could not load the …vtable for Qt class — undefined reference to `vtable for MyWidget' (Qt: moc file not generated) (C/C++)vtable for Qt classNo such slot — QObject::connect: No such slot MyWidget::onClicked() / No such signal (C/C++)No such slotchannel 2: open failed: administratively prohibited: open failed — channel 2: open failed: administratively prohibited: open failed (Linux)channel 2: open fai…Error: Xcode alone is not sufficient on macOS / Command Line Tools missing for brew — Error: Xcode alone is not sufficient on Sonoma. Install the Command Line Tools: xcode-select --install (macOS)Error: Xcode alone …Software Update: Installation failed / an error occurred while installing — An error occurred preparing the update. Failed to verify / "macOS could not be installed on your computer" (macOS)Software Update: In…

Directly related (9)

Could not find a package configuration fileC/C++

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…

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.

CMakeCache.txt directory is differentC/C++

CMake Error: The current CMakeCache.txt directory is different than the directory where CMakeCache.txt was created

The build folder was copied or moved.

No CMAKE_CXX_COMPILER could be foundC/C++

CMake Error: No CMAKE_CXX_COMPILER could be found

CMake cannot find a C++ compiler.

target was not foundC/C++

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.

does not appear to contain CMakeLists.txtC/C++

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.

Qt6Config.cmakeC/C++

CMake Error: Could not find a package configuration file provided by "Qt6" (Qt6Config.cmake)

CMake cannot find the Qt installation.

CMP0C/C++

CMake Warning (dev): Policy CMP0xxx is not set: ... Run "cmake --help-policy CMP0xxx" for policy details

CMake is warning that a behaviour changed between versions and your project has not said which behaviour it wants.

install DESTINATIONC/C++

CMake Error: install TARGETS given no RUNTIME DESTINATION / file INSTALL cannot copy file

The `install()` rule is incomplete or tries to write somewhere it cannot.

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.

COPY failedDocker

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.

ERR_OSSL_EVP_UNSUPPORTEDNode.js

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.

prisma generateNode.js

Error: @prisma/client did not initialize yet. Please run "prisma generate"

The generated Prisma Client is missing or out of date.

Error: SHA256 mismatch (expected X, actual Y)macOS

Error: SHA256 mismatch Expected: abc... Actual: def... File: /Users/me/Library/Caches/Homebrew/downloads/...

The downloaded bottle/source doesn't match the formula's checksum.

expected ';' beforeC/C++

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.

was not declared in this scopeC/C++

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.

expected primary-expression beforeC/C++

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…

cannot declare variable to be of abstract typeC/C++

C++: error: cannot declare variable 'x' to be of abstract type 'Shape' (pure virtual functions)

You tried to create an object of a class that still has pure virtual functions; only a derived class that overrides all of them c…

reference to is ambiguousC/C++

C++: error: reference to 'X' is ambiguous (using namespace std conflicts)

Two declarations of the same name are visible, usually because of `using namespace std`.

no such targetC/C++

Bazel: ERROR: no such target '//pkg:name': target 'name' not declared in package 'pkg'

Bazel cannot find the label you asked to build.

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…

Could not load the Qt platform plugin xcbC/C++

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found

Qt cannot start its Linux display plugin.

vtable for Qt classC/C++

undefined reference to `vtable for MyWidget' (Qt: moc file not generated)

A class using `Q_OBJECT` was compiled without its moc-generated code being built and linked.

No such slotC/C++

QObject::connect: No such slot MyWidget::onClicked() / No such signal

Qt's string-based `connect` could not find the signal or slot at run time.

channel 2: open failed: administratively prohibited: open failedLinux

channel 2: open failed: administratively prohibited: open failed

The server disallows TCP forwarding.

Error: Xcode alone is not sufficient on macOS / Command Line Tools missing for brewmacOS

Error: Xcode alone is not sufficient on Sonoma. Install the Command Line Tools: xcode-select --install

Homebrew needs the Command Line Tools to build formulae.

Software Update: Installation failed / an error occurred while installingmacOS

An error occurred preparing the update. Failed to verify / "macOS could not be installed on your computer"

A macOS update failed to download or install.