Linker Error - Symbol Not Found
Linker Error - Symbol Not Found
- Subject: Linker Error - Symbol Not Found
- From: koko <email@hidden>
- Date: Mon, 16 Apr 2012 10:45:37 -0600
This is really strange and holding me up.
I have a C++ class ( CPropSheet )included in my project, the .h and .cpp files. The project compiles all files as Obj-C++.
In an objc-c interface definition I declare a pointer to a type of the C++ class:
CPropSheet *m_CPropSheet;
In the obj-c implementation, awakeFromNib I do:
m_CPropSheet = new CPropSheet();
The constructor for CPropSheet is defined in the C++ .h, the implementation exists in the .cpp
The project compiles and then fails on a link error
"CPropSheet::CPropSheet()", referenced from:
-[NSPropSheet awakeFromNib] in NSPropSheet.o
ld: symbol(s) not found for architecture i386
I am stumped as to how this can be.
Any suggestions are appreciated!
-koko
|
_______________________________________________
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