×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    90

    How to install uSTL in Symbian OS

    Hi!

    I have installed Symbian, and the location likes(D:\Symbian\9.2\S60_3rd_FP1 ). To use vector, I want to install uSTL, package of uSTL (ustl-1.0Symbian.zip) has been downloaded, and extracted in D:\. When I followed the steps:

    HTML Code:
    Symbian OS Installation
    Deploying the uSTL Library
    To build the uSTL library for Symbian OS UIQ 3 or S60 3rd Edition, do the following:
    1. Ensure your Symbian 9 environment is set up correctly.
    
    2. In this directory (ustldir\Symbian), at a DOS prompt, type
    
    
            configure
    
    This sets up the Symbian include directories, and moves files around to support Symbian compilation.
    Then:
    
    
            cd S60  //or 'cd UIQ' for UIQ 3
            deploy
    
    This builds the emulator and target libraries
    I failed to input command "configure" or "deploy" in Dos enviroment.
    I'm totally a newbie about Symbian, pls give me instruction. Thanks a lot!!!!

  2. #2
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    90

    Question Re: How to install uSTL in Symbian OS

    By the way, I can't find the directory like (ustldir\Symbian), so I run in the directory "D:\ustl-1.0Symbian\ustl\Symbian", is it right?

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

    Re: How to install uSTL in Symbian OS

    yes you got it right.

  4. #4
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    90

    Re: How to install uSTL in Symbian OS

    Quote Originally Posted by skumar_rao View Post
    yes you got it right.
    So how to run the command "configure"?

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

    Re: How to install uSTL in Symbian OS

    just run the configure.cmd file on command line.

  6. #6
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    90

    Re: How to install uSTL in Symbian OS

    Yes, I found configure.cmd and deploy.cmd were blocked when I extracted the zip file. Now I can run the command and build the emulator and target libraries successfully.
    But when I build my project again, it still said "the file 'vector' cannot be opened"

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

    Re: How to install uSTL in Symbian OS

    can you show us the output.

  8. #8
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    90

    Re: How to install uSTL in Symbian OS

    I'll try. Can you see the pic clearly? I just want to use vector only.


  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: How to install uSTL in Symbian OS

    If the file can not be found, it is probably not there and/or completely missing
    - check if file "vector" exists somewhere in epoc32\include
    - if it does, but in some sub-folder, make sure that sub-folder is added to the SYSTEMINCLUDE-s in the .mmp file

  10. #10
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    90

    Re: How to install uSTL in Symbian OS

    When I input configure:
    D:\ustl-1.0Symbian\ustl\Symbian>configure

    D:\ustl-1.0Symbian\ustl\Symbian>set INCDIR=\EPOC32\INCLUDE\ustl

    D:\ustl-1.0Symbian\ustl\Symbian>set STL_FILES=algorithm bitset iostream iterator
    list map numeric queue set

    D:\ustl-1.0Symbian\ustl\Symbian>set STL_FILES=algorithm bitset iostream iterator
    list map numeric queue set stack string strstream utility vector

    D:\ustl-1.0Symbian\ustl\Symbian>set SYMBIAN_FILES=stdint.h float.h config.h type
    info

    D:\ustl-1.0Symbian\ustl\Symbian>if not exist \EPOC32\INCLUDE echo EPOCROOT not s
    et? && goto exit
    EPOCROOT not set?
    and then enter folder s60, and "deploy"
    D:\ustl-1.0Symbian\ustl\Symbian\S60>deploy

    D:\ustl-1.0Symbian\ustl\Symbian\S60>rem Build USTL library for emulator (WINSCW
    UDEB) and target hardware (GCCE UREL)

    D:\ustl-1.0Symbian\ustl\Symbian\S60>call bldmake bldfiles

    D:\ustl-1.0Symbian\ustl\Symbian\S60>call abld build winscw udeb
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\EXPORT.make" EXPORT VERBOSE=-s
    copy "\ustl-1.0Symbian\ustl\bvt\bvt25.in" "\Symbian\9.2\S60_3rd_FP1\EPOC32\winsc
    w\c\bvt25.in"
    1 file(s) copied.
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\WINSCW.make" MAKEFILE VERBOSE=-s
    perl -S makmake.pl -D \ustl-1.0Symbian\ustl\Symbian\USTL WINSCW
    ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation
    make: *** [MAKEFILEUSTL] Error 255
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\WINSCW.make" LIBRARY VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbi
    an\S60\USTL\WINSCW\USTL.WINSCW" LIBRARY
    make[1]: \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbian\S60\
    USTL\WINSCW\USTL.WINSCW: No such file or directory
    make[1]: *** No rule to make target `\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-
    1.0Symbian\ustl\Symbian\S60\USTL\WINSCW\USTL.WINSCW'. Stop.
    make: *** [LIBRARYUSTL] Error 2
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbi
    an\S60\USTL\WINSCW\USTL.WINSCW" RESOURCEUDEB
    make[1]: \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbian\S60\
    USTL\WINSCW\USTL.WINSCW: No such file or directory
    make[1]: *** No rule to make target `\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-
    1.0Symbian\ustl\Symbian\S60\USTL\WINSCW\USTL.WINSCW'. Stop.
    make: *** [RESOURCEUSTL] Error 2
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbi
    an\S60\USTL\WINSCW\USTL.WINSCW" UDEB
    make[1]: \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbian\S60\
    USTL\WINSCW\USTL.WINSCW: No such file or directory
    make[1]: *** No rule to make target `\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-
    1.0Symbian\ustl\Symbian\S60\USTL\WINSCW\USTL.WINSCW'. Stop.
    make: *** [TARGETUSTL] Error 2
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\EXPORT.make" EXPORT VERBOSE=-s
    make: Nothing to be done for `EXPORT'.
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\GCCE.make" MAKEFILE VERBOSE=-s
    perl -S makmake.pl -D \ustl-1.0Symbian\ustl\Symbian\USTL GCCE
    initialiseConfig: GCCE
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\GCCE.make" LIBRARY VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbi
    an\S60\USTL\GCCE\USTL.GCCE" LIBRARY
    Creating \symbian\9.2\s60_3rd_fp1\epoc32\build\ustl-1.0symbian\ustl\symbian\s60\
    ustl\gcce\urel
    cmemlink.cpp
    fstream.cpp
    /ustl-1.0Symbian/ustl/fstream.cpp:248:8: warning: extra tokens at end of #endif
    directive
    memblock.cpp
    memlink.cpp
    mistream.cpp
    ofstream.cpp
    sistream.cpp
    sostream.cpp
    ualgobase.cpp
    ubitset.cpp
    uexception.cpp
    unew.cpp
    ustdxept.cpp
    ustring.cpp
    symbianstringsupport.cpp
    printfsupport.cpp
    Creating \symbian\9.2\s60_3rd_fp1\epoc32\build\ustl-1.0symbian\ustl\symbian\s60\
    ustl\gcce\udeb
    cmemlink.cpp
    fstream.cpp
    /ustl-1.0Symbian/ustl/fstream.cpp:248:8: warning: extra tokens at end of #endif
    directive
    memblock.cpp
    memlink.cpp
    mistream.cpp
    ofstream.cpp
    sistream.cpp
    sostream.cpp
    ualgobase.cpp
    ubitset.cpp
    uexception.cpp
    unew.cpp
    ustdxept.cpp
    ustring.cpp
    symbianstringsupport.cpp
    printfsupport.cpp
    /ustl-1.0Symbian/ustl/printfsupport.cpp: In function `size_t vsnprintf(char*, si
    ze_t, const char*, std::va_list)':
    /ustl-1.0Symbian/ustl/printfsupport.cpp:83: warning: comparison between signed a
    nd unsigned integer expressions
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\GCCE.make" RESOURCE CFG=UREL VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbi
    an\S60\USTL\GCCE\USTL.GCCE" RESOURCEUREL
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\GCCE.make" TARGET CFG=UREL VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbi
    an\S60\USTL\GCCE\USTL.GCCE" UREL
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\ustl-1.0Symbian\ustl\Symbia
    n\S60\GCCE.make" FINAL CFG=UREL VERBOSE=-s

  11. #11
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    90

    Re: How to install uSTL in Symbian OS

    Quote Originally Posted by wizard_hu_ View Post
    If the file can not be found, it is probably not there and/or completely missing
    - check if file "vector" exists somewhere in epoc32\include
    - if it does, but in some sub-folder, make sure that sub-folder is added to the SYSTEMINCLUDE-s in the .mmp file

    There is no "vector" but uvector.h in D:\ustl-1.0Symbian\ustl instead of epoc32\include, I have tried to copy uvector.h head file directly into include folder, and change #include<vector> into #include <uvector.h>. It reported with one error :
    Severity and Description Path Resource Location Creation Time Id
    make[1]: *** No rule to make target `\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\WINSCW\UDEB\ustl.lib', needed by `\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\WINSCW\UDEB\opencbasicdllclient.exe'. Stop. opencbasicdll line 0 1218804401375 256
    What should I do?

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

    Re: How to install uSTL in Symbian OS

    "Configure" obviously has not succeeded:
    echo EPOCROOT not set? && goto exit
    means that it is going to show "EPOCROOT not set?" (which actually happens) and goes to exit label (which probably exits).
    Though EPOCROOT became evil recently, apparently you have to set it for a successful configure and deploy. As you can (or should) see, EPOCROOT has to be the folder where your epoc32 sub-folder resides, including a trailing backslash.

  13. #13
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    90

    Re: How to install uSTL in Symbian OS

    Quote Originally Posted by wizard_hu_ View Post
    "Configure" obviously has not succeeded:means that it is going to show "EPOCROOT not set?" (which actually happens) and goes to exit label (which probably exits).
    Though EPOCROOT became evil recently, apparently you have to set it for a successful configure and deploy. As you can (or should) see, EPOCROOT has to be the folder where your epoc32 sub-folder resides, including a trailing backslash.
    Thanks for your reply, so what should I do? Need I add a folder named as "EPOCROOT" in epoc32?

  14. #14
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: How to install uSTL in Symbian OS

    EPOCROOT is a deprecated environment variable.
    - inside the build file
    if not exist \EPOC32\INCLUDE echo EPOCROOT not set? && goto exit
    probably looks like
    Code:
    if not exist %EPOCROOT%\EPOC32\INCLUDE echo EPOCROOT not s
    et? && goto exit
    so you should try
    Code:
    set EPOCROOT=\Symbian\9.2\S60_3rd_FP1
    
    or
    
    set EPOCROOT=\Symbian\9.2\S60_3rd_FP1\
    prior to executing "configure"

Similar Threads

  1. How to install STLPort on Symbian ?
    By gacon in forum Symbian
    Replies: 14
    Last Post: 2008-07-01, 08:19
  2. Replies: 6
    Last Post: 2008-06-30, 09:53
  3. Why I Can't Install Nokia Theme Creater & Symbian Os SDK
    By cheesiongow in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-05-12, 01:07
  4. Global Symbian Development Opportunities *High Importance*
    By sara.lindsay in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-05-07, 12:17
  5. Replies: 0
    Last Post: 2003-06-13, 01: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
  •  
×