×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    Build for the targetdevice

    Hi,

    I have modify the Graphics Series60 example and create a small graphics demo. It runs fine on the Emulator, but now I wan't to make a built for my 7650.

    I compile the source for the ARM Instruction Set with this command:

    abld build armi urel


    now I have a directory with a app-file and some other files like *.o.

    The demo use some bmp's, too. I made a sis file an transfer it to my device, but if I try to execute the installed demo.app the FileExplorer (SelecQ) says that he can find similar programs!?

    I would be glad if anybody can post a description of how to build the source for the target and make a sis file. Im interested in wich files my application need. Need I copy the image.mbm file or the *.o files?

    Thanks a lot (I have read the SDK Docs many times but I didn't succeed yet)


    Greetings Alexander

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    271

    RE: Build for the targetdevice

    Hi,

    You dont need to do anything with the *.o files. All you need to do after build for the armi platform is to create a .sis installation package where you can define which file is to be copied into the target device.
    The application .app and resource .rSc files created from abld build armi urel are found from this path \Symbian\6.1\Series60\Epoc32\release\armi\urel
    If you demo is based on the Graphics example then the graphics.pkg would look like below:

    ;
    ; Install file for Graphics example;

    ; Languages -
    &EN

    ; Installation header
    ; Application UID
    #{"Graphics"},(0x10005B81),1,0,0

    ; Supports Series 60 v0.9
    ; This line indicates that this installation is for the Series60 v0.9
    (0x101F6F88), 0, 0, 0, {"Series60ProductID"}

    ; files to install for Graphics
    "c:\symbian\6.1\series60\epoc32\release\armi\urel\Graphics.app"-"!:\system\apps\Graphics\Graphics.app"
    "c:\symbian\6.1\series60\epoc32\release\armi\urel\Graphics.rsc"-"!:\system\apps\Graphics\Graphics.rsc"
    ; suppose data and bitmap files are in the same place where you issue makesis
    "any.bmp"-"!:\system\apps\Graphics\any.bmp"
    "image.mbm"-"!:\system\apps\Graphics\image.mbm"

    Regards,
    FN Developer Support

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    RE: Build for the targetdevice

    Thank you for helping me, but I have a new problem. If I build my app the 'Graphics.app' isn't in the '...\Release\ARMI\UREL' directory. It is in '...Epoc32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\GRAPHICS\GROUP\GRAPHICS\ARMI\UREL'. Should I use this *.app file, or did I something wrong?

    Thanks for help

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    RE: Build for the targetdevice

    Hi,

    I copy the app Files to the target device.
    Graphics.app
    Images.mbm
    Graphics.rsc
    I have create a SIS file with the pkg file you post here. But it didn't appear any Icon on the target device to execute my app. If I use the SeleQ fileexplorer and try to execute the Graphics.app the program returns a message: 'No similar programs found to open this file' (translated form the German :( ).

    What did I wrong?

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    RE: Build for the targetdevice

    I have found a error message compiling my project (abld build armi urel)
    Error:

    PETRAN - PE file preprocessor V01.00 (Build 175)
    Copyright (c) 1996-2001 Symbian Ltd.

    ERROR: Dll 'GRAPHICS[10005B81].APP' has uninitialised data.
    NMAKE : fatal error U1077: 'petran' : return code '0xfffffffe'
    Stop.
    NMAKE : fatal error U1077: 'E:\VC98\Bin\nmake.exe' : return code '0x2'
    Stop.
    nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\GRAPHICS\GROUP\ARMI.make" FINAL CFG=UREL VERBOSE=-s

    Maybe that's the reason why I can't find the Graphics.app in the 'Relase' directory!
    Please help, what did I wrong?
    The project runs on the emulator very fine!

    Thanks for help.

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    24

    RE: Build for the targetdevice

    hi,
    I've also got similar error.
    I can't tell you exactly where the problem is but debug your program,
    locate the code that gives PETRAN preprocessor error during armi build.Modify or change it.Hope you app will work after this :)

    cheers
    -nitin

Posting Permissions

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