Hello, my *.pkg file doesn't compile, here it is:
;
; Install-file for UIQ 2.1 SDK example application "HelloWorld"
;
; Languages
; none - English only by default
; Installation header
; Only one component name as we only support English
#{"HelloWorld"},(0x101F6163),1,0,0
; Files
"..:\Symbian\UIQ_21\epoc32\release\winscw\udeb\Z\System\APPS\HELLOWORLD\HELLOWORLD.APP"-"!:\System\Apps\HELLOWORLD\HELLOWORLD.APP"
"..:\Symbian\UIQ_21\epoc32\release\winscw\udeb\Z\System\APPS\HELLOWORLD\HELLOWORLD.RSC"-"!:\System\Apps\HELLOWORLD\HELLOWORLD.RSC"
Those files are in those following paths writen above.
The error is the following:
Error : Symbian Installer - error: file not found
HelloWorld.pkg line 15
Link Error : Link failed
What am I doing wrong?.
Thank you for your help.
I've solved it using full paths as this one:
"C:\Symbian\UIQ_21\epoc32\release\winscw\udeb\Z\System\APPS\HELLOWORLD\HELLOWORLD.APP"-"C:\Symbian\UIQ_21\epoc32\release\winscw\udeb\Z\System\APPS\HELLOWORLD\HELLOWORLD.APP"
I don't know why but it didn't work using relative paths.
I am sure u r sis file will not work at all.
Bye.
--eminemence.
Yes, you're right, do you know why?
Atreo wrote:I've solved it using full paths as this one:"C:\Symbian\UIQ_21\epoc32\release\winscw\udeb\Z\System\APPS\HELLOWORLD\HELLOWORLD.APP"-"C:\Symbian\UIQ_21\epoc32\release\winscw\udeb\Z\System\APPS\HELLOWORLD\HELLOWORLD.APP"
I don't know why but it didn't work using relative paths.
The second path is the path on the device where u want to install the .app
U r original install path was :
"C:\Symbian\UIQ_21\epoc32\release\winscw\udeb\Z\System\APPS\HELLOWORLD\HELLOWORLD.APP"-"C:\Symbian\UIQ_21\epoc32\release\winscw\udeb\Z\System\APPS\HELLOWORLD\HELLOWORLD.APP"
This line should be changed to:
"C:\Symbian\UIQ_21\epoc32\release\winscw\udeb\Z\System\APPS\HELLOWORLD\HELLOWORLD.APP"-
"C:\System\APPS\HELLOWORLD\HELLOWORLD.APP"
Also if u are building for the device u should take .app from the respective
processor folder , like for nokia phones we pick armi build .app's.
Bye.
--eminemence.
Thank you very much. :icon14:
I'm very grateful to you, 😊
Ok I understand.
The thing is that I have added suitable libraries for each suitable target architecture and it doesn't compile for all the architectures.
I've added all libraries checking where they are in hard disk, placing them in the same order as other examples, compiling them (they compiled well) and so on.
I've also made the *.pkg file and it was succesful.
But when I try to build it, I can only see errors as:
"Too many include directives, avoid recursive includes" (or something similar), and
"Compile error" (only that).
And I'm sure that it has something to do with libraries and target architectures.
(Ir runs ok on the emulator)
Can you suggest me anything please?.
Thank you for your attention and help. 😃
Atreo wrote:Ok I understand.
The thing is that I have added suitable libraries for each suitable target architecture and it doesn't compile for all the architectures.I've added all libraries checking where they are in hard disk, placing them in the same order as other examples, compiling them (they compiled well) and so on.
I've also made the *.pkg file and it was succesful.
But when I try to build it, I can only see errors as:
"Too many include directives, avoid recursive includes" (or something similar), and
"Compile error" (only that).
And I'm sure that it has something to do with libraries and target architectures.
(Ir runs ok on the emulator)
Can you suggest me anything please?.
Thank you for your attention and help. 😃
recursive includes mean lets day u have two headers h1.h and h2.h
in h1.h u include h2.h
and in h2.h you include h1.h.
Now when include directives are processed for say h1.h then it will include contents of h2.h which will again include h1.h which again includes h1.h.....
Hope u understand now.
Just check your source for this recursive cycle of includes.
Bye.
--eminemence.