Re: Compiling issue
- Posted by jimcbrown (admin) Feb 03, 2012
- 2035 views
andi49 said...
Hi
MinGW gives no warnings or errors the binary just returns to the prompt. The program did not start.
Can you provide the binary?
andi49 said...
Changing the the names say from "myprog.ew" to "myprog1.ew" and than includes this, fixes all problems.
I tried it with Eu4.0.3 stock from the OpenEuphoria website and a 4.1 from middle of January.
And, sorry i forget to mention. I'am on Windows XP Sp3.
With Watcom (the files are circmot.ew and circmot.exw)
euc circmot.exw > debug.txt
gives this debug.txt
Here are two test files, can you try them out and see if you have still have the same problem with these? If it works it should print out "-2" in a command prompt window and then exit immediately.
circmot.ew
global procedure InitMotion() ? -2 end procedure
circmot.exw
include circmot.ew global procedure WinMain() EventLoop() end procedure global procedure EventLoop() InitMotion() end procedure WinMain()