Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Hildon-Example looks like a GTK-Example

    Reply
    tom_at_lp | # 1 | 2010-01-12, 23:50 | Report

    Hello all Writers

    i started out development for N900 (so my brain isnt full enough ).
    i Installed the SDK on Ubuntu 9.10 and start reading the Documentation ...
    On this Way i compiled some examples (for C&GTK and C++&QT).
    In all ways i get never a Hildon-look-alike.
    No one in the SDK and no one on the Device directly.
    (look at the Screenshoot)


    It looks same on the Device.
    compiled with :
    gcc dialog.c `pkg-config --cflags hildon-1 --libs` -o dialog

    a friend of me have the VM-Ware-Image from maemo.org and his builds (with the same buildinginstructions) produce a nice Hildon-Look-alike (on the Device).

    we checked the installed packages and diffīd the output.
    only the libgles* are installed in the VM-Ware-Image; and they are not in my repositorys.

    repos :
    deb http://repository.maemo.org/ fremantle/sdk free non-free
    deb-src http://repository.maemo.org/ fremantle/sdk free
    deb http://repository.maemo.org/ fremantle/tools free non-free
    deb-src http://repository.maemo.org/ fremantle/tools free

    deb http://repository.maemo.org/extras-devel/ fremantle free non-free
    deb-src http://repository.maemo.org/extras-devel/ fremantle free non-free

    (and off-course the nokia-repo with the "secreeeeeeet Key" )

    any suggestions ?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by tom_at_lp; 2010-01-13 at 06:54. Reason: marked as solved

     
    lorelei | # 2 | 2010-01-13, 00:28 | Report

    You have to start your application with run-standalone.sh as a wrapper, i.e.:

    Code:
    run-standalone.sh ./myapp

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by lorelei; 2010-01-13 at 00:29. Reason: proper formatting
    The Following 2 Users Say Thank You to lorelei For This Useful Post:
    linuxeventually, VDVsx

     
    tom_at_lp | # 3 | 2010-01-13, 06:45 | Report

    oh lord - you are right. Now it looks on booth like a Hildon-App.
    Thx in advance !!

    you give me the right Direction - on the Device running as USER : i donīt need to run it with "run-standalone.sh" - itīs all done in the User-Environment.
    Only as root (as i did :-( ) i need the "run-standalone.sh" to set this needed environment....
    in the SDK it should always run with "run-standalone.sh"

    double-thx from my side....

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by tom_at_lp; 2010-01-13 at 21:06.

     
vBulletin® Version 3.8.8
Normal Logout