Why do I get "Undefined symbol" for code in the ConstructL method?
| Fri, 2008-02-22 20:35 | |
|
|
I am just starting with Symbian C++ and I am trying to get animation to work. I have a class for double buffering and I call the Bitmap classes from the ConstructL method with this code: iAreaBitmap = new (ELeave) CFbsBitmap(); but I get these errors: Undefined symbol: 'CFbsBitmap::CFbsBitmap(void) (??0CFbsBitmap@@QAE@XZ)'[] HelloWorldBasic Unknown 1203707929284 422 The header file for the bitmap classes is included, so I wonder why I get "Undefined symbol" error. When I move the code to another method then ConstructL I don't get any errors.What can I do to get rid of the "Undefined symbol" errors? |






Forum posts: 607
You need to add the .lib to your mmp file which includes these classes.
Forum posts: 1144
Yup. See e.g.
http://www.newlc.com/topic-889
René Brunner
Forum posts: 37
I got the simple animation to work! I sent a free download of my company's product Astral effects (contains 10 hypnotic visuals) to you as thanks for the help. I am planning to make a Symbian screensaver of one of the visuals in Astral effects.