Cheers for the reply & the commit!
Its a help anyway, I was at 12 errors, now down to 6 errors. (+ 5 warnings).
All the errors seem to be of the same kind. (Something due to accessing
array[2] ?)
I've never written a .vapi and dont really understand all the fancy tricks
you do...
So best job is probably to post the error output after running the command..
command: valac --pkg jack main.vala   // my main.vala is just a single
printf statement, no JACK code
jack.vapi:48.36-48.44: error: syntax error, no expression allowed between
array brackets
        public int get_aliases(ref string[2] aliases);
                                   ^^^^^^^^^
jack.vapi:48.36-48.44: error: syntax error, no expression allowed between
array brackets
        public int get_aliases(ref string[2] aliases);
                                   ^^^^^^^^^
jack.vapi:270.41-270.47: error: syntax error, no expression allowed between
array brackets
        public void get_read_vector(ref Data[2] vec);
                                        ^^^^^^^
jack.vapi:270.41-270.47: error: syntax error, no expression allowed between
array brackets
        public void get_read_vector(ref Data[2] vec);
                                        ^^^^^^^
jack.vapi:271.42-271.48: error: syntax error, no expression allowed between
array brackets
        public void get_write_vector(ref Data[2] vec);
                                         ^^^^^^^
jack.vapi:271.42-271.48: error: syntax error, no expression allowed between
array brackets
        public void get_write_vector(ref Data[2] vec);
                                         ^^^^^^^
On Sat, Jun 26, 2010 at 10:25 PM, alberto colombo <vala(a)albx79.it> wrote:
  Hello,
 I created a bug to track progress on Jack bindings:
 
https://bugzilla.gnome.org/show_bug.cgi?id=576777. I have just committed
 the latest version I had on my HD (dated November 2009), which should
 fix quite a few bugs compared to the version in that email.
 Please note that I didn't have the means or the time to test all the
 bindings, therefore expect some memory errors on some functions I
 haven't used. It gives plenty of warning now (it should be updated for
 vala 0.9), but it should compile.
 Also, the binding are for version 0.116. If you need features from
 0.118, they'll have to be added.
 Regards
 Alberto
 On Sat, 2010-06-26 at 16:04 +0100, Harry Van Haaren wrote:
  Hey all,
 I'm learning Vala at the moment, primarily with the intention to develop
 apps
 which support JACK audio output. I'm gonna work towards GStreamer based
 audio routing, and JACK Transport to Start/Stop my app.
 For the while, I hope to have a play around with JACK using Vala. So I 
 went
  looking for bindings and found the following:
 
http://www.mail-archive.com/vala-list@gnome.org/msg02266.html
 I've read the replies, installed Jack.vapi into /usr/share/vala/vapi
 but I cant seem to get rid of some certain errors whenever I compile.
 Are others using this binding successfully?
 Any tips / info I should know about when using Jack & Vala?
 Cheers, -Harry
 _______________________________________________
 vala-list mailing list
 vala-list(a)gnome.org
 
http://mail.gnome.org/mailman/listinfo/vala-list