Re: [Vala] swpan error won win32

2018-09-27 Thread raum
Hi, In fact my version of vala makes Win64 binaries so I just put gspawn-win64-helper-console.exe and all is now perfect. (in fact I've read something about win32 gspawn when vala was linking my project so I've thought that I've need gspawn-win32, ooops) Regards Raum > Hi,

[Vala] swpan error won win32

2018-09-25 Thread raum
ute helper program (Invalid argument) Do you have an idea ? where am I wrong ? thanks Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] any latest vala binary for windows?

2018-09-21 Thread raum
Hi, A long time ago I've writed a page 'how to build vala' and I think I will update this page Perhaps you could find indpiration Http://linbox.free.fr/vala Regards RaumLe 21 sept. 2018 7:48 AM, Daniel Brendle a écrit : > > On 9/20/18 2:40 AM, oyster via vala-list wrote: > > thanks, but t

[Vala] [vala] problem with sorting an array

2018-08-29 Thread raum
Hi all, I don't understand why I can't sotr my array... :-/ (glib.array) Could you give me an advice ? My code below.. Thanks Raum - public class FileAndChunks { public string filename; public int64 size; } int so

Re: [Vala] Starting with Vala

2017-04-04 Thread raum
ck_fs" which is better and my lastest "graph_map". Regards Raum > Hello list, > > i would like to learn Vala and plan to port a Mono-GNOME-App to Vala. I > already seen the documentation. > > Maybe you know some small Vala apps where i can see the code in action

Re: [Vala] .me cast resurrection on "Re: The future of Vala"

2017-03-06 Thread raum
ing. > > I also saw an application capable of running a delphi application on the > web! It was amazing .. I will try to find the link. > > Someone has knowledges about glib and webassembly ? > > Regards > > Raum > https://www.github.com/Raumy > > >> Do

Re: [Vala] .me cast resurrection on "Re: The future of Vala"

2017-03-06 Thread raum
knowledges about glib and webassembly ? Regards Raum https://www.github.com/Raumy > Do we really still need a Vala to JS converter? I didn't try, but I think > it's possible to compile the whole GLib to WebAssembly with only slight > modifications, so Vala can run in browser n

Re: [Vala] .me cast resurrection on "Re: The future of Vala"

2017-03-01 Thread raum
xt release ;-) Regards Raum >> - Original Message - > >> From: "r...@no-log.org" >> Sent: Wednesday, 1 March 2017, 9:40 >> Subject: Re: [Vala] .me cast resurrection on "Re: The future of Vala" > >> By the way, I think I understand Vala

Re: [Vala] .me cast resurrection on "Re: The future of Vala"

2017-03-01 Thread raum
Vala could be used to develop stand alone application (server or client side) but not for "web applications" which used asynchronous oriented developpement. Any opinion ? :) Thanks Regards Raum - powerfull thread necromancer > >> I've read on HN (https://news.ycomb

[Vala] .me cast resurrection on "Re: The future of Vala"

2017-03-01 Thread raum
pjmlp 21 hours ago [-] > Yep, GNOME seems to be adopting Rust, with librsvg and GNOME Builder being the first places to spot it. Do you have more informations about state of vala and rust ? Regards Raum ps: original thread in HN "I miss Delphi" : https://news.ycom

Re: [Vala] How to draw on a pixbuf

2016-09-16 Thread raum
; (...) > > But the result is a partially black rectangle with some with points > > Have you some advices ? :) > > Thanks. > > Regards > > Raum > ___ > vala-list mailing list > vala-list@gnome.org > https:

[Vala] How to draw on a pixbuf

2016-09-15 Thread raum
urce_pixbuf (context, pixbuf, 0, 0); context.paint (); (...) But the result is a partially black rectangle with some with points Have you some advices ? :) Thanks. Regards Raum ___ vala-list mailing list vala-list@gnome.org https://ma

[Vala] How to get drag'n drop picture from Firefox ?

2016-08-16 Thread Raum
9sxs9ekWC0/hqdefault.jpg?custom=true&w=196&h=110&stc=true&jpg444=true&jpgq=90&sp=68&sigh=8NoJzcuPtRovVOesoOjRT4iuZGU and the link to the video https://www.youtube.com/watch?v=V9sxs9ekWC0) Thanks Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] How to get drag'n drop picture from Firefox ?

2016-08-16 Thread raum
9sxs9ekWC0/hqdefault.jpg?custom=true&w=196&h=110&stc=true&jpg444=true&jpgq=90&sp=68&sigh=8NoJzcuPtRovVOesoOjRT4iuZGU and the link to the video https://www.youtube.com/watch?v=V9sxs9ekWC0) Thanks Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] How to get drag'n drop picture from Firefox ?

2016-08-15 Thread Raum
a, uint target_type, uint time) { (...) case 2: string data = (string) selection_data.get_data (); print ("%s\n", data); this.add (new Gtk.Label (data)); break;

[Vala] Just a news I've read about popularity langage

2016-07-21 Thread raum
b and, because Vala is great (wink) less demand on Stack Overflow ^___^ (well, it's a joke :) But I think a lot of questions have been asked through this mailing list instead of StackOverflow) Just to share my hapiness to see Vala, for once, in a chart and finally in a good position... ^__^ Reg

[Vala] Just a news I've read about popularity langage

2016-07-21 Thread raum
b and, because Vala is great (wink) less demand on Stack Overflow ^___^ (well, it's a joke :) But I think a lot of questions have been asked through this mailing list instead of StackOverflow) Just to share my hapiness to see Vala, for once, in a chart and finally in a good position... ^__^ Reg

Re: [Vala] Get CREATION DATE OR TIME of file

2016-01-09 Thread raum
Hi, Problem between windows and linux API, probably... Either you can take a look to one of my project wich worked on linux https://github.com/Raumy/check_fs Regards Le 9 janv. 2016 10:30, Chris Daley a écrit : > > Hi all, > > One possible solution to this problem that would be Windows only i

Re: [Vala] Simple filewalker code. Comments?

2015-08-06 Thread Raum
Hello My objective was not to monitor un real tome so... No :-) Regards Le 6 août 2015 20:33, Al Thomas a écrit : > > > From: Raum > > Sent: Wednesday, 5 August 2015, 8:19 > > Subject: Re: [Vala] Simple filewalker code.  Comments? > > > > Hello >

Re: [Vala] Simple filewalker code. Comments?

2015-08-05 Thread Raum
Hello I've tried to code something similar https://github.com/Raumy/check_fs (It uses md5 hash to check changed files on filesystems) I should write a makefile and more comments ^_^ (main class name ils testapp... So you should consider this ils not finished :-) ) You should have a look to ch

Re: [Vala] Network Packet Cleaner

2014-07-25 Thread raum
on, using GTK and libnetframes. >> You should add the directory where libnetframes is located to your lib >> path if you want to execute npc. >> >> Under Windows, you need to install mingw32 and a lot of files... :) >> >> I've some diff

[Vala] Network Packet Cleaner

2014-07-22 Thread raum
Exchange Chart... You can use this code as example or contribute, or give me advice for a better code. Some comments in my code are in french, sorry ;) Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Problem to handle shift key

2013-12-12 Thread Raum
quot;1/1", it's ok -- I didn't compile this code on Windows/MingW but I've a similar code which working... Where am I wrong ? Thanks Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Problem to handle shift key

2013-12-12 Thread Raum
quot;1/1", it's ok -- I didn't compile this code on Windows/MingW but I've a similar code which working... Where am I wrong ? Thanks Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Performance issue

2013-11-28 Thread Raum
? (which can give me some informations where I should optimize my code ?) If you want to "experiment" the lags, check version 1.4 on https://sourceforge.net/projects/netpackclean/ and give me your opinion Thanks Regards Raum ___ vala-list mai

Re: [Vala] Recursive foreaching

2013-11-25 Thread raum
ry to clean up my code and use vala's best practices later (or if someone want to have a look ;)) Regards Raum > I have a tree of nodes, something like this in pseudocode: > class Node > ArrayList kidnodes > Node parent > > So - each node has kids and a parent. > &g

[Vala] Gtk TreeView emits a beep ...

2013-11-15 Thread raum
); Application app = new Application (); app.show_all (); Gtk.main (); return 0; } } ### Compilation ## $ valac --pkg gtk+-3.0 sample.vala Thanks Regards Raum Adv/pub : https://sourceforge.net/projects/netpackclean/ __

[Vala] Finally first release of my tool "Network Packet Cleaner" ^__^

2013-10-31 Thread raum
not sure I've the right to include tshark in my binary package... :-? Linux binary certainly at the end of day... For source code, I need to clean and document them ;) https://sourceforge.net/projects/netpackclean/ It was'nt so complicated to create this tools and I'll see

Re: [Vala] [Fwd: Binary File is not seekable ?!?]

2013-10-28 Thread raum
it that I > would have to reinstall linux to make it work. I'll search for reinstall > only glib > > Thanks > > Raum > >> Seems like it is problem with glib2 package, try to reinstall i

Re: [Vala] [Fwd: Binary File is not seekable ?!?]

2013-10-27 Thread raum
I've downloaded source tarball of Vala 0.22, compiled and install it but no effect... :-/ I was wondering if it was not a system problem. But I can not admit that I would have to reinstall linux to make it work. I'll search for reinstall only glib Thanks Raum > Seems like

Re: [Vala] [Fwd: Binary File is not seekable ?!?]

2013-10-26 Thread raum
Do you have an idea why it's running on Windows but not on Linux ? Thanks Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] [Fwd: Binary File is not seekable ?!?]

2013-10-25 Thread raum
tions] $ ./seek seekable: true What's going wrong ? o_O Thanks raum Message original Objet: [Fwd: Binary File is not seekable ?!?] De: r...@no-log.org Date:Ven 25 octobre 2013 8:5

Re: [Vala] How to convert a string to float ?

2013-09-24 Thread raum
Ok ehm.. I've searched in the wrong place it seems... sorry. :) Thanks > > > > > >> >> From: "r...@no-log.org" >>To: vala-list@gnome.org >>Sent: Tuesday, 24 September 2013, 13:36 >>Subject: [Vala] How to convert a string to float ? >> >> >>To convert a string to i

[Vala] How to convert a string to float ?

2013-09-24 Thread raum
get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed (null) get_double() (spawn.exe:4056): GLib-GObject-CRITICAL **: g_value_get_double: assertion `G_VALUE_HOLDS_DOUBLE (value)' failed 0.00 get_string() 3.4 --- Thanks Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Header file not found ?!?

2013-09-23 Thread raum
c:(.text+0x47): undefined reference to `pcap_lib_version' collect2: ld returned 1 exit status error: cc exited with status 1 Compilation failed: 1 error(s), 0 warning(s) I will try the fix explained in the web page. Regards, Raum > On Fri, 2013-09-20 at 15:49 +0200, r...@no-log.org wrote: >

[Vala] Header file not found ?!?

2013-09-20 Thread raum
s obviously present in /opt/include/pcap/ folder ? Thanks Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Binding 7zip library ?

2013-08-27 Thread raum
I think it's running. I've compressed test.vala into test.7z then : $ valac --pkg libarchive test.vala $ ./test.exe version libarchive 3.1.2 test.vala Well, now I'll test files decompression :) Raum > Sorry, I've sent the wrong vapi file. Please find in attachem

Re: [Vala] Binding 7zip library ?

2013-08-27 Thread raum
Sorry, I've sent the wrong vapi file. Please find in attachement the correct files. Regards Raum > I'm not sure but a compatible version 3 libarchive.vapi should be similar > to these files in attachement. > > Am I correct ? > > Indeed I need to read 7z

Re: [Vala] Binding 7zip library ?

2013-08-26 Thread raum
I had a look to libarchive... It seems libarchive 3.0 could handle 7Zip format (for reading) but unfortunately there is only a vapi file for version 2... I've read some pages about "how to generate vapi" but I didnt success... Should I try to write by hand a vapi file ? Thanks > On Mon, 2013-08

[Vala] Binding 7zip library ?

2013-08-26 Thread raum
Hello, I've downloaded and build 7Zip library and I've these files compiled (under Windows using MingW32, with prefix /opt) : /src/lib7zip-1.6.5/Lib7Zip/lib7zip.a /src/lib7zip-1.6.5/Lib7Zip/lib7zip.dll /src/lib7zip-1.6.5/Lib7Zip/lib7zip.h "make install" command didn't copy these files under /opt

Re: [Vala] How to get date/time infos from a file ?

2013-08-21 Thread raum
Well, Im' trying something like : var file = File.new_for_path ("some_file.txt"); var file_info = file.query_info ("*::*", 0); int64 file_stamp = file_info.get_attribute_int64(FileAttribute.TIME_ACCESS); stdout.printf ("%" + int64.FORMAT + "\n", file_stamp); But result is

[Vala] How to get date/time infos from a file ?

2013-08-21 Thread raum
TE_STANDARD_TYPE, 0); int64 file_stamp = file_info.get_attribute_int64(FileAttribute.TIME_ACCESS); stdout.printf ("%" + int64.FORMAT + "\n", file_stamp); return : 0 Someone could help me ? :) Thanks Raum ___ vala-list mailing list

Re: [Vala] Int64 operations, I'm confused

2013-07-31 Thread raum
Ehm, ok, I've finally understood :) I've read too fast your first answer, sorry... (and english is not my natural langage...) Ok, well, thanks a lot :) Regards Raum > Nope, it is not strange, it is what it should be. > > %lld is not valid on windows, so it is taken as %d.

Re: [Vala] Int64 operations, I'm confused

2013-07-31 Thread raum
Ok, the value stored in int type variable is correct (I mean 12) but try the following code : void main() { int64 val6 = 96; int val7 = (int) (val6 / 8); stdout.printf ("val6: %lld, val7 : %d\n", val6, val7); stdout.printf ("%d\n", val7); } output : $ a val6: 96, val7 : 0 12 Int6

Re: [Vala] Int64 operations, I'm confused

2013-07-31 Thread raum
My problem is not how to ouput an int64 but I need to divide a int64 by 8 and store the result in int type... int64 val6 = 96; int val7 = (int) (val6 / 8); val7 = 0 ? Why ? $ test val1: 96, val2 : 0 val4: 96, val5 : 12 val6: 96, val7 : 0 $ Thanks > You can also use int64.FORMAT lik

Re: [Vala] Int64 operations, I'm confused

2013-07-30 Thread raum
Ooops, wrong cut & paste, I mean : (...) int64 val1 = 96; int64 val2 = val1 / 8; stdout.printf ("val1: %lld, val2 : %lld\n", val1, val2); int val4 = 96; int val5 = val4 / 8; stdout.printf ("val4: %d, v

[Vala] Int64 operations, I'm confused

2013-07-30 Thread raum
There is something I do not understand. I try to make a simple operation and here is the result. (...) int64 val1 = 96; int64 val2 = val1 / 8; stdout.printf ("val1: %lld, val2 : %d\n", val1, val2); int val4 = 96; int v

[Vala] How track memory leaks ?

2013-03-18 Thread raum
Hello, I wondered if it 's possible to recover memory information or memory leaks other than "mem_set_vtable(mem_profiler_table);" and without using a third party software like valgrind ? Thanks Raum ___ vala-list mailing list vala

Re: [Vala] [ANNOUNCE] Vala 0.19.0 - Compiler for the GObject type system

2013-02-21 Thread raum
Hello You could try this package I've just compiled. It's running under MingW. http://linbox.free.fr/cross-compile/binaries/vala-0.19.0-bin.tar.xz And check this directory for libs and more : http://linbox.free.fr/cross-compile/binaries Regards Raum > On Wed, 20 Feb 2013 2

Re: [Vala] g_object_unref: assertion `G_IS_OBJECT (object)' failed

2012-12-12 Thread raum
Ehm... you were right... thanks !! *\o/* ^__^ Regards Raum > On 12/12/2012 03:54 PM, r...@no-log.org wrote: >> Hello, >> >> Could you have a look to this code : >> http://pastebin.com/cscSFCEP >> >> My file name is template5.vala (yes, I've

[Vala] g_object_unref: assertion `G_IS_OBJECT (object)' failed

2012-12-12 Thread raum
add method, so it shows "adding test2"... k stdout.printf ("size : %d\n", o1.size); // it prints "size: 1" so object "test2" has been added to o1... I think... cObject o2 = o1.get(0); stdout.printf ("++--> %s\n", o2.name); // it shows "null

[Vala] Avail : Vala 0.18.0, GTK 3.6, Glade 3.14

2012-10-26 Thread Raum
pile/binaries/install/ et http://linbox.free.fr/cross-compile/binaries/src). Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Problem with textview (it resize automatically...)

2012-10-18 Thread raum
I may have asked a bit too soon. It seems TextView must go inside a scrolled window. Forgive me ^___^ Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] [VALA] Problem with textview (it resize automatically...)

2012-10-18 Thread raum
Hi, I've got a problem with Gtk 3 / Glade... When I add too much lines in my textview, it gets bigger and recovers the other widgets of my window ! Below, you could see my code... Where am I wrong ? Any advice ?? thanks Regards -- TEST4.VALA ---

Re: [Vala] Packaged installation (gcc 4.6.2, vala 0.18)

2012-10-08 Thread raum
terminated. error: cc exited with status 1 Compilation failed: 1 error(s), 0 warning(s) $ So... ehm.. I'll use --pkg gtk+-2.0 ^___^ (except if you have any idea :) ) Regards Raum - GTK1.VALA - using Gtk; int main (string[] args) { Gtk.init (ref ar

Re: [Vala] Packaged installation (gcc 4.6.2, vala 0.18)

2012-10-07 Thread Raum
Hello It's ok... it's functionnal... just a bug :) Regards Raum Le 05/10/2012 22:25, Raum a écrit : Well, I'll provide an installation in the following directories : d:\cross-compile\mingw (linked to /usr/local) d:\cross-compile\msys (linked to /usr) At the end of the pro

[Vala] Packaged installation (gcc 4.6.2, vala 0.18)

2012-10-05 Thread Raum
_mingw_CRTStartup': C:\MinGW\msys\1.0\src\mingwrt/../mingw/crt1.c:193: undefined reference to `__dyn_tls_init_callback' collect2: ld returned 1 exit status error: cc exited with status 1 Solution: Le chemin vers PKG_CONFIG n'es tpas bon... export PKG_CONFIG_PATH="/usr/local/li

Re: [Vala] How to compile Vala using MingW under Windows

2012-10-05 Thread raum
Ok I've found my PKG_CONFIG environnement variable was wrong... # export PKG_CONFIG_PATH='/usr/local/lib/pkgconfig' # valac -v -g test4.vala # test4 Hello *\o/* Raum > Hello, > > Thanks but it's not related to "libraries declaration" under Windows

Re: [Vala] How to compile Vala using MingW under Windows

2012-10-05 Thread raum
Hello, Thanks but it's not related to "libraries declaration" under Windows but how I missed something when I've compiled Vala 0.18... or something related to PATH I think I should try to recompile and reinstall... Thanks Regards Raum > I learned that under Wind

Re: [Vala] How to compile Vala using MingW under Windows

2012-09-28 Thread raum
1 Compilation failed: 1 error(s), 0 warning(s) And at last, I could get errors from "libxml/tree.h not found" Do you have some advices ? Thanks Raum > Well... I've compiled and installed pkg-config-0.27.1 and it seems it's > ok... > > L:\>valac test.vala >

Re: [Vala] How to compile Vala using MingW under Windows

2012-09-28 Thread raum
Well... I've compiled and installed pkg-config-0.27.1 and it seems it's ok... L:\>valac test.vala L:\>test hello world Sorry to have disturbed you for not much.. ^__^ Regards Raum ps: I'll prepare some packages to download in next hours... glib-2.34.0-mingw32-bin.tar.xz

Re: [Vala] How to compile Vala using MingW under Windows

2012-09-28 Thread raum
his problem ?! Did I break the compilator when trying to compile with Mingw ? Thanks Raum > Hi, > > Feel free to help me to improve (or correct ;-) ) this mini how-to and > report if something doesn't work. > > Next step, I think I'll try to bundle clang... :-? >

Re: [Vala] How to compile glib using MingW under Windows

2012-09-28 Thread raum
CFLAGS="-O0 -g -pipe -Wall -march=i686 -mms-bitfields -mthreads" ./configure --prefix=/build --with-pcre=internal --enable-silent-rules --disable-modular-tests # make # make install and it's ok... Regards Raum ps: I'm preparing packages for vala 0.18.0, glib 2.34, libgee,

Re: [Vala] How to compile glib using MingW under Windows

2012-09-28 Thread raum
t; /src/glib-2.34.0# ./configure --prefix=/build --with-pcre=internal > --enable-silent-rules --disable-modular-tests --disable-static > > (perhaps we need these variables...not sure) > export CPPFLAGS="-DG_ATOMIC_OP_USE_GCC_BUILTINS=1" > export LDFLAGS="-Wl,--enable-a

Re: [Vala] What is "traversable" and how to use it !!! [since libgee 0.7]

2012-09-27 Thread raum
Ok, so which one ? the "traversable" thing is implemented since Libgee 0.7.. :-? And a thing which also irritates me (sorry...), it is to see the documentation referring now to the version 0.8... http://valadoc.org/libgee-0.8/index.htm Thanks Raum > On Thu, Sep 27, 2012 at 10:

[Vala] What is "traversable" and how to use it !!! [since libgee 0.7]

2012-09-27 Thread raum
ct : Object, Iterable { >^^^ Do you have a sample of code for this ? Because, due of lack of documentation, I didn't understand exactly why now I need to use "traversable". Thanks :) Raum ps: to compile libgee, If you followed my p

Re: [Vala] How to compile glib using MingW under Windows

2012-09-26 Thread raum
Adjustement # cd /src/glib-2.34.0/ # export LIBFFI_CFLAGS='-I /mingw/lib/libffi-3.0.11/include' # export LIBFFI_LIBS=-lffi # export CFLAGS="-O0 -g -pipe -Wall -march=i686 -mms-bitfields -mthreads" # configure --prefix=/build --disable-modular-tests # make > Hello, > > I've tried to compile libgee

[Vala] How to compile glib using MingW under Windows

2012-09-26 Thread raum
; export lt_cv_deplibs_check_method="pass_all" () /src/glib-2.34.0# make /src/glib-2.34.0# make install And that's probably all... Have fun Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] How to compile Vala using MingW under Windows

2012-09-26 Thread raum
Hi, Feel free to help me to improve (or correct ;-) ) this mini how-to and report if something doesn't work. Next step, I think I'll try to bundle clang... :-? Thanks Raum (...) I think I've successed to compile vala 0.18 under Windows. You could have a look to my page (ta

[Vala] How to compile Vala using MingW under Windows

2012-09-25 Thread raum
Hello, I think I've successed to compile vala 0.18 under Windows. You could have a look to my page (tarball available for testing) : http://linbox.free.fr/vala Here it is : -- How to compile Vala under Windows -- # First step : c:\

[Vala] (no subject)

2012-09-24 Thread raum
ommend you give it up and compile >Vala directly on Windows. But maybe that's just be being angsty. Ehm... ok... something like "w32api" ? Well, I'll see for mingw32 compilation... I wish it's more easy ;) Thanks Regards Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] How compile Vala 0.17.7 under linux for Win32 (cross compile)

2012-09-23 Thread raum
e répertoire « /compil/vala » make: *** [all] Erreur 2 Do you have some hints ?? :) Thanks Raum ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] undefined reference to 'SDL_Init' and/or 'WinMain@16' (under Windows)

2012-03-20 Thread Raum
Really strange... This code below is correct and a window appears ! == using GLib; using SDL; int WinMain(string[] argc) { SDL.Surface *screen; if( SDL.init( InitFlag.VIDEO ) < 0 ) { stdout.printf( "Impossible d'initialiser SDL: %s\n", SDL

Re: [Vala] undefined reference to 'SDL_Init' and/or 'WinMain@16' (under Windows)

2012-03-20 Thread Raum
Ehm.. I don't have any idea or any clue I've tried to create C code and compile it : - /* test2.c generated by valac 0.12.0, the Vala compiler * generated from test2.vala, do not modify */ #include #include #include #include #include #i

Re: [Vala] undefined reference to 'SDL_Init' and/or 'WinMain@16' (under Windows)

2012-03-20 Thread Raum
Well, I've tried but I've got the same error. SDL package : SDL-devel-1.2.15-mingw32.tar.gz (copy files from tarball to directories "include", "lib" and "bin"). To correct a "-lcom32dlg" error, I've installed : http://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/w32api-3.17/w32api-3.17-

Re: [Vala] undefined reference to 'SDL_Init' and/or 'WinMain@16' (under Windows)

2012-03-20 Thread Raum
Ehm, perhaps I can't use Visual Studio dependencies with MinGW. I've downloaded these packages : http://www.libsdl.org/release/SDL-devel-1.2.15-VC.zip Perhaps I should download (gasp, =__= I didnt notice..) http://www.libsdl.org/release/SDL-devel-1.2.15-mingw32.tar.gz I'll try and keep you infor

Re: [Vala] undefined reference to 'SDL_Init' and/or 'WinMain@16' (under Windows)

2012-03-20 Thread Raum
Hello, I've got this message : --- C:\vala-0.12.0>valac --pkg sdl -X -lsdl -X -mwindows --verbose test2.vala gcc -o 'C:/vala-0.12.0\test2' 'C:/vala-0.12.0/test2.vala.c' -mms-bitfields -Ic:/vala-0.12.0/include/glib-2.0 -Ic:/vala-0.12.0/lib/glib-2.0/include -

Re: [Vala] undefined reference to 'SDL_Init' and/or 'WinMain@16' (under Windows)

2012-03-19 Thread Raum
int main (string[] args) { >stdout.printf ("Hello world!"); >return 0; > } > -- > > Result : > --- >>>valac --pkg sdl test2.vala > >>>test2 > Hello world! > -- > > Where am i wrong ? > > Thanks ! > > Regards > > Raum > > > ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] undefined reference to 'SDL_Init' and/or 'WinMain@16' (under Windows)

2012-03-19 Thread Raum
--- >>valac --pkg sdl test2.vala >>test2 Hello world! -- Where am i wrong ? Thanks ! Regards Raum ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list