×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    148

    A problem with the concept of generating icons in a separate makefile

    The problem is this: when the resulting icons are used in the resource file, you would need to include project.mbg in project.rss. But the .mbg file is generated after the resource file is compiled, as this is the practice when using makefiles. In this case the makefile's RESOURCE : label is called after the rsg file has been created.

    There is a way around it, which is generating the mbg file earlier, using the LIB : label instead of the RESOURCE : label host the mifconv statement.

    Because LIB is called before RESOURCE, the mbg file will be build now for before the resource file.

    The is still a caveat: only "abld build" will now work properly all the time. People who did "abld resource" will still find their mbg file out of date. It is also not possible to do mifconv in both LIB and RESOURCE, as this will lead to the mbg file alsways being younger than the compiled resource files.

    The only long-term solution is to have mifconv being part of the regular mmp file syntax.

    Finally, I only saw this after the mbg file was deleted. This resulted in make not being able to see the project.mbg file at all and aborting the entiere build. If the mbg file was left over from earlier bmconv builds, this problem would have been hidden.

    Sander van der Wal
    mBrain Software

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    148

    Re: A problem with the concept of generating icons in a separate makefile

    Sorry, my mistake. Putting the mifconv statement next to LIB doesn't work straaight out of the box either. ABLD LIBRARY WINSCW doesn't take the UDEb parameter, not the UREL parameter. this means that $(CFG) is empty and the mif file is generated in the wrong folder. If you need to use this truc, replace $(CFG) with UDEB in the icons makefile.

    Sander van der Wal
    mBrain Software

Similar Threads

  1. another abld makefile vc6 problem
    By ps01228 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-04-30, 04:33
  2. Grid, Inherit, Icons problem
    By tplinet in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-04-03, 11:57
  3. Series 60 Concept SDK throws an unknown exception
    By sagee in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2003-02-27, 12:10
  4. Replies: 0
    Last Post: 2002-12-30, 12:55
  5. Problem with 9210 C++ SDK abld makefile command
    By Nokia_Archive in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2002-06-01, 21:04

Posting Permissions

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