if you want to use different SDK for building, then you must also modify your pkg file, so that it would fetch the source files from correct SDK.
if you want to use different SDK for building, then you must also modify your pkg file, so that it would fetch the source files from correct SDK.
So in the path of all files in .pkg file,
i just have to change the name like this below :
"8.0a\S60_2nd_FP2" -> "7.0s\Series60_v20"
that could help, thus do try it out.
On doing the change below:
gives following error :"8.0a\S60_2nd_FP2" -> "7.0s\Series60_v20"
my line 39 is :-......\....\sis> makesis CellGuard_S60_2nd.pkg
Processing CellGuard_S60_2nd.pkg....
CellGuard_S60_2nd.pkg( 39 ) : error: file not found
Now what should i do ?"C:\Symbian\7.0s\Series60_v20\epoc32\wins\c\System\Bootdata\KERNSI.txt" - "c:\system\bootdata\KERNSI.txt"
Try to learn what kind of file it could be. I do not know/care, but I would check if the project contains such file somewhere, and I would also check if there is such folder/file on the device too, perhaps also check on the ROM drive (z: ).
Checking with a real S60 2nd FP2 SDK may be also a good approach.
Installed and test with S60 2nd FP2 SDK but after that it provides me many errors as below :-
After including this file gives other four errors :-Can not find "etelbgsm.h"
in code`iImsi' undeclared (first use this function)
`TMobilePhoneSubscriberId' is not a member of type `RMobilePhone'
confused by earlier errors, bailing out
parse error before `;'
and i m sure that it will provide me more errors if solve this.RTelServer iServer;
RMobilePhone iPhone;
RMobilePhone::TMobilePhoneSubscriberId iImsi;
TRequestStatus iImsiStatus;
RTelServer::TPhoneInfo info;
User::LeaveIfError(iServer.Connect());
User::LeaveIfError(iServer.GetPhoneInfo(0, info));
User::LeaveIfError(iPhone.Open(iServer, info.iName));
iPhone.GetSubscriberId(iImsiStatus, iImsi);
User::WaitForRequest(iImsiStatus);
if(iImsiStatus == KErrNone)
{
IMSI.Copy(iImsi);
IMSINum.Copy(iImsi);
}
with "7.0s\Series60_v20" i was able to build but "8.0a\S60_2nd_FP2" m not.
etelbgsm.h is actually something from S60 1st edition, and should not really be used in 2nd edition anymore, instead the IMSI would be gotten with Etelmm APIs, unfortunately the header is incomplete in all S60 SDKs, thus with public SDK the task can not be done. also I'm unaware of any ways on still getting the required headers & libraries.
Hello symbianyucca,
M working with Old application already created before, but the thing is that i do not have that old resources.
And with new resource it is not working proper, ( The person who created this application is one of the nokia forum champion called "KIRAN")
Coming to application, m trying to work "7.0s\Series60_v20".
Atleast m able to build application( but problem with sis creation).
As per wizard's advice in post #20, i m looking in the code for the files that i can omit from the .pkg file.
the sis creation could be fixed by changing the source paths in the pkg as mentioned earlier, thus try that one. for the compiling problems, you would need to find the missing stuff, and for that one I think I could not be on help really.
After omit some files from the .pkg, the sis is building properly.
Thank you Symbianyucca & Wizard_hu_.
Thanks & Regards
-Bheda Dilipsinh
I did not ask for omitting, I asked on changing the paths to point to the actual SDK used, anyway, its your application, and if it works without the offending files, then I would still suggest on checking the codes and seeing where those files might have been used.
Hello symbianyucca,
First of all, let me thank you for your help :- "THANK YOU"
offcourse, i have seen my code again and again,
remove the unwanted files and just replace the needed files in the code ( all error files in the .pkg were related to the files like .txt, .dat, etc. and not any .exe).
After that it is working just fine.
Before omitting in the .pkg file, i have already tried by changing its SDK's path, but provides errors ( as in post #19 ).
Thanks again,
-Bheda Dilipsinh