View Single Post
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#71
Thanks Jaffa for the Vala 0.7.3, had lots of issues with bad c code with the older versions, but latest fixed them. Anyways, few questions:

What the heck can I use for IO? Only FileUtils seems to work for basic file reading, but I need better than that. Diablo GLib seems to be too old for gio/gio-unix that I need. I installed libgio-dev, but it fails to compile with:

Code:
/usr/lib/libgio-2.0.so: undefined reference to `IA__g_app_info_get_default_for_type'
Why is that in repos if it doesn't work or am I missing a lib it needs? Error seems to point to a newer GLib.

What about UDP? I need multicast udp and can't find a lib for that either. I had to do it C so I can add it to c code, but I'd rather use Vala for that too.

Also libsoup-2.2 seems to be buggy, I get all kinds of weird stuff in body like extra chars and even headers etc, so I had to add ugly separators to rule them out.

Vala ain't that bad once you get the hang of it and I do love the speed, but these issues are really making it unsuitable for my needs. Any advice especially for my io-problem?
 

The Following User Says Thank You to ukki For This Useful Post: