Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor kellogs's Avatar
    Join Date
    Mar 2008
    Posts
    136
    Hello,

    I know carbide is not meant forvista, but this is what my client has and she wants to compile on her computer.

    Code:
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\Odc.exe"		-"!:\sys\bin\Odc.exe"
    "$(EPOCROOT)Epoc32\data\z\resource\apps\Odc.r01"				-"!:\resource\apps\Odc.r01"
    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\Odc_reg.r01"	-"!:\private\10003a3f\import\apps\Odc_reg.r01"
    "$(EPOCROOT)epoc32\data\z\resource\apps\Odc_aif.mif" 			-"!:\resource\apps\Odc_aif.mif"
    "$(EPOCROOT)epoc32\data\z\resource\apps\Odc.mbm" 				-"!:\resource\apps\Odc.mbm"
    My problem is with the bold line. It is not being generated in the expected directory (or anywhere else). Is there any possibility of not needing the above file ? Why is it there for ?

    Thank you
    Catalin

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Check it in the entire epoc32 folder (or simply check its makefile). Usually the .exe is the hard bit, so if you have the .exe, most probably the .mif is also there, just perhaps in an other folder (in epoc32\data or epoc32\data\z\resource for example).

  3. #3
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Quote Originally Posted by kellogs View Post
    Is there any possibility of not needing the above file ? Why is it there for ?
    The MIF file contains packaged the SVG graphics used in your application, e.g. for icons. You may remove it, but in this case the application will be shown on device with the default icon or graphics may be missing in other places.

    Instead of dumping the file, try to figure out why it is not being generated. There should be makefile extension responsible for creating it and the relevant output in in console.

    Vista should not have an impact in this case, but one never knows really. The console output should give you the right info about this too.

  4. #4
    Regular Contributor kellogs's Avatar
    Join Date
    Mar 2008
    Posts
    136
    Hi,

    It was caused by icons_aif_scalable._dc.mk file which contained:

    Code:
    ifeq (WINS,$(findstring WINS, $(PLATFORM)))
    ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
    else
    ZDIR=$(EPOCROOT)epoc32\data\z
    endif
    
    
    # ----------------------------------------------------------------------------
    # TODO: Configure these
    # ----------------------------------------------------------------------------
    
    TARGETDIR=$(ZDIR)\resource\apps
    ICONTARGETFILENAME=$(TARGETDIR)\Odc_aif.mif
    HEADERDIR=$(EPOCROOT)epoc32\include
    HEADERFILENAME=$(HEADERDIR)\Odc_aif.mbg
    
    ICONDIR=..\gfx
    
        [....]
    
    
    $(ICONTARGETFILENAME) : $(ICONDIR)\qgn_menu_Odc.svg
    	mifconv $(ICONTARGETFILENAME) \
    		/H$(HEADERFILENAME) \
    		/c32,8 $(ICONDIR)\qgn_menu_Odc.svg
    the file qgn_menu_Odc.svg was present at the required location but I do not know if $(HEADERFILENAME) was also present. I have just commented out that line in .pkg file as I was not using the default icon anyway and it now works. Lucky me.

    Thank you
    Last edited by kellogs; 2010-04-14 at 11:39.

  5. #5
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    $(HEADERFILENAME) is going to be generated by mifconv. You might be luckier than you think: if mifconv fails for some reason, but your code happens to refer Odc_aif.mbg somewhere, it is probably using that generated file from an older build. In this case your code would not build on a new, clean SDK.

Similar Threads

  1. Too Costly to Attempt ASD
    By chityala_shailesh in forum Symbian C++
    Replies: 4
    Last Post: 2010-03-24, 14:10
  2. About Illegal attempt to construct RecordStoreData
    By abhi4u in forum Mobile Java General
    Replies: 10
    Last Post: 2009-07-29, 12:10
  3. command line compilation : step 2
    By smartmobili in forum Symbian C++
    Replies: 6
    Last Post: 2009-06-23, 12:00
  4. Replies: 1
    Last Post: 2008-08-24, 02:06
  5. Exception on first attempt to connect in 6070
    By joaogalli in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-11-30, 11:52

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