×

Discussion Board

Results 1 to 10 of 10

Hybrid View

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    4

    Building S60 Platform Log Example v1.1 on Carbide c++ for Nokia E5 platform

    Hello,

    my name is Enzo, and I am trying to compile the "S60 Platform Log Example v1.1" project for my Nokia E5 mobile phone.
    I have imported the project as a "bld.inf" and it works very well, but only if I execute it on Windows emulator (WINSCW configuration).
    When I build the project for Phone Release (GCCE) Carbide doesn't build the sisx installation file and the console window doesn't log any error message.
    I have already tested some simple QT project and I am able to build sisx file and install it on my E5.
    What am I missing?
    My final target is being able to maintain in a better way my events log. For example in my E5 it is impossible to delete a single event and you can only delete the entire log.
    Thank a lot for your help.

    Best regards
    Enzo

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: Building S60 Platform Log Example v1.1 on Carbide c++ for Nokia E5 platform

    In the build configuration settings for phone release in carbide, is it enabled to make a sisx for gcce release?

    project->properties->carbide.c++->build configurations

  3. #3
    Registered User
    Join Date
    Feb 2012
    Posts
    4

    Re: Building S60 Platform Log Example v1.1 on Carbide c++ for Nokia E5 platform

    Dear Friend,
    thank you for the anwser.
    Build configuration was missing and I set the following values:

    - Configuration -> Sis Builder: Phone Release (GCCE) [S60_3rd_FP2_SDK_v1.1_2]

    I then added a new configuration with the following options:
    - PKG File: sis\LogExample_S60_3_0_v_1_1_0.pkg
    - Output File Name: LogExampleEnzoRelease.sis
    - Content Search Location: <leaved blank>
    - Generate partail upgrade when appropriate: non checked
    - Signing options: Don't sign sis file

    As you can see from the build log I have a "Cannot find file" error when makesis.exe is invoked.
    In my "C:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\" I can't find GCCE directory. I have only GCC dir.
    How (and where) can I correct GCC path?
    I have installed Carbide c++ version 2.7.0.

    Thank a lot
    Enzo



    *************** BUILD LOG ***************
    ***Building project "LogExample_S60_3rd_ed" for configuration "Phone Release (GCCE) [S60_3rd_FP2_SDK_v1.1_2]"

    ***Printing environment variables modified from default:
    PATH=C:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\tools;C:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\gcc\bin;C:/Symbian/Tools/Carbide.c++ v2.7/jre/bin/client;C:/Symbian/Tools/Carbide.c++ v2.7/jre/bin;C:\Perl\bin\;C:\Programmi\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programmi\ATI Technologies\ATI.ACE\Core-Static;C:\Programmi\File comuni\Symbian\tools;C:\Programmi\CSL Arm Toolchain\bin
    =::=::\
    EPOCROOT=\S60\devices\S60_3rd_FP2_SDK_v1.1_2\
    NO_DEPENDENCIES=-nd
    MAKE=make -j 4

    Working Directory: C:/temp/LogExample/group

    ***Makefile structures up to date. Skipping 'bldmake bldfiles'

    ***Invoking abld command
    perl.exe -S ABLD.PL \temp\LogExample\group\ export
    make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\temp\LogExample\group\EXPORT.make" EXPORT VERBOSE=-s
    Nothing to do

    Total Time: 0 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \temp\LogExample\group\ library gcce
    make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\temp\LogExample\group\GCCE.make" LIBRARY VERBOSE=-s
    make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\temp\LogExample\group\LOGEXAMPLE_S60_3RD_ED\GCCE\LOGEXAMPLE_S60_3RD_ED.GCCE" LIBRARY

    Total Time: 0 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \temp\LogExample\group\ resource gcce urel
    make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\temp\LogExample\group\GCCE.make" RESOURCE CFG=UREL VERBOSE=-s
    make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\temp\LogExample\group\LOGEXAMPLE_S60_3RD_ED\GCCE\LOGEXAMPLE_S60_3RD_ED.GCCE" RESOURCEUREL

    Total Time: 0 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \temp\LogExample\group\ target gcce urel
    make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\temp\LogExample\group\GCCE.make" TARGET CFG=UREL VERBOSE=-s
    make -j 4 -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\temp\LogExample\group\LOGEXAMPLE_S60_3RD_ED\GCCE\LOGEXAMPLE_S60_3RD_ED.GCCE" UREL

    Total Time: 0 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \temp\LogExample\group\ final gcce urel
    make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\temp\LogExample\group\GCCE.make" FINAL CFG=UREL VERBOSE=-s

    Total Time: 0 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \temp\LogExample\group\ test export
    make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\temp\LogExample\group\EXPORTtest.make" EXPORT VERBOSE=-s
    Nothing to do

    Total Time: 1 sec

    ***Build Complete

    ***Invoking makesis.exe ....
    C:\S60\devices\S60_3rd_FP2_SDK_v1.1_2\epoc32\tools\makesis.exe C:\temp\LogExample\sis\LogExample_S60_3_0_v_1_1_0.pkg C:\temp\LogExample\sis\LogExampleEnzoRelease.sis
    Error : Cannot find file : Epoc32\release\GCCE\UREL\LogExample.exe

    (23) : error: file I/O fault.
    ***Non-Zero Status: makesis.exe returned with exit value = 1
    Total Time: 1 sec
    ***************END BUILD LOG*************

  4. #4
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: Building S60 Platform Log Example v1.1 on Carbide c++ for Nokia E5 platform

    Quote Originally Posted by v.stefa View Post
    Error : Cannot find file : Epoc32\release\GCCE\UREL\LogExample.exe
    Clean your project & then build it again & see if you get more errors in console which resulted in this error, which simply means that the exe did not generated on building the project(& a reason for this may be that something is wrong with your code & it didn't build well)

  5. #5
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: Building S60 Platform Log Example v1.1 on Carbide c++ for Nokia E5 platform

    Could you try this.

    Check your epocroot by in carbide and in your ($EPOCROOT)\Epoc32\release\GCCE\UREL is there logexample.exe file
    In my computer it is
    C:\Symbian\9.1\S60_3rd_MR\ is epocroot and this is the folder where is epoc32 folder located
    Basically in my case it would have been C:\Symbian\9.1\S60_3rd_MR\Epoc32\release\GCCE\UREL\logexample.exe
    In your case this is mismatching

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

    Re: Building S60 Platform Log Example v1.1 on Carbide c++ for Nokia E5 platform

    It might be a good idea to post the .pkg file here. Since it is not a built-in example, but a separately downloadable one, it may require some manual work prior to successful packaging.

  7. #7
    Registered User
    Join Date
    Feb 2012
    Posts
    4

    Re: Building S60 Platform Log Example v1.1 on Carbide c++ for Nokia E5 platform

    It finally works!
    I had to reinstall my 60 platform (this time setting "Full Installation") before having GCCE directory.
    After that, I set up EPOCROOT enviroment variable ed updated the pkg file as suggested by vineet.
    Now the sis file is regularly builded.

    Thank you
    Best regards
    Enzo

Similar Threads

  1. Replies: 4
    Last Post: 2010-02-25, 16:35
  2. Got an error while building S60 browser code on S60 SDK platform
    By kuldeep_kec in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2006-07-20, 07:09
  3. Got an error while building S60 browser code on S60 SDK platform
    By kuldeep_kec in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-07-20, 07:09
  4. error:building for ARMI Platform
    By gaurav17281 in forum Symbian
    Replies: 1
    Last Post: 2003-07-25, 08:37

Posting Permissions

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