×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Smile Error : Cannot find file : for DUMMIES

    // RELATIVE-PATH-SYMBOLS.... "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\HelloWorld.exe" -"!:\sys\bin\HelloWorld.exe"
    // OLD-ABSOLUTE-PATH-REFERENCE "\Symbian\9.1\S60_3rd\epoc32\data\z\resource\apps\activehello.rsc"-"!:\resource\apps\activehello.rsc"
    // Error : Cannot find file : \Symbian\9.1\S60_3rd\epoc32\data\z\resource\apps\activehello.rsc
    // NEW-RELATIVE-PATH-> LINE BELOW...OK
    "$(EPOCROOT)epoc32\data\z\resource\apps\activehello.rsc"-"!:\resource\apps\activehello.rsc"
    // ---------------------------------
    ***********************************************************
    Carbide Help > Carbide.c++ User Guide > Debugging projects > Run mode projects > Run Mode Debug Example
    Creating a PKG File
    After creating a project for the application you are developing for a device, you will need to create a .pkg file if you are using Application TRK. A .pkg file contains all the files that will need to be downloaded to the device. Once a .pkg file is available, you can add it to a project, and the IDE will use it and additional information entered in the SIS Builder pane to create an application's .sis installation file. By default, when creating a project, the .pkg file is located in the project's sis folder.

    A minimal .pkg file consists of the following lines:

    Header — provides the following information on a single line:
    application name — name of the application displayed on the target device
    UID — (0x10004299) unique application ID value
    major and minor version numbers — values that represent the application's major and minor version numbers
    current build number — value that represents the current .sis build number
    Filenames and install location — the name of the file to include in the .sis file and its install location within the target device. Each line describes a single file.
    Comments — .pkg file comment lines are preceeded by a semi-colon
    PKG File Symbols
    Carbide.c++ attempts to build SIS files for the current build configuration when a PKG file exists in a given build project. However, there can be one or more SIS file per project but only one can be selected in the Installation pane for downloading and debugging. We have introduced symbols you can use within your PKG file for Carbide so that you can use one PKG file in a project to produce several different SIS files, if required.

    The following symbols are available for PKG files in order to make reuse of PKG files more efficient across build targets. These symbols are only supported within Carbide.c++. They are:

    $(EPOCROOT) — the location of the epoc32 folder but not including the epoc32 folder
    $(PLATFORM) — platform designator, for example: ARMI, WINSC (Emulator) , GCCE, THUMB, etc.
    $(TARGET) — target designator UDEB (Debug) or UREL (Release)
    These symbols are used to specify the input location of file resources on your host PC to be packaged in the SIS file.

    Sample PKG file
    A sample .pkg file might look like this:

    ;Header
    #{"HelloWorld"},(0xA0004299),1,0,0

    "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\HelloWorld.exe" -"!:\sys\bin\HelloWorld.exe"
    "$(EPOCROOT)epoc32\data\z\resource\apps\HelloWorld.rsc" -"!:\resource\apps\HelloWorld.rsc"
    "$(EPOCROOT)epoc32\data\z\private\10003af\import\apps\HelloWorld_reg.rsc" - "!:\private\10003a3f\import\apps\HelloWorld_reg.rsc"
    "$(EPOCROOT)epoc32\data\z\resource\apps\HelloWorld.mbm" -"!:\resource\apps\HelloWorld.mbm"

    In addition you will need to add the PKG file to the project before building the final application. Add the pkg file in the SIS builder tab of the Carbide Build Configurations in the project properties window.

    Related references
    SIS Builder pane
    SIS Properties
    Installation pane
    Copyright ©2006-2007 Nokia Corporation

  2. #2
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Smile Re: Error : Cannot find file : for DUMMIES

    hi, and the final OK VERSION

    FOR FILE ActiveHello.PKG

    ;---------------------------------
    ; RELATIVE-PATH-SYMBOLS.... "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\HelloWorld.exe" -"!:\sys\bin\HelloWorld.exe"
    ; OLD-ABSOLUTE-PATH-REFERENCE "\Symbian\9.1\S60_3rd\epoc32\data\z\resource\apps\activehello.rsc"-"!:\resource\apps\activehello.rsc"
    ; Error : Cannot find file : \Symbian\9.1\S60_3rd\epoc32\data\z\resource\apps\activehello.rsc
    ; NEW-RELATIVE-PATH-> LINE BELOW...OK
    "$(EPOCROOT)epoc32\data\z\resource\apps\activehello.rsc"-"!:\resource\apps\activehello.rsc"
    ;---------------------------------
    "$(EPOCROOT)epoc32\data\z\resource\apps\activehello_loc.rsc"-"!:\resource\apps\activehello_loc.rsc"
    "$(EPOCROOT)epoc32\data\z\private\10003a3f\import\apps\activehello_reg.rsc"-"!:\private\10003a3f\import\apps\activehello_reg.rsc"
    ;---------------------------------
    ; OLD..."$(EPOCROOT)epoc32\release\armv5\urel\activehello.exe"-"!:\sys\bin\activehello.exe"
    ; Error : Cannot find file : E:\S60\devices\S60_3rd_FP2_SDK\epoc32\release\armv5\urel\activehello.exe
    "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\activehello.exe" -"!:\sys\bin\activehello.exe"
    ;---------------------------------

  3. #3
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Error : Cannot find file : for DUMMIES

    What is your point? Why do you copy all that text from Carbide's help files?

    BTW, it seems that you're using S60 3rd Edition SDK, the original release. My advice is to start using the S60 3rd Edition SDK MR (MR = maintenance release). As the name suggests it brings a lot of fixes and improvements to the original release.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  4. #4
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Re: Error : Cannot find file : for DUMMIES

    ok, i take S60 3rd Edition SDK MR (MR = maintenance release).

    What is your point? Why do you copy all that text from Carbide's help files?

    i am angry about this error-dummies... i think it woul be helpfull or others, it is not allowed ?
    sorry
    thanks

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Error : Cannot find file : for DUMMIES

    It is allowed, certainly. It is just that it was not clear.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  6. #6
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Talking Re: Error : Cannot find file : for DUMMIES

    Hi
    S60 3rd Edition SDK MR (MR = maintenance release)
    the same path-problem
    my disk C is full
    INSTAL-PATH -> E:\S60\devices\Symbian\9.1\S60_3rd_MR\Epoc32\
    SDK:
    S60-SDK-0616-3.0-mr.3.749.zip
    description: Release Note for S60 3rd Edition SDK for Symbian OS, for C++, Maintenance Release.

    date of publication: 2006-06-16

  7. #7
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Error : Cannot find file : for DUMMIES

    I did not said that using the MR SDK will fix your path problems. As far I can see your path problems are project specific, they have nothing to do with the SDK or the path where the SDK is installed.

    By the way, WinXP supports file system junctions (similar to symlink in Linux) so as long as you have space on some drive E: you can still make the system think that you are using C:, if that is in any way relevant.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  8. #8
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Error : Cannot find file : for DUMMIES

    Quote Originally Posted by PACALA_BA View Post
    Hi
    S60 3rd Edition SDK MR (MR = maintenance release)
    the same path-problem
    my disk C is full
    INSTAL-PATH -> E:\S60\devices\Symbian\9.1\S60_3rd_MR\Epoc32\
    SDK:
    S60-SDK-0616-3.0-mr.3.749.zip
    description: Release Note for S60 3rd Edition SDK for Symbian OS, for C++, Maintenance Release.

    date of publication: 2006-06-16
    Bottom line is : symbian compiler scripts are coded to use same drive for all its compiler and sdk for some strange reasons .

Similar Threads

  1. Codewarrior: find and open wont detect .rss file
    By adamj2 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2008-01-17, 14:58
  2. Carbide not creating SIS file -- "Could Not Find ...\HelloCarbide.o"
    By Razor1973 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 19
    Last Post: 2007-03-08, 19:17
  3. Emulator: Can't find class file. Error
    By linlearn in forum Mobile Java Tools & SDKs
    Replies: 6
    Last Post: 2007-03-05, 12:20
  4. File server: Compilation error in carbide.c++
    By justteam in forum Symbian
    Replies: 6
    Last Post: 2007-01-03, 23:44
  5. could not find thread.mbg and thread.rsg
    By deercrane in forum Symbian
    Replies: 3
    Last Post: 2006-04-18, 09:44

Posting Permissions

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