×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    [moved] Sis creation for 2nd edition.

    Hello friends,

    i have already discuss this point for 3rd edition but now the problem arise for 2nd edition.

    The point is : "how to create one sis file for two different application?"
    and got some useful answers too.

    Now for 2nd edition, i m doing the same thing as below :

    -> Put one application to another application folder ( like GUI application folder in Console application folder)

    -> Include .mmp and .mk files of sub application in bld.inf of main application. (like GUI's .mmp and .mk file in bld.inf of Console)

    -> Include some path from .pkg file of sub app. to .pkg file of main application.


    Now build it using Carbide and got success.
    Also using the command line as follow :

    - ....\...\group> bldmake bldfiles
    -......\...\group> abld build wins udeb :- gives 2 error

    -......\...\group> abld build armi urel :- gives no error

    -......\...\group> abld build thumb urel :- gives no error

    -......\....\sis> makesis CellGuard_S60_2nd.pkg then gives error as below
    Processing CellGuard_S60_2nd.pkg....
    CellGuard_S60_2nd.pkg( 29 ) : error: file not found

    even though i have that in my sis folder.


    -Bheda Dilipsinh

  2. #2
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Sis creation for 2nd edition.

    HI,

    give the details of the console output for wins/winscw for which error is reported.

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Sis creation for 2nd edition.

    For wins/winscw, the main error is as below :

    make[1]: *** No rule to make target `\Symbian\7.0s\Series60_v20\EPOC32\RELEASE\WINSCW\UDEB\EEXE.LIB', needed by `\Symbian\7.0s\Series60_v20\EPOC32\RELEASE\WINSCW\UDEB\CELLGUARD.EXE'. Stop.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Sis creation for 2nd edition.

    and particularly chechk the line 29 inside your pkg.

  5. #5
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Sis creation for 2nd edition.

    Below is my .pkg file :



    ;----------------------------------------------------------------------------
    ;
    ; cellguard.pkg - installation file
    ;
    ;----------------------------------------------------------------------------

    ; Package header
    ;#{"CellGuard"}, (0x06F42D7A), 2, 0, 0
    ; // dilip , change name to "CellGuard", 1/4/2011-8:10pm

    #{"CellGuard"}, (0x06F42D7A), 3, 0, 0
    ; // dilip , change name to "CellGuard", 25/3/2011.
    ; // dilip , change version from 1 to 3, 1/4/2011-8:16pm

    ;Supports Series 60 v 2.0
    (0x101F7960), 0, 0, 0, {"Series60ProductID"}

    "SatMSI.dat" -"C:\system\SatMSI.dat"

    ; Installed files
    "C:\Symbian\7.0s\Series60_v20\epoc32\release\armi\urel\CellGuard.exe" -"!:\system\programs\CellGuard.exe"
    ;,FR,RI

    ;auto-start.
    "C:\Symbian\7.0s\Series60_v20\Epoc32\release\armi\urel\smsautostart.mdl" -"c:\system\recogs\smsautostart.mdl"


    ; // dilip ,added Scratch Card files, 16/4/2011

    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\ScratchCard.app" -"!:\system\apps\ScratchCard\ScratchCard.app"

    "$(EPOCROOT)Epoc32\data\z\system\apps\ScratchCard\ScratchCard.rsc" -"!:\system\apps\ScratchCard\ScratchCard.rsc"

    "$(EPOCROOT)Epoc32\data\z\system\apps\ScratchCard\ScratchCard_caption.rsc" -"!:\system\apps\ScratchCard\ScratchCard_caption.rsc"

    "$(EPOCROOT)Epoc32\data\z\system\apps\ScratchCard\ScratchCard.aif" -"!:\system\apps\ScratchCard\ScratchCard.aif"

    ;"..\help\ScratchCard.hlp" -"!:\system\help\ScratchCard.hlp"

    ; // dilip end.

    ; End of file

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Sis creation for 2nd edition.

    it sbit hard to count on here, just open it in Carbide, hit Ctrl-L and then go to line number 29, and see why it is missing .

  7. #7
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Sis creation for 2nd edition.

    my line 29 is :

    "$(EPOCROOT)Epoc32\data\z\system\apps\ScratchCard\ScratchCard.rsc" -"!:\system\apps\ScratchCard\ScratchCard.rsc"


    and mateen_maldar, i am not able to paste all console output because it tells that pls shorten your msg to 1000 characters.



    -Bheda Dilipsinh

  8. #8
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Sis creation for 2nd edition.

    Mateen_Maldar , here is my console output :-


    C:\Symbian\Carbide\workspace\CG_2nd_reg\group>abld build wins udeb
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE
    \CG_2ND_REG\GROUP\EXPORT.make" EXPORT VERBOSE=-s
    Nothing to do
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE
    \CG_2ND_REG\GROUP\WINS.make" MAKEFILE VERBOSE=-s
    perl -S makmake.pl -D \SYMBIAN\CARBIDE\WORKSPACE\CG_2ND_REG\GROUP\CELLGUARD WINS

    perl -S makmake.pl -D \SYMBIAN\CARBIDE\WORKSPACE\CG_2ND_REG\AUTOSTART\GROUP\CL_A
    UTOSTART WINS
    WARNING: Specifying DEFFILE will override default exports for targettype MDL
    WARNING: Frozen .DEF file \SYMBIAN\CARBIDE\WORKSPACE\CG_2ND_REG\AUTOSTART\BWINS\
    CL_AUTOSTARTU.DEF not found - project not frozen
    perl -S makmake.pl -D \SYMBIAN\CARBIDE\WORKSPACE\CG_2ND_REG\SCRATCHCARD\GROUP\SC
    RATCHCARD WINS
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE
    \CG_2ND_REG\GROUP\WINS.make" LIBRARY VERBOSE=-s
    nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBI
    DE\WORKSPACE\CG_2ND_REG\GROUP\CELLGUARD\WINS\CELLGUARD.WINS" LIBRARY
    nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBI
    DE\WORKSPACE\CG_2ND_REG\AUTOSTART\GROUP\CL_AUTOSTART\WINS\CL_AUTOSTART.WINS" LIB
    RARY
    WARNING: Not attempting to create "\Symbian\7.0s\Series60_v20\EPOC32\RELEASE\WIN
    S\UDEB\SMSAUTOSTART.LIB".
    When exports are frozen in "\SYMBIAN\CARBIDE\WORKSPACE\CG_2ND_REG\AUTOSTART\BWIN
    S\CL_AUTOSTARTU.DEF", regenerate Makefile.
    nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBI
    DE\WORKSPACE\CG_2ND_REG\SCRATCHCARD\GROUP\SCRATCHCARD\WINS\SCRATCHCARD.WINS" LIB
    RARY
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE
    \CG_2ND_REG\GROUP\WINS.make" RESOURCE CFG=UDEB VERBOSE=-s
    nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBI
    DE\WORKSPACE\CG_2ND_REG\GROUP\CELLGUARD\WINS\CELLGUARD.WINS" RESOURCEUDEB
    nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBI
    DE\WORKSPACE\CG_2ND_REG\AUTOSTART\GROUP\CL_AUTOSTART\WINS\CL_AUTOSTART.WINS" RES
    OURCEUDEB
    nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBI
    DE\WORKSPACE\CG_2ND_REG\SCRATCHCARD\GROUP\SCRATCHCARD\WINS\SCRATCHCARD.WINS" RES
    OURCEUDEB
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE
    \CG_2ND_REG\GROUP\WINS.make" TARGET CFG=UDEB VERBOSE=-s
    nmake -nologo -x - -s -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBI
    DE\WORKSPACE\CG_2ND_REG\GROUP\CELLGUARD\WINS\CELLGUARD.WINS" UDEB
    NMAKE : fatal error U1073: don't know how to make '"\Symbian\7.0s\Series60_v20\E
    POC32\RELEASE\WINS\UDEB\ETELMM.LIB"'
    Stop.
    make: *** [TARGETCELLGUARD] Error 2
    make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE
    \CG_2ND_REG\GROUP\WINS.make" FINAL CFG=UDEB VERBOSE=-s

  9. #9
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Sis creation for 2nd edition.

    hi,

    seems like resource is not compiled properly.

    from cmd of your application group folder give this command

    abld build resouce
    and check for the error while building resouce.

    if you are compiling from carbide the below path will be identified
    "$(EPOCROOT)Epoc32\data\z\system\apps\ScratchCard\ScratchCard.rsc"
    and if you are doing from command prompt this won't be identified.

    use absolute path to have a commonality across the file.

    Regards,
    Mateen Maldar
    Last edited by mateen_maldar; 2011-04-18 at 08:00. Reason: typo
    "Whatever the mind can conceive and believe, the mind can achieve"

  10. #10
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Sis creation for 2nd edition.

    after changing the following :



    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\ScratchCard.app" -"!:\system\apps\ScratchCard\ScratchCard.app"

    "$(EPOCROOT)Epoc32\data\z\system\apps\ScratchCard\ScratchCard.rsc" -"!:\system\apps\ScratchCard\ScratchCard.rsc"

    "$(EPOCROOT)Epoc32\data\z\system\apps\ScratchCard\ScratchCard_caption.rsc" -"!:\system\apps\ScratchCard\ScratchCard_caption.rsc"

    "$(EPOCROOT)Epoc32\data\z\system\apps\ScratchCard\ScratchCard.aif" -"!:\system\apps\ScratchCard\ScratchCard.aif"



    to :



    "C:\Symbian\7.0s\Series60_v20\Epoc32\release\armi\urel\ScratchCard.app" -"!:\system\apps\ScratchCard\ScratchCard.app"

    "C:\Symbian\7.0s\Series60_v20\Epoc32\data\z\system\apps\ScratchCard\ScratchCard.rsc" -"!:\system\apps\ScratchCard\ScratchCard.rsc"

    "C:\Symbian\7.0s\Series60_v20\Epoc32\data\z\system\apps\ScratchCard\ScratchCard_caption.rsc" -"!:\system\apps\ScratchCard\ScratchCard_caption.rsc"

    "C:\Symbian\7.0s\Series60_v20\Epoc32\data\z\system\apps\ScratchCard\ScratchCard.aif" -"!:\system\apps\ScratchCard\ScratchCard.aif"



    Sis file is successfully created.

    Thank you "Yucca" and "Mateen".


    -Bheda dilipsinh

  11. #11
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Sis creation for 2nd edition.

    Thank you again "Yucca" and "Mateen".

    Now its working properly.



    Thanks & Regards
    -Bheda Dilipsinh

  12. #12
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Sis creation for 2nd edition.

    While it is possible to compile multiple binaries with a single step, note that the .pkg file is totally independent from everything. So you can freely develop and compile the projects separately, and combine them in the .pkg file only. This .rsc file issue is not related to putting the projects together. Something has changed in the process, causing the file to not compile and/or you might have made a typo in the combined .pkg file.

    EDIT: I just noticed that you are mixing everything, WINS, WINSCW
    1) only one of them should work, SDK-s are either Microsoft/Borland compatible ones and use WINS, or they are CodeWarrior compatible and use WINSCW
    2) you should build the project for a device target, like armi urel. Emulator files can not be installed to the device, and they are produced into different locations, that is why the .pkg can not find them (though the result would not work anyway).

    EDIT2: I just noticed that this tab was open for more than an hour. Ooops.

  13. #13
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Sis creation for 2nd edition.

    i got the same error again thats why started this thread,

    -......\....\sis> makesis CellGuard_S60_2nd.pkg then gives error as below
    Processing CellGuard_S60_2nd.pkg....
    CellGuard_S60_2nd.pkg( 25 ) : error: file not found
    While looking the .pkg file, found the following below :
    "c:\symbian\8.0a\S60_2nd_FP2\Epoc32\release\armi\urel\IMSI_test.app" -"C:\system\apps\IMSI_test\IMSI_test.app"
    .......
    .......
    .......
    .......
    currently i have installed sdk is "C:\Symbian\7.0s\Series60_v20"

    and the above project was build in "8.0a\S60_2nd_FP2".

    -It is building OK, but while creating sis generate problem........

    Can i run "8.0a\S60_2nd_FP2" in "C:\Symbian\7.0s\Series60_v20" ?

    What changes should i have to make ?


    -Bheda Dilipsinh

  14. #14
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Sis creation for 2nd edition.

    Check when building that you are indeed building for Armi urel and you are using the correct SDK. Then see that you don't get any errors when compiling, and finally check that you have right path for the compiled application.

  15. #15
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Sis creation for 2nd edition.

    Quote Originally Posted by symbianyucca View Post
    Check when building that you are indeed building for Armi urel and you are using the correct SDK. Then see that you don't get any errors when compiling, and finally check that you have right path for the compiled application.
    means SDK i m using "7.0s\Series60_v20" wont work for "8.0a\S60_2nd_FP2" project.
    M also build it for "armi urel".

Similar Threads

  1. Replies: 3
    Last Post: 2009-10-30, 07:20
  2. Replies: 10
    Last Post: 2009-06-24, 08:05
  3. [moved] creation of the file .sis in Carbide C/C + +
    By chia_84 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2008-10-09, 13:33
  4. Replies: 8
    Last Post: 2008-07-20, 11:36
  5. Can i create Same .SIS file for 2nd & 3rd edition
    By kamaljaiswal in forum Symbian
    Replies: 8
    Last Post: 2007-05-09, 15:38

Posting Permissions

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