Reply
Thread Tools
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#51
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.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 259 | Thanked: 72 times | Joined on Dec 2007 @ Halifax, NS
#52
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?
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#53
I think Andrew should be answering this one
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#54
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
 

The Following User Says Thank You to lcuk For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#55
I was suspecting numbers like these
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 259 | Thanked: 72 times | Joined on Dec 2007 @ Halifax, NS
#56
Well my desktop compilation time has been so far 2 full days for 0 lines of code. I think the tablet wins!
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#57
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.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 2 Users Say Thank You to Jaffa For This Useful Post:
Posts: 259 | Thanked: 72 times | Joined on Dec 2007 @ Halifax, NS
#58
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.

Last edited by BoxOfSnoo; 2008-08-28 at 16:22. Reason: Got it working, explanations added.
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#59
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.

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

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!
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#60
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.)
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:43.