Error map

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

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

Open the full error page →

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.

Qt6Config.cmake — CMake Error: Could not find a package configuration file provided by "Qt6" (Qt6Config.cmake) (C/C++)Qt6Config.c…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_…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 …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 …No such slot — QObject::connect: No such slot MyWidget::onClicked() / No such signal (C/C++)No such slotvcpkg package not found — CMake: Could not find a package configuration file provided by "X" — vcpkg toolchain file not set (C/C++)vcpkg package not f…CMP0 — 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 DESTINATIONvtable for Qt class — undefined reference to `vtable for MyWidget' (Qt: moc file not generated) (C/C++)vtable for Qt classundefined 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 generatecall of overloaded is ambiguous — C++: error: call of overloaded 'f(int)' is ambiguous (C/C++)call of overloaded …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…AddressSanitizer: heap-buffer-overflow — C/C++: ==ERROR: AddressSanitizer: heap-buffer-overflow on address — READ/WRITE of size N (C/C++)AddressSanitizer: h…Error: 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…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…Segmentation fault — C/C++: Segmentation fault (core dumped) — SIGSEGV from a null, dangling or out-of-bounds pointer (C/C++)Segmentation faultstack overflow — C/C++: stack overflow — infinite recursion or huge local array (Segmentation fault, 0xC00000FD) (C/C++)stack overflowFloating point exception — C/C++: Floating point exception (core dumped) — SIGFPE, usually integer division by zero (C/C++)Floating point exce…channel 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…undefined reference to vtable — C++: undefined reference to `vtable for X' — virtual function not defined (C/C++)undefined reference…

Directly related (12)

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.

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.

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.

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.

vcpkg package not foundC/C++

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

A vcpkg-installed library is not visible to CMake because the toolchain file was not passed.

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.

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.

Two steps away (25)

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.

call of overloaded is ambiguousC/C++

C++: error: call of overloaded 'f(int)' is ambiguous

Two or more overloads fit equally well, so the compiler refuses to guess which function you meant.

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…

AddressSanitizer: heap-buffer-overflowC/C++

C/C++: ==ERROR: AddressSanitizer: heap-buffer-overflow on address — READ/WRITE of size N

AddressSanitizer caught a read or write just outside a heap block — an array index or length that is off by one or more.

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…

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…

Segmentation faultC/C++

C/C++: Segmentation fault (core dumped) — SIGSEGV from a null, dangling or out-of-bounds pointer

The program touched memory it is not allowed to access — a null or dangling pointer, an out-of-range array index, or a stack over…

stack overflowC/C++

C/C++: stack overflow — infinite recursion or huge local array (Segmentation fault, 0xC00000FD)

The call stack ran out of space, typically from recursion that never stops or from a very large array declared as a local variabl…

Floating point exceptionC/C++

C/C++: Floating point exception (core dumped) — SIGFPE, usually integer division by zero

Despite the name, this is almost always an integer division or modulo by zero (or INT_MIN / -1); floating-point division by zero…

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.

undefined reference to vtableC/C++

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…