×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Oct 2010
    Posts
    133

    Question the use's error of "TParsePtr "

    there is a problem should not has error.code as follow:
    Code:
    LOCAL_C void MainL()
    	{
    	
    
    	TBuf<40> bufMyBmp(_L("C:\\nokia\\Images\\Pictures\\MyBaby.bmp"));
    		TParsePtr myParse(bufMyBmp);
    }
    the error is"Undefined symbol: 'TParsePtr::TParsePtr(class TDes16 &) (??0TParsePtr@@QAE@AAVTDes16@@@Z)' "
    Can you help me?

  2. #2
    Regular Contributor
    Join Date
    Oct 2010
    Posts
    133

    Re: the use's error of "TParsePtr "

    I am copy from a example which is no error

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: the use's error of "TParsePtr "

    you would need to check SDK docs for the TParsePtr, and see that you have the required library included in your mmp file.

  4. #4
    Regular Contributor
    Join Date
    Oct 2010
    Posts
    133

    Re: the use's error of "TParsePtr "

    Quote Originally Posted by symbianyucca View Post
    you would need to check SDK docs for the TParsePtr, and see that you have the required library included in your mmp file.
    NO,same,the mmp file

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: the use's error of "TParsePtr "

    so you do have the "efsrv.lib" library include, and when re-building it still gives the error ?

  6. #6
    Regular Contributor
    Join Date
    Oct 2010
    Posts
    133

    Question Re: the use's error of "TParsePtr "

    Quote Originally Posted by symbianyucca View Post
    so you do have the "efsrv.lib" library include, and when re-building it still gives the error ?
    TARGET GetDir.exe
    TARGETTYPE exe
    UID 0 0xEF5C904B

    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include

    SOURCEPATH ..\src
    SOURCE GetDir.cpp

    LIBRARY euser.lib
    LIBRARY efsrv.lib

    #ifdef ENABLE_ABIV2_MODE
    DEBUGGABLE_UDEBONLY
    #endif
    it contain.I don't know have this problem.A lot of example can run without error.But I copy(learn) to another project,then many error appear.such as:
    TBuf<40> bufMyBmp(_L("C:\\nokia\\Images\\Pictures\\MyBaby.bmp"));
    TParsePtr myParse(bufMyBmp);-------------------------------------------------error
    Last edited by foshanzhuifeng; 2010-11-03 at 08:03. Reason: 35241

  7. #7
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: the use's error of "TParsePtr "

    that looks puzzling then, the SDK docs are indicating that only the efsrv.lib would be needed, but appears that you still get the error, thus, I would assume than that there is some other library also that would be required, but the SDK docs are just omitting the information.

    So guessing what is it would then be my suggestion. Thus check the example where you copied the code, and see what libraries it is including and try adding the them into your project to see what it is complaining about.

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: the use's error of "TParsePtr "

    When Carbide.c++ notices a change in the .mmp file, it offers some options, you should select to link again the code (it also offers doing nothing). If everything fails, you can try removing the project from the workspace and importing it again from the bld.inf file.

  9. #9
    Regular Contributor
    Join Date
    Oct 2010
    Posts
    133

    Re: the use's error of "TParsePtr "

    Quote Originally Posted by wizard_hu_ View Post
    When Carbide.c++ notices a change in the .mmp file, it offers some options, you should select to link again the code (it also offers doing nothing). If everything fails, you can try removing the project from the workspace and importing it again from the bld.inf file.
    Thank you two good man!I have solve my problem,which is just need the bafl.lib .Now it's run normal.

Similar Threads

  1. SmartInstaller: "installer error" after "verifying components"
    By cymerio in forum [Archived] Nokia Smart Installer for Symbian
    Replies: 7
    Last Post: 2010-10-07, 16:35
  2. WML - Error "Operation failed" / "your application is too large"
    By crajesh_2985 in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2009-10-06, 12:31
  3. Replies: 3
    Last Post: 2009-06-18, 21:42
  4. Replies: 4
    Last Post: 2008-05-20, 19:07
  5. extern "C" gives "Illegal Empty Declaration error"
    By GreatWarrior in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-01-08, 16:55

Posting Permissions

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