Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User rtrnokia's Avatar
    Join Date
    Jan 2007
    Posts
    16
    I'm trying to get my S60 application to link with the lbs.lib. I've added the library lbs.lib entry to my Carbide c++ projects .mmp file but for some reason at link time it does not try to link my binary with the lbs.lib. As a result the link stage fails because of the unresolved references to the library.

    Do I have to do something other than adding the library entry to the .mmp file to get carbide c++ to link lbs.lib to my app?

    Also, just in case it's important the target I'm building for is the simulator I'm not building for real hardware yet.

    Thanks

  2. #2
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    in Carbide.C++ v1.1 you have to Add your library to Project Properties->C/C++ Build->GCCE Linker->Libraries.

  3. #3
    Registered User secureboot's Avatar
    Join Date
    Apr 2007
    Posts
    10
    How does one link a library in in v1.2? I tried Properties -> C/C++ Project Paths, then Libraries Tab, then "Add External Library", but that doesn't seem to be working... I keep getting undefined symbol errors.

    What should I be doing instead?

  4. #4
    Super Contributor antonypr's Avatar
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985
    For Carbide.c++ v1.2, you have to use .mmp file. It's a bit different to Carbide.c++ v1.1.

    Antony

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian C++
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. 编译3rd Sample程序时的LINK错误
    By mapk in forum Symbian
    Replies: 9
    Last Post: 2008-06-17, 04:26
  3. Parsing file content
    By hendrawan.ashari in forum Symbian C++
    Replies: 7
    Last Post: 2007-03-09, 10:41
  4. [newbie here] Link error
    By xitpu in forum Symbian C++
    Replies: 3
    Last Post: 2007-01-24, 16:53
  5. SyExpat + problem + memmove + Carbide Express
    By pearman in forum Symbian C++
    Replies: 2
    Last Post: 2006-10-14, 22:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved