Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2006

    CodeWarrior Linking Error

    Hi everyone
    I'm new to Codewarrior, and whenever I try to add my own code I always get error like Linker Error : Undefined Symbol ....
    for example
    Link Error : Undefined symbol: 'class CTextListBoxModel * CEikColumnListBox::Model(void) const (?Model@CEikColumnListBox@@QBEPAVCTextListBoxModel@@XZ)'

    referenced from 'void CMyListBoxAppView::CreateListItemsL(void) (?CreateListItemsL@CMyListBoxAppView@@QAEXXZ)' in MYLISTBOXAPPVIEW.cpp:147

    I have added "LIBRARY bafl.lib" in the .MMP file, but it seems that its not working, and I don't know what to do.
    thankx in advance

  2. #2
    Regular Contributor
    Join Date
    Aug 2004
    East Coast, USA

    Re: CodeWarrior Linking Error

    in those cases, i would put the "CTextListBoxModel" in the sdk-help search window and search for it.
    The class reference documentation for CTextListBoxModel shows you need avkon.kib eikcoctl.lib and eikctl.lilb in your mmp file.



  3. #3
    Registered User
    Join Date
    Feb 2006

    Re: CodeWarrior Linking Error

    Thankx Blizzz

  4. #4
    Registered User
    Join Date
    Oct 2004

    Re: CodeWarrior Linking Error

    Wouldn't you want to add eikctl.lib to the mmp?

Similar Threads

  1. problem with Code Warrior 5.2
    By mayankkedia in forum Symbian
    Replies: 4
    Last Post: 2006-06-22, 08:26
  2. help !! about SIP errors
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2006-05-17, 05:30
  3. S80 Platform SDK and Visual Studio .NET Linking Error
    By jayantjain in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2005-10-07, 22:14
  4. code warrior problems
    By mayankkedia in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2004-10-25, 06:59
  5. Cannot compile SDK's examples for 7650 platform...
    By midletsoft in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-08-12, 19:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts