×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    3

    Trying to run the spectrum demo on an E71 after compiling from source

    Hi,

    On the PC, I installed Nokia Qt SDK 1.0.2, and then followed these instructions to install Qt libraries 4.7.1 for Symbian:

    http://labs.qt.nokia.com/2010/12/12/...symbian-today/

    I did a hardware reset on the phone using the *#7370# command, then installed qt_installer.sis in the 4.7.1 directory, and App Trk corresponding to S60 3rd Edition, Feature Pack 1 (According to this: http://www.forum.nokia.com/Devices/D...fications/E71/) as instructed.

    I haven't done a firmware upgrade - the current firmware version is 200.21.118 according to the *#0000# command.
    (I wanted to try a firmware upgrade, but when I tried this page: http://europe.nokia.com/support/down...1-update-phone , I got a 404 when trying to download the Nokia Software Updater tool.)

    I'm using PC Suite 7.1.

    I load the spectrum.pro project into Qt Creator (the version of Qt Creator that comes with Nokia Qt SDK 1.0.2). I hit "Build All", and it compiles the project, generates around a thousand warnings, and produces a .sis file. After inspecting the contents of the .sis file, I confirm that it contains spectrum.exe, fftreal.dll and some resource files.

    When I try to run it through the debugger, Qt Creator brings up a dialog saying "Cannot run C:\sys\bin\spectrum.exe, General OS error".
    When I try to run it without the debugger, a similar message about a General OS Error appears in the Application Output pane.

    When I try to install the .sis file manually and run it on the device, the E71 brings up a message saying "Feature Not Supported."

    What is odd is that if I install fluidlauncher.sis, it comes with the spectrum app, and it runs fine, so clearly something seems to be incorrectly specified in the build process.

    I've tried playing with "Capabilities", with the UID...I'm at my wits end.

    I'd love to get this thing to work. I can get many of the other demos to run through the debugger without any problem, except this one. I want this one to work, because I want to start implementing some audio related stuff on my E71 phone.

    Thank you for your time.

  2. #2
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    286

    Re: Trying to run the spectrum demo on an E71 after compiling from source

    Hi, few options what goes wrong.

    There is a gotcha with GCCE depending on GCCE version you are using. For newer versions of GCCE you need to write your own integer division functions or you get "Feature not Supported".
    Second option and more likely if you didn't install GCCE yourself. The Qt SDK is based on S60 5.0 SDK and is not fully binary compatible with the 3.1 . i.e. you end up having function in the code that is missing from your device "Feature not Supported".

    Create a bug in bugreports.qt.nokia.com and add the compiler version to this report (arm-none-symbianelf-gcc.exe --version).

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    3

    Re: Trying to run the spectrum demo on an E71 after compiling from source

    Quote Originally Posted by jakoskin View Post
    Create a bug in bugreports.qt.nokia.com and add the compiler version to this report (arm-none-symbianelf-gcc.exe --version).
    Done: http://bugreports.qt.nokia.com/browse/QTSDK-389

    In the meantime, I'll try looking at newer versions of GCCE. Thanks for the tip!

  4. #4
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    286

    Re: Trying to run the spectrum demo on an E71 after compiling from source

    Quote Originally Posted by paperwitch View Post
    Done: http://bugreports.qt.nokia.com/browse/QTSDK-389

    In the meantime, I'll try looking at newer versions of GCCE. Thanks for the tip!
    One option is to install S60 3.1 SDK and build the app in that environment. helps if the issue is binary compatibility.

  5. #5
    Registered User
    Join Date
    Jan 2011
    Posts
    3

    Re: Trying to run the spectrum demo on an E71 after compiling from source

    Quote Originally Posted by jakoskin View Post
    One option is to install S60 3.1 SDK and build the app in that environment. helps if the issue is binary compatibility.
    Your suggestion worked! Thank you very much.

    This is what I did:

    Uninstall everything.

    - Installed Nokia Qt SDK 1.0.2

    - Installed the S60 3.1 SDK as you suggested from here:

    http://www.forum.nokia.com/info/sw.n...16-3.0-mr.html

    - Installed qt-symbian-opensource-4.7.1-s60.exe from the usual place:

    http://qt.nokia.com/downloads/symbian-cpp --> http://get.qt.nokia.com/qt/source/qt...-4.7.1-s60.exe

    During installation, I point it to the S60 3.1 SDK I just installed.

    I try to open up spectrum.pro, but find that Qt Creator complains about a missing "Open C/C++ Plug-in" when I try to use the Symbian SDK. Reading "Qt for Symbian Introduction" that comes with 4.7.1 mentions where to get it.

    - Installed the "Open C/C++ Plug-in" from here:

    http://www.forum.nokia.com/info/sw.n...K_Plug-In.html

    Now I can load spectrum.pro, compile it, and run it on the device and through Qt Creator, but unfortunately not through the debugger - "gdb-arm-none-symbianelf.exe" crashes.

    I tried using the GCCE that comes with NokiaQtSDK 1.0.2, as well as the older GCCE that came bundled with S60 3.1 SDK. Both result in "gdb-arm-none-symbianelf.exe" crashing.

    Thank you for all your help. I'm delighted that I could get the thing to run in the end. Any ideas about why it won't run through the debugger? I notice that "gdb-arm-none-symbianelf.exe" is in C:\NokiaQtSDK\pythongdb. There might be a newer version, or at least a different version that might not crash.

Similar Threads

  1. spectrum analyzer demo, the HZ is 0 ~ 2000, how to change this?
    By xhsoldier in forum [Archived] Beginning Qt
    Replies: 9
    Last Post: 2011-01-16, 05:39
  2. errors compiling demo codes
    By dev_d_bhatt in forum Near Field Communication
    Replies: 9
    Last Post: 2010-04-03, 21:04
  3. how to run midp demo
    By xnew in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-21, 08:44

Posting Permissions

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