Discussion Board

Results 1 to 5 of 5
  1. #1
    Nokia Developer Expert oskarinarki's Avatar
    Join Date
    Jan 2004
    Posts
    45
    Hi,

    How do I get the headers (folder) included automatically in the CodeWarrior project view. I haven't found a setting for this in preferences. Or is there something else wrong with my environment.

    When I import a project I can see only
    Source
    Resources
    Link
    Libraries

    Thanks in advance for any tips!

  2. #2
    Nokia Developer Expert timm-ah's Avatar
    Join Date
    Dec 2004
    Location
    Austin, TX
    Posts
    399
    This is a feature that was actually added to the import scripts of an sdk (under \epoc32\tools). So only newer SDKs will have this feature. There's nothing you do or configure; when you import your project the project headers just show up in a Headers folder.

    Tim

  3. #3
    Nokia Developer Expert oskarinarki's Avatar
    Join Date
    Jan 2004
    Posts
    45
    Thanks,

    That explained the "problem". Do you know if it is possible to fix (easily) the project import script or maybe use a script from newer SDK?

  4. #4
    Nokia Developer Expert timm-ah's Avatar
    Join Date
    Dec 2004
    Location
    Austin, TX
    Posts
    399
    You could try (an unsupported hack if you are feeling adventuresome) to modify "epoc32\tools\ide_cw.pm". (Of course, make a back-up of the origianal first.
    You would need to find the code that adds the headers in.
    e.g. S60 3.0 beta would have this feature, just search for the block:

    if ($addHeaders) { ... }

    then copy that block to your own SDK's ide_cw.pm and re-import the project.
    You should never try to use a script in it's entirety from another SDK.


    Cheers,
    Tim

  5. #5
    Nokia Developer Champion stenlik's Avatar
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037
    Hi,

    did it works for you? I playing with modifying the file for one hour and finally I give up. Everything seems to be modyfied correctly, but when I import the project the "Headers" folder does not appear in the source tree

    Regards,
    STeN

Similar Threads

  1. [newbie here] Link error
    By xitpu in forum Symbian C++
    Replies: 3
    Last Post: 2007-01-24, 16:53
  2. Headers folder missing in CW project view?
    By oskarinarki in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-10-18, 11:01
  3. 7710 SDK Missing headers
    By greatape in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2005-02-01, 11:08
  4. Missing headers in SDK v2.0
    By NavaronSoftware in forum Symbian Tools & SDKs
    Replies: 14
    Last Post: 2004-05-04, 07:44
  5. missing sdk headers
    By liammurray in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-10-16, 20:20

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