Re: [Vala] why valac says "error: Failed to execute child process (Exec format error)"





 
      From: oyster <lepto python gmail com>
 Sent: Wednesday, 15 June 2016, 16:42
 Subject: [Vala] why valac says "error: Failed to execute child process (Exec format error)"
   
I am using mingw + msys on win7 64bits. The gcc can compile to produce
EXE file, and pkg-config can run no problem

I can compile vala_0.32.0 without problem


So you have compiled Vala from source? MSYS2 has Vala already compiled. Does that work?


but when I try to use "valac -v hello.vala" to compile any vala source, I find
[quote]
Loaded package `E:\msys\opt\windows_32\vala-my-build\share/vala-0.32/vapi/glib-2.0.vapi'
Loaded package `E:\msys\opt\windows_32\vala-my-build\share/vala-0.32/vapi/gobject-2.0.vapi'
error: Failed to execute child process (Exec format error)
...
Compilation failed: 3 error(s), 0 warning(s)
[/quote]

Any hints to find what is the problem? Thanks
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list



You folder says windows_32 but you say you are on Win 64. Is that the reason for your executable format 
error? Was Vala compiled for the wrong format of Windows binaries?

   
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]