Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor elviin's Avatar
    Join Date
    Jul 2008
    Posts
    416
    Can anyone see the problem in this code? There are tabs, where need to be, no spaces at the line ends. The problem is that the target $(ICONTARGETFILENAME) is not called:

    Code:
    RESOURCE : $(ICONTARGETFILENAME)
    
    $(ICONTARGETFILENAME) : 
    	mifconv $(ICONTARGETFILENAME) /h$(HEADERFILENAME)\
    		/c32 $(ICONDIR)\background_gray_gradient_w360px_h640px.svg\
    		/c32 $(ICONDIR)\background_white_w360px_h640px.svg\
    		/c32 $(ICONDIR)\control_pane_w360px_h40px.svg\
    		/c32 $(ICONDIR)\status_pane_left_w30px_h55px.svg\
    		/c32 $(ICONDIR)\status_pane_middle_w300px_h55px.svg\
    		/c32 $(ICONDIR)\status_pane_right_w30px_h55px.svg
    If I remove the target $(ICONTARGETFILENAME), it works without problem:

    Code:
    RESOURCE :
    	mifconv $(ICONTARGETFILENAME) /h$(HEADERFILENAME)\
    		/c32 $(ICONDIR)\background_gray_gradient_w360px_h640px.svg\
    		/c32 $(ICONDIR)\background_white_w360px_h640px.svg\
    		/c32 $(ICONDIR)\control_pane_w360px_h40px.svg\
    		/c32 $(ICONDIR)\status_pane_left_w30px_h55px.svg\
    		/c32 $(ICONDIR)\status_pane_middle_w300px_h55px.svg\
    		/c32 $(ICONDIR)\status_pane_right_w30px_h55px.svg
    Properties are:
    Code:
    TARGETDIR=$(ZDIR)\resource\apps
    ICONTARGETFILENAME=$(TARGETDIR)\sc_0x20025984.mif
    
    ICONDIR=..\gfx
    
    # Headers for both
    HEADERDIR=$(EPOCROOT)epoc32\include
    HEADERFILENAME=$(HEADERDIR)\sc_0x20025984.mbg

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Quote Originally Posted by elviin View Post
    Can anyone see the problem in this code? There are tabs, where need to be, no spaces at the line ends. The problem is that the target $(ICONTARGETFILENAME) is not called:

    [CODE]
    RESOURCE : $(ICONTARGETFILENAME)

    $(ICONTARGETFILENAME) :_
    ...

    RESOURCE :
    ...
    I do not know if it matters or not, but in your post there is a space after the : in the non-working variant (and it is not there in the working one)

Similar Threads

  1. Menu System(-1) error
    By logan04x in forum Symbian C++
    Replies: 15
    Last Post: 2009-02-08, 08:57
  2. How to build GCCE target
    By dsiorpaes in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2008-09-18, 06:54
  3. problem when importing from carbide c++ to vs 2003!
    By misfit.physics in forum Symbian Tools & SDKs
    Replies: 12
    Last Post: 2008-02-19, 09:45
  4. Contacts fields order??
    By timatima in forum Symbian C++
    Replies: 1
    Last Post: 2007-06-08, 13:51
  5. Replies: 3
    Last Post: 2007-03-07, 03:36

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