×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    "error LNK2019: CBDERR --" how to fix?

    Hi,

    i'am using VS2005 with Carbide.vs. I am going to compile a project for winscw. My Problem is that i get a error message:
    EDPContainerStart.obj : error LNK2019: CBDERR -- unresolved external symbol "public: __thiscall TFontSpec::TFontSpec(class TDesC16 const &,int)" (??0TFontSpec@@QAE@ABVTDesC16@@H@Z) referenced in function "public: void __thiscall CEDPContainerStart::ConstructL(class TRect const &)" (?ConstructL@CEDPContainerStart@@QAEXABVTRect@@@Z)
    EDPContainerStart.obj : error LNK2019: CBDERR -- unresolved external symbol "public: void __thiscall TTypeface::SetIsProportional(int)" (?SetIsProportional@TTypeface@@QAEXH@Z) referenced in function "public: void __thiscall CEDPContainerStart::ConstructL(class TRect const &)" (?ConstructL@CEDPContainerStart@@QAEXABVTRect@@@Z)
    First idea: missing lib! But i added gdi.lib three weeks ago! But a this time i build it only for S60 release. But the app crashes on my mobile so i thought i will be a good idea to run it first on a emulator.

    But i don't know how to fix!

    Greetz Franky

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: "error LNK2019: CBDERR --" how to fix?

    Do cross check again. as VS overwrites the mmp file now and then.

  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,542

    Re: "error LNK2019: CBDERR --" how to fix?

    Any error code with which it panics in the device. Maybe http://wiki.forum.nokia.com/index.ph...ded_panic_code might help you in that.

    Regarding the link error, check if there is some ifdef in mmp file(Meaning that the gdi library is included only for device builds and not emulator builds)

  4. #4
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: "error LNK2019: CBDERR --" how to fix?

    Hi,

    thanks for your replies. If i update the mmp file VS2005 or carbide won't update them again by themselfs. So i removed this option ( after my first build).
    So if i change the mmp file it remains changed by myself na d not carbide.vs or by VS2005 or whatever. No idef is included but i will schow you my mmp file to make it clear:


    /*
    ============================================================================
    Name : EDP.mmp
    Author :
    Version :
    Copyright : Your copyright notice
    Description : Project specification file for EDP
    ============================================================================
    */
    TARGET EDP.exe
    TARGETTYPE exe
    UID 0x100039CE 0xe78e2bc7
    SECUREID 0xe78e2bc7
    EPOCSTACKSIZE 0x5000
    SOURCEPATH ..\data
    START RESOURCE EDP.rss
    TARGETPATH \resource\apps
    HEADER
    END

    START RESOURCE EDP_reg.rss
    TARGETPATH \private\10003a3f\apps
    END


    SOURCEPATH ..\src
    SOURCE EDP.cpp
    SOURCE EDPApplication.cpp
    SOURCE EDPDocument.cpp
    SOURCE EDPAppUi.cpp
    SOURCE EDPViewStart.cpp
    SOURCE EDPViewSettings.cpp
    SOURCE EDPContainerStart.cpp
    SOURCE EDPContainerSettings.cpp

    USERINCLUDE ..\inc
    USERINCLUDE ..\help
    SYSTEMINCLUDE \epoc32\include
    LIBRARY euser.lib
    LIBRARY apparc.lib
    LIBRARY cone.lib
    LIBRARY eikcore.lib
    LIBRARY avkon.lib
    LIBRARY commonengine.lib
    LIBRARY efsrv.lib
    LIBRARY estor.lib
    LIBRARY eikcoctl.lib
    LIBRARY hlplch.lib
    LIBRARY bafl.lib
    LIBRARY charconv.lib
    LIBRARY gdi.lib
    LIBRARY aknnotify.lib
    LANG SC
    VENDORID 0
    CAPABILITY LocalServices NetworkServices ReadUserData UserEnvironment WriteUserData
    For me the mmp file looks great.


    Greetz Franky

  5. #5
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,542

    Re: "error LNK2019: CBDERR --" how to fix?

    How about re-importing the project? have you tried it? maybe it might help as the mmp looks fine at the first glance and still you are having trouble.

  6. #6
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: "error LNK2019: CBDERR --" how to fix?

    Hi,


    "re-importing the project". I am not shure that i'll do the right but how will i re-import the project. I think this will not be done by deleting the project from VS' Explorer, close VS and then re-import the project. So i think form me it is not clear what to do.



    Greetz
    Franky

  7. #7
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,542

    Re: "error LNK2019: CBDERR --" how to fix?

    Well I havent used carbide.vs, but in carbide.c++, one would delete the project and it prompts if it should delete even the contents for which you say no. Then you import it again the way you would normally import a project. check carbide help documents on importing a project.

  8. #8
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: "error LNK2019: CBDERR --" how to fix?

    Hi,

    ok i have done it. Removing the project from my solution. Then adding an existing project (the current project), rebuild it: the error pops up again:

    MMP update not selected
    WINSCW (emulator) build
    Set build parameters for Deb_S60_30_WINSCW
    ------ Rebuild All started: Project: EDP, Configuration: Deb_S60_30_WINSCW Win32 ------

    .
    .
    .
    .
    .
    EDPContainerStart.obj : error LNK2019: CBDERR -- unresolved external symbol "public: __thiscall TFontSpec::TFontSpec(class TDesC16 const &,int)" (??0TFontSpec@@QAE@ABVTDesC16@@H@Z) referenced in function "public: void __thiscall CEDPContainerStart::ConstructL(class TRect const &)" (?ConstructL@CEDPContainerStart@@QAEXABVTRect@@@Z)
    EDPContainerStart.obj : error LNK2019: CBDERR -- unresolved external symbol "public: void __thiscall TTypeface::SetIsProportional(int)" (?SetIsProportional@TTypeface@@QAEXH@Z) referenced in function "public: void __thiscall CEDPContainerStart::ConstructL(class TRect const &)" (?ConstructL@CEDPContainerStart@@QAEXABVTRect@@@Z)
    C:\Symbian\9.1\S60_3rd\\Epoc32\release\winscw\udeb\EDP.exe : error CBDERR: Deleting the corrupted output.

    It seems that nothing different happens.



    Greetz
    Franky

Similar Threads

  1. Problem using MySQL on s60 3rd
    By DFurió in forum Mobile Web Server
    Replies: 14
    Last Post: 2008-12-11, 08:58
  2. Replies: 0
    Last Post: 2008-02-14, 15:22
  3. S80 SDK Fix Mystery
    By puti in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-11-16, 13:33
  4. FIX FOR NOKIA 7650 AND WINDOWS XP
    By naivri in forum Bluetooth Technology
    Replies: 4
    Last Post: 2002-12-29, 00:06

Posting Permissions

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