×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    15

    Query : Undefined Symbol

    Hi Everybody,

    I faced this error when i tried to impliment dialog into my project and i am building this project by carbide C++.
    So If any body know what is the problem tell me soon.

    ----------------
    Code:
    ----------------
    //Try2AppUi.cpp


    void CTry2AppUi::ConstructL()
    {
    // Initialise app UI with standard value.
    BaseConstructL();

    // Create view object
    iAppView = CTry2AppView::NewL( ClientRect() );

    CTry2Dialog* dialog;
    dialog= new(ELeave) CTry2Dialog(this);
    if(!dialog->ExecuteLD(R_DEMO_SINGLEPAGE_DIALOG))
    return;
    }

    ----------------
    ERROR:
    ----------------
    Undefined symbol: 'CTry2Dialog::CTry2Dialog(class CTry2AppUi *) (??0CTry2Dialog@@QAE@PAVCTry2AppUi@@@Z)' referenced from 'void CTry2AppUi::ConstructL(void) (?ConstructL@CTry2AppUi@@UAEXXZ)' in Try2AppUi.cpp:44


    Thanks,
    Sanket

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    Moscow, Russia
    Posts
    803

    Re: Query : Undefined Symbol

    Hi,

    what is CTry2Dialog? Can you post the class declaration here? Is it in the same project as CTry2AppUi?
    Regards,
    ivey

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    15

    Re: Query : Undefined Symbol

    //class declaration
    #ifndef TRY2DIALOG_H_
    #define TRY2DIALOG_H_
    #include "Try2AppUi.h"

    class CTry2AppUi;

    //CTry2AppUi* aAppUi;


    class CTry2Dialog : public CEikDialog
    {
    public:
    CTry2Dialog(CTry2AppUi* aAppUi);

    private:

    void PreLayoutDynInitL();
    TBool OkToExitL(TInt aKeycode);

    private:
    CTry2AppUi* iAppUi;
    };
    /*void CTry2Dialog::PreLayoutDynInitL()
    {

    }
    */
    #endif /*TRY2DIALOG_H_*/

  4. #4
    Super Contributor
    Join Date
    Jun 2006
    Location
    Moscow, Russia
    Posts
    803

    Re: Query : Undefined Symbol

    Do you have an implementation of CTry2Dialog in Try2Dialog.cpp?
    Regards,
    ivey

Similar Threads

  1. Fail to build syexpat 1.3 under 2nd FP3
    By harry_zhang in forum Symbian
    Replies: 10
    Last Post: 2010-03-19, 10:24
  2. error LNK2019: unresolved external symbol ???
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2009-09-28, 06:53
  3. Carbide Compilation Error
    By d2army in forum Symbian
    Replies: 3
    Last Post: 2006-06-23, 14:15
  4. error LNK2001: Please Help
    By sourish_khan in forum Symbian
    Replies: 9
    Last Post: 2006-04-19, 11:16
  5. 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

Posting Permissions

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