×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    3

    unresolved external symbol

    Hi,

    I've tried to use class CPAlbImageViewerBasic to display jpg picture.
    I've read a lot of articles in this forum about it. I know I need append to my mmp-file row "LIBRARY Palbview.lib", but still I have problems with it.

    <code>
    CPAlbImageViewerBasic* iiViewer = CPAlbImageViewerBasic::NewL(this, Rect());
    . . .
    </code>

    error LNK2019: unresolved external symbol "public: void __thiscall CPAlbImageViewerBasic:: ...

    I use VS2003 + Carbide. If I change the mmp-file, VS show error and ask me "this file (mmp) has been modified outside of the source editor. Do you want to reload it?"

    If I confirm Yes, the row LIBRARY ... is marked as a comment (like // LIBRARY...)

    I really don't know how this problem solve.

    I will be very happy for some tips.
    (sorry for my english)

    Thanks

  2. #2
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    79

    Re: unresolved external symbol

    In Visual Studio go to menu: Project->Carbide.vs Properties, uncheck "update mmp file" and try again (by hand) add library (to mmp file) and recompile the project.

    Another solution would be:
    - switch to Deb_something build
    - go to menu: Project-><Project name> properties (last option on this menu)
    - in new dialog box on left side click on: Linker, then Input
    - on the right side you will have: "Additional Dependencies", and list of libraries. Just add there your library, close the dialog box
    - go to: Solution Explorer, left click on your mmp file and update it.

    One of those should work.

    Cheers...

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    3

    Re: unresolved external symbol

    great!

    second solution works

    Thanks

Similar Threads

  1. error LNK2019: unresolved external symbol ???
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2009-09-28, 06:53
  2. 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
  3. how to avoid linking error
    By skdas in forum Symbian
    Replies: 6
    Last Post: 2003-07-07, 07:57
  4. Dialogs within Symbian 6.0 based SDK
    By georgica1979 in forum Symbian User Interface
    Replies: 14
    Last Post: 2003-04-07, 15:29
  5. Unresolved external symbols problem
    By georgica1979 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-04-06, 13:26

Posting Permissions

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