problem in making .sis file
| Wed, 2008-03-12 19:22 | |
|
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: Please help.... - Swetha |
|
| Wed, 2008-03-12 19:22 | |
|
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: Please help.... - Swetha |
|
Forum posts: 56
..\..\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.
Forum posts: 128
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
Forum posts: 18
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
Forum posts: 56
not sure abt this... TRK is used for hardware debugging... did you set active build configuration back to Emulator debug..?
Forum posts: 128
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
Forum posts: 56
i think you have to change active build configuration back Emulator debug then try running your applica tion.
Forum posts: 462
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.