Why does linker give "ld: Undefined symbols:" error for symbols that appear to compile fine ?
Why does linker give "ld: Undefined symbols:" error for symbols that appear to compile fine ?
- Subject: Why does linker give "ld: Undefined symbols:" error for symbols that appear to compile fine ?
- From: Daniel Stenning <email@hidden>
- Date: Thu, 13 Dec 2007 13:02:15 +0000
- Thread-topic: Why does linker give "ld: Undefined symbols:" error for symbols that appear to compile fine ?
I have two hpp and cpp files written by myself, that hold several class
definitions and their implementations.
These classes get referenced in other source in my Xcode project ( a dylib
) compiles fine without errors - , but at the linking stage spits out an
"ld: Undefined symbols: __ZNmyclassname " ( where myclassname is the name
of one of my classes in the aforementioned hpp and cpp files.
Where should I look to sort this out ? I cant see anything in the target
settings that indicates the cause. Naturally all headers and cpp are
available to the compiler otherwise it would spit out compiler errors but it
doesn't.
Im flummoxed!!!
Cheers,
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden