Top "Undefined-symbol" questions

After all of the input files have been read and all symbol resolution is complete, the link-editor searches the internal symbol table for any symbol references that have not been bound to symbol definitions.

Xcode gives Apple Mach-O linker error

I just compiled a project and Xcode returns these two errors which don't seem to be my code's fault. How …

ios objective-c linker-errors mach-o undefined-symbol
c++ undefined symbol when compiling

FIXED: had the method twice in the header file I get the following error when trying to compile my project % …

c++ compiler-errors makefile undefined-symbol
Undefined symbols for architecture armv7 when using ZXing library in Xcode 4.5

What I am trying to do Integrate Zxing, QR code reader framework, in my iPhone project. I checked out ZXing …

ios cocoa-touch ios6 zxing undefined-symbol
again "undefined symbol" in runtime, c++

I have a data type and I can instantiate a variable of that type. like this: FetchAddr faddr(VirtualMemoryAddress( 0x0…

c++ runtime undefined-symbol
Prevent "test/expect/etc is not defined" errors when using Jest

Facebook's Jest testing framework is easy to get started with, but the documentation overlooks an annoying aspect: test statements will …

javascript syntax-highlighting jestjs undefined-symbol
GoogleMapsSDK : Undefined symbols for architecture x86_64

I am trying to install the Google maps SDK and I am running through this error when running: Undefined symbols …

ios linker-errors google-maps-sdk-ios undefined-symbol
C++: Undefined symbols when loading shared library with dlopen()

I have an issue when I try to use dlopen() to load a shared library into another shared library. I …

c++ shared-libraries dlopen undefined-symbol
How do I find where a symbol is defined among static libraries

Suppose you work with a codebase comprising several tools and libraries and you want to port (or resurrect) some component …

c++ linker libraries undefined-symbol
Symbol(s) not found for architecture x86_64 - Cmake - Mac sierra

Recently I have started a new project in C++. The problem is, when I try to compile it I get …

c++ cmake linkage undefined-symbol
Weird undefined symbols of static constants inside a struct/class

Either I'm very tired or something weird is happening that I'm not aware of, because the code below is resulting …

c++ initialization definition static-members undefined-symbol