×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    27

    Makesis file I/O fatal

    I try to make a sis file for the helloworldbasic app, I can run in on the EPOC no poroblem, I build it for GCCE UREL target without any big issues (only 2 warning).

    when I run the makesis command I get "helloworldbasic_gcce.pkg(22) : error: file I/O fault."

    this is the file helloworldbasic_gcce.pkg

    ; HelloWorldBasic.pkg
    ;
    ;Language - standard language definitions
    &EN

    ; standard SIS file header
    #{"HelloWorldBasic"},(0xA000017F),1,0,0

    ;Localised Vendor name
    %{"Vendor-EN"}

    ;Unique Vendor name
    :"Vendor"

    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}

    ;Files to install
    "..\..\..\epoc32\release\gcce\urel\HelloWorldBasic.exe" -"!:\sys\bin\HelloWorldBasic.exe"
    "..\..\..\epoc32\data\z\resource\apps\HelloWorldBasic.rsc" -"!:\resource\apps\HelloWorldBasic.rsc"
    "..\..\..\epoc32\data\z\private\10003a3f\import\apps\HelloWorldBasic_reg.rsc" -"!:\private\10003a3f\import\apps\HelloWorldBasic_reg.rsc"
    "..\..\..\epoc32\data\z\resource\apps\helloworldbasic_aif.mif" -"!:\resource\apps\helloworldbasic_aif.mif"
    "..\..\..\epoc32\winscw\c\private\A000017F\hello.txt" -"!:\private\A000017F\hello.txt"

    ;required for application to be covered by backup/restore facility
    "backup_registration.xml" -"!:\private\A000017F\backup_registration.xml"


    for all this file line 22 is: "..\..\..\epoc32\data\z\resource\apps\helloworldbasic_aif.mif" -"!:\resource\apps\helloworldbasic_aif.mif"

    can some one help me to find whats wrong with it.
    Thanks,
    Segev

  2. #2
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Makesis file I/O fatal

    Is the file generated by the build tool? Just check whether the file exists on your PC or not. If the file is there, check the relative path whether it points to the right directory or not.

    Usually this message comes because makesis.exe cannot find the file.

    Antony

  3. #3
    Registered User
    Join Date
    Nov 2006
    Posts
    27

    Re: Makesis file I/O fatal

    the file is not exist at all, I searched all over my drive.
    Why it will not be generaeted?
    how can I generet this specific file?

    Thanks,
    Segev

  4. #4
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    50

    Re: Makesis file I/O fatal

    Hi,

    helloworldbasic_aif.mif is generated by HelloWorld's icons_scalable_dc.mk-makefile.

    Note that if you build your application in CodeWarrior, it does not do actions specified in bld.inf-file - for example icon-building. That could explain the missing mif-file.
    Compile HelloWorld once from commandline and try again.

    -- ile

  5. #5
    Registered User
    Join Date
    Nov 2006
    Posts
    27

    Re: Makesis file I/O fatal

    Thanks, compiling by command line make it work.

    is this problem is a codeWarrior problem that will happend every time that I build?
    If yes, why to use codeWarrior? the are any better alternative?

    Thanks,
    Segev

  6. #6
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Makesis file I/O fatal

    The file is usually generated when you type "abld build target". There should a message like "bla.mif generated" in the middle of the process.

    Could you please double check whether your "abld build" command doesn't generate any error messages?

    Btw, the .mif file contains icon only. So, you can also try to remove the line from your .pkg file and then generate a .sis file. It will work, but S60 will use default icon. But, of course, you still need to solve your .mif problem.

    Antony

  7. #7
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Lightbulb Re: Makesis file I/O fatal

    CodeWarrior does not have support for additional makefiles therefore it cannot call the makefile that builds your mif file(s). On the other hand Carbide.c++ provides and internal mechanism for manipulating these files while having other, potentially more annoying, limitations. It is up to you to decide which one serves you better.

    Note that the mif/mbg files are resources that rarely change so generating them from the command line is not such a daunting tasks.

    Best regards,

Similar Threads

  1. Symbian1 : error PRJ0003 : Error spawning 'cl.exe'
    By ssaqibbukhari in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2006-04-15, 09:48
  2. Fatal: Unable to open file 'C0EPOCD.OBJ' ?
    By hufey in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-01-16, 14:26
  3. does symbian support memory mapped file I/O?
    By seaward in forum Symbian
    Replies: 1
    Last Post: 2004-01-01, 22:37
  4. does symbian support memory mapped file I/O?
    By seaward in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-12-30, 13:59
  5. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22

Posting Permissions

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