×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Feb 2007
    Posts
    4

    Problems with 'Hello world' application

    Hi, everyone!

    I have just installed S60 3rd Edition SDK (Feature Pack 1).
    I am total beginner in this SDK, so I tried to compile and link 'Hello world' application, but it doesn't work.
    Can somebody help?

    This is what I do (as explained in help):
    1. I go to ...\HelloWorldBasic\group directory.
    2. I type 'bldmake bldfiles'. One file appears in this directory - ABLD.BAT.
    3. Then I type 'abld build'. This string appears: 'make -r -f "...\HelloWorldBasic\group\EXPORT.make" EXPORT VERBOSE=-s Nothing to do'.
    4. When I open Emulator and go to Installed directory, I can only see 'App. mgr.' and 'Go to'. No sign of 'Hello world'.

    Note that I have installed (and added to path):
    1. ActivePerl 5.6.1 Build 638
    2. J2SE Runtime Environment 5.0 Update 6


    Thanks a lot for your help.
    Igor

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Problems with 'Hello world' application

    Hi Igor,

    Welcome to Forum Nokia's Discussion Boards!

    Could it be that you have other Symbian SDKs installed and that S60 3rd SDK FP1 is not currently the default one ?

    Call "devices" to see which SDK is the default one and to change it if needed.

    Best regards,

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

    Re: Problems with 'Hello world' application

    Thanks, Itomuta.

    When I call 'devices', only one SDK is shown:
    S60_3rd_FP1_2:com.nokia.s60 - default

    So, this is not it.
    Any other ideas?

    Igor

  4. #4
    Registered User
    Join Date
    Feb 2007
    Posts
    4

    Re: Problems with 'Hello world' application

    I also tried the same thing with:
    1. S60 3rd Edition SDK MR
    2. JRE 6
    but the same thing happens.

    Can someone at least tell me what to expect?
    I mean, which files appear after which command and so on.


    All the best.
    Igor

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

    Re: Problems with 'Hello world' application

    Here is my configuration
    Code:
    C:\Symbian\9.2\S60_3rd_FP1\S60Ex\HelloWorldBasic\group>java -version
    java version "1.5.0_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
    
    C:\Symbian\9.2\S60_3rd_FP1\S60Ex\HelloWorldBasic\group>perl -version
    
    This is perl, v5.8.7 built for MSWin32-x86-multi-thread
    (with 7 registered patches, see perl -V for more detail)
    
    Copyright 1987-2005, Larry Wall
    
    Binary build 813 [148120] provided by ActiveState http://www.ActiveState.com
    ActiveState is a division of Sophos.
    Built Jun  6 2005 13:36:37
    
    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.
    
    Complete documentation for Perl, including FAQ lists, should be found on
    this system using `man perl' or `perldoc perl'.  If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page.
    Looks like I have a newer version of Perl but an older version of the JRE. Anyway, check SDKs release notes for the exact requirements but anything newer should work ...

    See also attached the output of my build following the sequence described by you. Note that a call to "abld makefile [target | all]" should have been made as a second step and that you can use the -v option for extensive logging from the tools.

    Try this:

    Code:
    abld reallyclean
    bldmake clean
    bldmake -v bldfiles  > log.txt 
    abld -v makefile all  >> log.txt 
    abld -v build winscw udeb  >> log.txt 
    abld -v build gcce urel >> log.txt
    and hopefully the log will give you some hints as to what happens.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    Mar 2007
    Posts
    4

    Re: Problems with 'Hello world' application

    Hello Ladies and Gentlemen

    I've got installed S60 3rd Edition SDK (Feature Pack 1)
    file: S60-SDK-200634-3.1-Cpp-f.1090b.zip - 71,828,742 bytes

    And I've got exactly the same problem as IGORRADIC described a month ago in this forum-thread.
    I've read carefully forum articles but I've not found solution yet :(

    Can anybody help, please ???

    Serge

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

    Post Re: Problems with 'Hello world' application

    Can you describe exactly:
    • What tools you have installed (jre, perl) ?
      • Which IDE(s) ?
      • Which compilers ?
    • Which commands fail and with what message (build log would be just fine)

  8. #8
    Registered User
    Join Date
    Mar 2007
    Posts
    4

    Re: Problems with 'Hello world' application

    Dear Itomuta,

    Thanks for quick reply.

    I've got
    Perl: ActivePerl 5.8.8 Build 820
    and Java :
    D:\ java -version
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
    Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)



    After I installed SDK I tryed to use it with Visual Studio 2005 and downloaded carbide_vs_201.exe.
    But I couldn't install it. I received a message that Visual Studio 2003 not found.
    I didn't want to change my VS for older one, so I downloaded Carbide_c++_Express_v1_1.exe.
    Tryed to build HelloCarbide aplication but couldn't do it.
    Then I deleted Carbide 1.1 IDE, opened SDK Help and I thought to compile some example from command prompt

    I did exactly the same steps as IGORRADIC:
    1. I go to ...\HelloWorldBasic\group directory.
    2. I type 'bldmake bldfiles'. One file appears in this directory - ABLD.BAT.
    3. Then I type 'abld build'. This string appears: 'make -r -f "...\HelloWorldBasic\group\EXPORT.make" EXPORT VERBOSE=-s Nothing to do'.
    4. When I open Emulator and go to Installed directory, I can only see 'App. mgr.' and 'Go to'. No sign of 'Hello world'.

    After I read this forum thread I made what you advised:

    abld reallyclean
    bldmake clean
    bldmake -v bldfiles > log.txt
    abld -v makefile all >> log.txt
    abld -v build winscw udeb >> log.txt
    abld -v build gcce urel >> log.txt

    I looked in the log.txt but couldn't understand much of it (

    Then I deleted SDK, restarted PC, and installed it again, but I still cannot build the example.

    I cannot post attachments so I uploaded log-files to web at http://soserge.narod.ru/Nokia/log.zip

    When I make command abld-v build winscw udeb some info doesn't stream to the log-file but to the screen:
    ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation
    make: *** [MAKEFILEHELLOWORLDBASIC] Error 255
    make[1]: \Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW: No such file or directory
    make[1]: *** No rule to make target '\Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW'. Stop.
    make: *** [LIBRARYHELLOWORLDBASIC] Error 2
    make[1]: \Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW: No such file or directory
    make[1]: *** No rule to make target '\Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW'. Stop.
    make: *** [RESOURCEHELLOWORLDBASIC] Error 2
    make[1]: \Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW: No such file or directory
    make[1]: *** No rule to make target '\Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW'. Stop.
    make: *** [TARGETHELLOWORLDBASIC] Error 2


    We can see here that the string "\Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\" adds two times to the path, but why ??? ((



    PS. I think it's not important on which logical drive installed SDK. But if it's important my system volume is C:, but because of lack of space I've got installed SDK and VS 2005 on logical drive D:

    Best regards,
    Serge

  9. #9
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Problems with 'Hello world' application

    Quote Originally Posted by spadalka
    Dear Itomuta,

    Thanks for quick reply.

    I've got
    Perl: ActivePerl 5.8.8 Build 820
    and Java :
    D:\ java -version
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
    Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)



    After I installed SDK I tryed to use it with Visual Studio 2005 and downloaded carbide_vs_201.exe.
    But I couldn't install it. I received a message that Visual Studio 2003 not found.
    I didn't want to change my VS for older one, so I downloaded Carbide_c++_Express_v1_1.exe.
    Tryed to build HelloCarbide aplication but couldn't do it.
    Then I deleted Carbide 1.1 IDE, opened SDK Help and I thought to compile some example from command prompt

    I did exactly the same steps as IGORRADIC:
    1. I go to ...\HelloWorldBasic\group directory.
    2. I type 'bldmake bldfiles'. One file appears in this directory - ABLD.BAT.
    3. Then I type 'abld build'. This string appears: 'make -r -f "...\HelloWorldBasic\group\EXPORT.make" EXPORT VERBOSE=-s Nothing to do'.
    4. When I open Emulator and go to Installed directory, I can only see 'App. mgr.' and 'Go to'. No sign of 'Hello world'.

    After I read this forum thread I made what you advised:

    abld reallyclean
    bldmake clean
    bldmake -v bldfiles > log.txt
    abld -v makefile all >> log.txt
    abld -v build winscw udeb >> log.txt
    abld -v build gcce urel >> log.txt

    I looked in the log.txt but couldn't understand much of it (

    Then I deleted SDK, restarted PC, and installed it again, but I still cannot build the example.

    I cannot post attachments so I uploaded log-files to web at http://soserge.narod.ru/Nokia/log.zip

    When I make command abld-v build winscw udeb some info doesn't stream to the log-file but to the screen:
    ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation
    make: *** [MAKEFILEHELLOWORLDBASIC] Error 255
    make[1]: \Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW: No such file or directory
    make[1]: *** No rule to make target '\Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW'. Stop.
    make: *** [LIBRARYHELLOWORLDBASIC] Error 2
    make[1]: \Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW: No such file or directory
    make[1]: *** No rule to make target '\Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW'. Stop.
    make: *** [RESOURCEHELLOWORLDBASIC] Error 2
    make[1]: \Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW: No such file or directory
    make[1]: *** No rule to make target '\Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1_2\S60Ex\HelloWorldBasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WINSCW'. Stop.
    make: *** [TARGETHELLOWORLDBASIC] Error 2


    We can see here that the string "\Symbian\9.2\S60_3rd_FP1_2\EPOC32\BUILD\" adds two times to the path, but why ??? ((



    PS. I think it's not important on which logical drive installed SDK. But if it's important my system volume is C:, but because of lack of space I've got installed SDK and VS 2005 on logical drive D:

    Best regards,
    Serge
    The SDK installation will prompt you to install the GCCE tool chain but it does not include the one for WINSCW, so with only the SDK installed it is not possible to make a command prompt build for the emulator. The tool chain is available with Carbide.vs or Carbide.c++ though at least in the later case extra configuration is needed for command line builds.

    The installation drive does not matter but the project source and IDE's workspace must be on the same drive otherwise the build scripts will eventually fail.

    Visual Studio 2005 is not supported.
    Last edited by ltomuta; 2007-03-26 at 10:46.

  10. #10
    Registered User
    Join Date
    Feb 2007
    Posts
    4

    Re: Problems with 'Hello world' application

    Dear Spadalka, dear Itomuta,

    In the meantime I have given up running everything from the command line and installed Carbide Express.
    With Carbide, everything seems to function OK.


    I wish you all the best.
    Igor

  11. #11
    Registered User
    Join Date
    Mar 2007
    Posts
    4

    Re: Problems with 'Hello world' application

    Hello Everybody

    First of all thanks a lot to Itomuta, now I know where is a problem.

    Quote Originally Posted by igorradic
    Dear Spadalka, dear Itomuta,

    In the meantime I have given up running everything from the command line and installed Carbide Express.
    With Carbide, everything seems to function OK.


    I wish you all the best.
    Igor
    Dear Igor
    I had Carbide Express 1.1 installed but there were problems with it too.
    At first I'd like to make command-prompt-build to work.
    Sure sooner or later I plan to use some IDE, Carbide Express or maybe VS 2003

    Best regards,
    Serge
    Last edited by spadalka; 2007-03-26 at 15:32.

Similar Threads

  1. Bringing application to foreground
    By ash_bhatia in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-11-02, 13:39
  2. Replies: 10
    Last Post: 2006-05-17, 06:27
  3. A good J2me application for world cup 2006
    By samuraraujo in forum Mobile Java General
    Replies: 0
    Last Post: 2006-05-11, 23:40
  4. Problems Generating Application Packages
    By MBeller in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-07-01, 11:58
  5. Problems installing application in 7650
    By mirandp in forum Mobile Java General
    Replies: 0
    Last Post: 2002-09-16, 17:10

Posting Permissions

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