problem in making .sis file

Login to reply to this topic.
Wed, 2008-03-12 19:22
Joined: 2007-09-19
Forum posts: 18

Hi,

I am using Carbide C++ v1.2 and I am trying to make a .sis file of simple Helloworld program.

Its giving the following errors after the build:
1) makesis.exe returned with exit value = 1
2) file I/O fault. [in line 19 of helloworldbasic_armv5.pkg file which has: ....\..\epoc32\release\armv5\urel\HelloWorldBasic.exe" -"!:\sys\bin\HelloWorldBasic.exe ]

Please help....

- Swetha


Thu, 2008-03-13 03:00
Joined: 2005-12-07
Forum posts: 56
Re: problem in making .sis file

..\..\epoc32\release\armv5\urel\HelloWorldBasic.exe" -"!:\sys\bin\HelloWorldBasic.exe

above command tells makesis to put "..\..\epoc32\release\armv5\urel\HelloWorldBasic.exe" in sis file. and while installing take out this exe and put it to \sys\bin\ in phone.
just check this "..\..\epoc32\release\armv5\urel\HelloWorldBasic.exe" is valid. if not put the correct path. its better to write absolute path rather than relative path here. And make sure that you have build your project for armv-> urel version.

Thu, 2008-03-13 03:02
Joined: 2007-08-29
Forum posts: 128
Re: problem in making .sis file

Hi Swetha,

you have error in line number 19 of .pkg file. you need to give correct path in .pkg file.

use this command from command line. "makesis HelloWorldBasic.pkg"


Thanks & Regards
Ram

Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1

Thu, 2008-03-13 04:00
Joined: 2007-09-19
Forum posts: 18
Re: problem in making .sis file

hi,

thank all for your replies.. now i could resolve the issue and m successfully able to make a .sis file by selecting helloworldbasic_armv5.pkg and not _gcce.pkg. Then i set the active build configuration as "phone release(GCCE)"..

but now, when i try running the program on the emulator i get the following error:

"Target request failed: TRK Protocol Plugin: Cant connect to TRK (TRK may not be running on the phone or mismatch between selected and connected com port). "

does it mean that after making a sis file, we cant run the application on the emulator? Because, its asking me to select a port before running. I did not change the default option that was serial port com1.

plz help..

thanx in advance.

- Swetha

Thu, 2008-03-13 04:24
Joined: 2005-12-07
Forum posts: 56
Re: problem in making .sis file

not sure abt this... TRK is used for hardware debugging... did you set active build configuration back to Emulator debug..?

Thu, 2008-03-13 04:45
Joined: 2007-08-29
Forum posts: 128
Re: problem in making .sis file

Hi,

you can run your application on emulator after making sis file. May be you need to change active build configuration setting to armv5.


Thanks & Regards
Ram

Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1

Thu, 2008-03-13 04:58
Joined: 2005-12-07
Forum posts: 56
Re: problem in making .sis file

i think you have to change active build configuration back Emulator debug then try running your applica tion.

Thu, 2008-03-13 10:44
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 462
Re: problem in making .sis file

There are number of things that you need to consider Swetha :

1. By trying to build for arm5 your are compiling for device. Remember for this you need to have RVCT (RealView Compiler Toolkit) from ARM if you want to build for it which does not come free with the SDK ( unlike GCCE).
2. When it gives certain line number error in the pkg, check if that particular file is there in the target (if its pointed error there, chances are that your file isnt present there, meaning that the build wasnt successful..so check build errors to resolve this)
3. For emulator build you have to use winscw.

  • Login to reply to this topic.