Getting a Undefined Symbol: 'CFbsBitmap::CFbsBitmap(void) ..
| Wed, 2003-11-26 19:18 | |
|
I'm new to symbian, but i've been programming some years.
I get this problem, wich is probably rather simple, but I've been looking at i for so long, that I might have gone blind ![]() I get a linker error saying Undefined Symbol: 'CFbsBitmap::CFbsBitmap(void) (??0CFbsBitmap@@..)' And i really can't see why. The part the error is originating from is here: void CQStartView::ConstructL() { CFbsBitmap* iBitmap; _LIT(KTxtMBMname,"C:\\system\\apps\\BasicApp\\grbmap.mbm"); CreateWindowL(); Window().SetShadowDisabled(ETrue); TRect rect = iAppUi->ClientRect(); SetRect(rect); ActivateL(); MakeVisible(EFalse); // set up name for bitmap sharing TBool shareIfLoaded(ETrue); iBitmap = new (ELeave) CFbsBitmap(); } when i attempt to create the instance iBitmap of CFbsBitmap i get the error. I just can't see why. Hope somone can spot my mistake. |
|







Thanks a bundle!
Now it works. Though CodeWarrior had a bit special of handling libraries.
Forum posts: 3
Forum posts: 3
1) add in your .mmp this in the 1st line of librarys:
LIBRARY fbscli.lib
2)Go to Projects->Properties. Find the C/C++ Build section, then search for WINSCW Linker and then Libraries. You ill find a list of the linked libraries, just click on the button to add more libraries. And then press apply/ok;
Remember: the pos of the fbscli must be the same as in the mmp, if its the first in the .mmp then it should be the first in the Libraries , for that you have a UP/Down button.
Hope its helps.
Forum posts: 3