| Start |
|---|
| undefined reference to `***' This linker error happens, if the linker can't find a used symbol. Most of the time, this happens if a used library is not linked against. qmake: cmake: g++ call: One might also forget to compile and link all used |
| error: '***' was not declared in this scope This error happens if a unknown object is used. VariablesNot compiling: Fix: FunctionsMost of the time this error occurs if the needed header is not
included (e.g. using `std::cout` without `#include Not compiling: Fix: Or: Note: The compiler interprets the code from top to bottom (simplification). Everything must be at least declared (or defined) (opens new window) before usage. |
| fatal error: ***: No such file or directory The compiler can't find a file (a source file uses qmake: cmake: g++ call: |
Read Article
https://develop.horje.com/learn/1434/reference