Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Vala for Maemo development

    Reply
    Page 6 of 10 | Prev |   4     5   6   7     8   | Next | Last
    Bundyo | # 51 | 2008-08-27, 18:38 | Report

    Vala needs C compiler, you won't get away with that Also it will be probably too slow on the tablet (it is slowish in the emulator too). Monodevelop is easier to get running on openSUSE for sure, probably best for you is to try harder with Valable and compile in scratchbox.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BoxOfSnoo | # 52 | 2008-08-27, 19:00 | Report

    Try harder... Let me clarify. I have no idea where to GET it.

    Launchpad is like Sourceforge without the files. There's just a bunch of announcements, developer's names and so on.

    Where should I look?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bundyo | # 53 | 2008-08-27, 19:17 | Report

    I think Andrew should be answering this one

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lcuk | # 54 | 2008-08-27, 19:33 | Report

    Bundyo,
    Compilation time on the tablet for even the barest hello world (in performance mode) was over 30 seconds.

    I did not go further.

    for reference, each module in liqbase takes about 3-5 seconds for raw c.

    c++ modules of similar length take about 20 seconds

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lcuk For This Useful Post:
    Bundyo

     
    Bundyo | # 55 | 2008-08-27, 19:39 | Report

    I was suspecting numbers like these

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BoxOfSnoo | # 56 | 2008-08-27, 19:41 | Report

    Well my desktop compilation time has been so far 2 full days for 0 lines of code. I think the tablet wins!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Jaffa | # 57 | 2008-08-28, 15:44 | Report

    Right, to get Valable:
    1. Install Vala
    2. Install ctags
    3. Get Valable: bzr branch lp:valable - this should give you a 'valable' directory.
    4. Open Eclipse
    5. Select File > Import... > General > Existing Projects into Workspace
    6. Set root directory to the 'valable' directory from step 2.
    7. Project should compile :-)
    8. Right click on the project and select Run as > Eclipse application - a new Eclipse should open
    9. Select File > New > Project... > Vala > Vala Project, enter some details, and create a new Vala file in it.

    I've not yet looked at exporting the plugin for installation into Eclipse - it's a while off that yet. Let me know if this doesn't work.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Jaffa For This Useful Post:
    BoxOfSnoo, hns

     
    BoxOfSnoo | # 58 | 2008-08-28, 16:01 | Report

    Originally Posted by Jaffa View Post
    Right, to get Valable:

    bzr branch lp:valable - this should give you a 'valable' directory.
    Note for others : this is a command you have to type: you may need bzr installed also, it's a program similar to cvs or svn.

    ...sorry, it may be blindingly obvious but took me a while to realize this.

    Originally Posted by Jaffa View Post
    Project should compile :-)
    Right now I have 22 errors and 2 warnings. Obviously I am missing some libraries (Where is Scanner located?).

    Great help so far! Getting the code was the first real roadblock.

    EDIT: I needed to do a couple of things: 1) make sure I had Sun's Java installed, not just OpenJDK 2) Make sure the Workspace properties are set to compiler compliance level of 6.0.

    And so far, it works! Now I have to get cracking I suppose.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by BoxOfSnoo; 2008-08-28 at 16:22. Reason: Got it working, explanations added.

     
    Jaffa | # 59 | 2008-08-28, 16:35 | Report

    Originally Posted by BoxOfSnoo View Post
    Note for others : this is a command you have to type: you may need bzr installed also, it's a program similar to cvs or svn.
    Yup.

    Originally Posted by
    Right now I have 22 errors and 2 warnings. Obviously I am missing some libraries (Where is Scanner located?).
    As you found, Java 6 :-)

    Originally Posted by
    EDIT: I needed to do a couple of things: 1) make sure I had Sun's Java installed, not just OpenJDK 2) Make sure the Workspace properties are set to compiler compliance level of 6.0.

    And so far, it works! Now I have to get cracking I suppose.
    Excellent!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Benson | # 60 | 2008-09-03, 23:22 | Report

    Originally Posted by Bundyo View Post
    I don't do lots I have two small apps, veeery small . I'm foreign to GTK too and i keep meeting with the need of a X VAPI. However, this can't be done without a simple additional parser to at least specify which function is in which header (since vapigen doesn't bother to specify it). So I'm just beginning Maybe I'll have something to talk about in September, but i can't tell for sure now.

    EDIT: Forgot to tell i'm all for a Vala talk and how it can help the tablet development evolve (not by me though ).
    Hmmm... Any progress on the X VAPI? The hostwin source you sent me seems to depend on it, so presumably you've got something. Might it be tar-worthy?

    (And I'm all for a Vala talk, too. I won't be there, though, so I hope it gets videoed, or at least slides posted and maybe audio recordings.)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 6 of 10 | Prev |   4     5   6   7     8   | Next | Last
vBulletin® Version 3.8.8
Normal Logout