×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    May 2008
    Posts
    53

    STL example of 5th SDK version doesn't install on my N73...

    Hi,

    i have compiled succesfully my old 3rd edition SDK project with the new SDK 5th edition. It compiled, installed and worked on the phone.

    The phone is my old N73.

    I have compiled the STL example of 5th S60 SDK. It compiled but didn't install.

    The first problem is that the installation fails without giving me any information at all. It simply says that can't install the app (i selected the phone memory as the destination for the app, as always).
    The app is signed with the key, certificate pair used for my previous project.
    How can i understand what is happening?

    The second problem is that i am writing an application that uses STL a lot. So i need support for STL.
    It seems to me that STL is supported with 5th edition of the SDK, but i would like to know: if my old working 3rd edtion SDK app starts to use the 5th edition SDK + STL, will i be able to install it on every phone, as before?

    Thank you,
    Luca

    PS.
    Since STL is a software lib, the answer, in my mind, is "yes, of course". Maybe the I/O part of STL could be problematic, but can't think of serious problems with STL working on N73 or even older devices.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,740

    Re: STL example of 5th SDK version doesn't install on my N73...

    Software developed with an 1.5 years old SDK is not expected to run flawlessly on a 4.5 years old device, using 3 generations older version of the platform.
    Otherwise S60 5th is the first release which comes with built-in STL support, for older S60 versions you have to download the Open C/C++ plugin, Library above, Tools and downloads, Find more tools, Tools for Symbian C++ development. It will deploy the headers and libraries into the SDK, and it will create a nokia_plugin folder next to the epoc32, containing the installers of the runtime libraries, examples and documentation.
    You should use S60 3rd MR SDK for the N73.

  3. #3
    Regular Contributor
    Join Date
    May 2008
    Posts
    53

    Re: STL example of 5th SDK version doesn't install on my N73...

    Hi wizard_hu_,
    thx for your reply. I have finally managed to compile my old project including Eigen library (a library for vector/matrix manipulation), which uses STL a lot.
    I have installed it succesfully on my N73.
    All using the 5th edition of the SDK.

    The problem is that in this way the application don't start. Probably it search for a file that can't fin (like a DLL).

    I am thinking of using STL port in order to substitute the STL built-in implementation of the 5th edition S60 SDK.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,740

    Re: STL example of 5th SDK version doesn't install on my N73...

    If you want to make your life harder, why not?

    Otherwise, try reading the very beginning and the very end of #2 once more. It is not the Open C/C++ / STL part causing the problem.

  5. #5
    Regular Contributor
    Join Date
    May 2008
    Posts
    53

    Re: STL example of 5th SDK version doesn't install on my N73...

    Hi,

    ok, i have installed what you said. Now i can compile and install my old project and install it succesfully (with 3rd edition as with 5th edition).
    The problem is that the app doesn't start. This as the library that i use:


    // STL support
    //LIBRARY libstdcpp.lib
    //LIBRARY libpthread.lib
    //LIBRARY libc.lib
    LIBRARY euser.lib
    LIBRARY efsrv.lib
    LIBRARY hal.lib
    LIBRARY apparc.lib
    LIBRARY cone.lib
    LIBRARY eikcore.lib
    LIBRARY avkon.lib
    LIBRARY ws32.lib
    LIBRARY commonengine.lib
    LIBRARY ECam.lib
    LIBRARY fbscli.lib
    LIBRARY libgles_cm.lib
    LIBRARY estlib.lib
    LIBRARY mediaclientaudio.lib
    LIBRARY midiclient.lib
    LIBRARY mediaclientaudiostream.lib

    STATICLIBRARY vorbis.lib theora.lib libogg.lib ecrt0.lib


    If i uncomment the line

    //LIBRARY libstdcpp.lib

    e and rebuild the project, the application doens't start. If i comment that line, the application start.
    Note that i am not even using STL. I wanted just to link the necessary .lib.

    Any idea of what am i doing wrong?

    Ps.
    I have installed the file STDCPP_s60_1_7_SS.sis on my N73.

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

    Re: STL example of 5th SDK version doesn't install on my N73...

    Trying to get an error message is always a good idea: http://wiki.forum.nokia.com/index.ph...ded_panic_code

  7. #7
    Regular Contributor
    Join Date
    May 2008
    Posts
    53

    Re: STL example of 5th SDK version doesn't install on my N73...

    Hi,

    i have installed YTask and from what i see there is a Panic of type Kill with reason 0 in the thread Main of the application.

    My app start in this way:



    LOCAL_C CApaApplication* NewApplication()
    {
    return new CColourTrackerApplication;
    }

    GLDEF_C TInt E32Main()
    {
    return EikStart::RunApplication( NewApplication );
    }


    If i dont link the library libstdcpp.lib it works. Otherwise, not.
    Maybe i have to link some other library?

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,740

    Re: STL example of 5th SDK version doesn't install on my N73...

    Are you compiling the code with S60 3rd MR SDK?

  9. #9
    Regular Contributor
    Join Date
    May 2008
    Posts
    53

    Re: STL example of 5th SDK version doesn't install on my N73...

    I am using the S60 3rd edition FP2. I compile it using a phone GCCE release configuration.
    Do you think that using s60 3rd MR sdk it will works?

  10. #10
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,740

    Re: STL example of 5th SDK version doesn't install on my N73...

    Yes. And it will also show if you happen to use API-s which simply do not exist in your FP-less S60 3rd devices - which would obviously prevent execution.

  11. #11
    Regular Contributor
    Join Date
    May 2008
    Posts
    53

    Re: STL example of 5th SDK version doesn't install on my N73...

    Hi wizard_hu,

    sorry to bother you again. I have installed the SDK 3rd edition MR, as you said. Re-installed the nokia plugin for that SDK, recompiled all the code (it worked).
    Installed the app and launched it.
    It didn't work (panic in thread main with reason 0, as with the other SDK).

    What am i doing wrong??

    Lets think: i dont directly call any method present in libstdcpp.lib (it compile without it without changing anything).
    So it must be a sort of DLL-missing problem.
    Or maybe there is some static-initialization code that cause the app to fail...

  12. #12
    Regular Contributor
    Join Date
    May 2008
    Posts
    53

    Re: STL example of 5th SDK version doesn't install on my N73...

    Ok, it now work. I have forgotten to install the nokia plugins for OpenC (i had only installed the plugin for OpenC++) :P
    Now, after having installed all possible plugiins, it works.

    Thx for support.
    Luca

Similar Threads

  1. S60 5th Edition SDK install problem
    By florianhaar in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2010-06-29, 12:40
  2. HELP : How use N73 themes on S60 3rd SDK FP1, I can't install :(
    By marcus360 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2009-05-08, 05:43
  3. N73 midlet version during install
    By nagkumar in forum Mobile Java General
    Replies: 1
    Last Post: 2008-09-23, 14:49
  4. What SDK version should I install?
    By suuritoivo in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2005-06-28, 18:03

Posting Permissions

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