Discussion Board

Results 1 to 10 of 10
  1. #1
    Super Contributor
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,174

    Path problem for Static Libraries in Symbian^3 SDK

    In SYmbian^3 SDK, for GCCE build, I know that the static libraries should be placed at \epoc32\release\armv5\urel rather than at \epoc32\release\gcce\urel.

    But what should be the path for static libraries for winscw? As I am getting the error
    "checklib: error: couldn't open file" for winscw build.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,791

    Re: Path problem for Static Libraries in Symbian^3 SDK

    The first thing I would do is checking if the file really exists there.

  3. #3
    Super Contributor
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,174

    Re: Path problem for Static Libraries in Symbian^3 SDK

    Thanks wizard for your quick reply.

    According to the earlier versions of SDK, the static libraries (for winscw) should be placed at these two paths
    \epoc32\release\winscw\udeb
    \epoc32\release\winscw\urel

    Now what I am doing is... I am trying to make use of the library HeapLogger.lib in a sample project of Symbian^3 SDK. So, I copied HeapLogger.lib file at the above mentioned two paths (according to Symbian^3). But then I am got below mentioned errors

    Code:
    Undefined symbol: 'void HeapLogger::Log(class TDesC8 const &, char const *, int) (?Log@HeapLogger@@SAXABVTDesC8@@PBDH@Z)'
    Undefined symbol: 'void HeapLogger::DumpHeap(void) (?DumpHeap@HeapLogger@@SAXXZ)'
    Undefined symbol: 'void HeapLogger::SetMode(int) (?SetMode@HeapLogger@@SAXH@Z)'
    These errors are due to missing library. It means Symbian^3 SDK is expecting the .lib file to be placed at some other location than the one where earlier SDKs expects. That's why I wanted to know about the path.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,791

    Re: Path problem for Static Libraries in Symbian^3 SDK

    It also matters where have you copied it from. Remember that the library has to be built for the emulator.

    EDIT: if you are using that "Lumberjack1.zip", whatever the article says, it contains the library only for device targets.
    Last edited by wizard_hu_; 2011-02-02 at 14:39.

  5. #5
    Super Contributor
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,174

    Re: Path problem for Static Libraries in Symbian^3 SDK


  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,791

    Re: Path problem for Static Libraries in Symbian^3 SDK

    See the EDIT part in #4 then.

  7. #7
    Super Contributor
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,174

    Re: Path problem for Static Libraries in Symbian^3 SDK

    ok.... Then I will check it on device.

    Anyways, Thanks a lot wizard.

  8. #8
    Registered User
    Join Date
    Oct 2008
    Location
    India
    Posts
    219

    Re: Path problem for Static Libraries in Symbian^3 SDK

    After some searching i have got this.. I know its too late but it may be help you or another one who have the same problem:--


    Known Problems and Limitations in symbian 3 SDK Release:
    ===================================================
    C++:
    • Example application AudioStreamExample will not work for the second and subsequent record options.
    • Example application SensorExample will not run on Emulator.
    • Example applications Simpleshader and Normalmapping from OpenGL cannot be run on Emulator as emulator doesn't support OpenGL ES 2.0.
    • Example application NPBitmap will not build for GCCE.
    • Applications linking to static library cannot be built for GCCE target
    Workaround: create gcce\urel and gcce\udeb under epoc32\release folders, copy the contents of epoc32\release\armv5\udeb to
    epoc32\release\gcce\udeb and urel respectively.

    see the last point.

  9. #9
    Super Contributor
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,174

    Re: Path problem for Static Libraries in Symbian^3 SDK

    Can you let me know from where you got this information. Because

    Applications linking to static library cannot be built for GCCE target
    I am already able to build my application (which is making use of STATIC Libraries) for GCCE.

    create gcce\urel and gcce\udeb under epoc32\release folders
    Why should I create when these folders are already placed there?

    Still, I will check the last point and revert here back.

  10. #10
    Registered User
    Join Date
    Oct 2008
    Location
    India
    Posts
    219

    Re: Path problem for Static Libraries in Symbian^3 SDK

    plz see the release notes of symbian 3

Similar Threads

  1. Bug with static libraries in the Symbian^3 SDK
    By storsjo in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2010-12-31, 16:14
  2. Replies: 1
    Last Post: 2007-04-27, 13:29
  3. WSD in Static libraries..
    By mayankkedia in forum Symbian
    Replies: 4
    Last Post: 2007-04-13, 10:07

Posting Permissions

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