1. compiling with open watcom error

Hi

I'm thoroghly impressed with this new compiling system. Well done.

However, when I try to compile various programs (running interpreted fine), then try to compile them, i get the following error

C:\EUPHORIA\idealator>owsetenv Open Watcom Build Environment

C:\EUPHORIA\idealator>euc idealator.exw Translating code, pass: 1 idealator.exw:58 <0294>:: 'pixel' is not supported in this platform <end-of-file> ^

Warning ( translator ): <0216>:: Watcom should have the H and the H\NT includes at the front of the INCLUDE variable.

C:\EUPHORIA\idealator>

Note idealator is an example, it seems to be with programs that use win32lib, those that don't seem to be ok.

Am I doing something wrong? Is this a win32lib problem?

Chris

Edit - I'm also getting this with DOS programs too, and some DOS programs are compiling but not running, is there a command line switch to let the translator compiler know that I'm compiling a DOS program?

Chris

Never mind - looks like DOS support for the translator has been dropped.

Chris

new topic     » topic index » view message » categorize

2. Re: compiling with open watcom error

ChrisB said...

Edit - I'm also getting this with DOS programs too, and some DOS programs are compiling but not running, is there a command line switch to let the translator compiler know that I'm compiling a DOS program? Chris Never mind - looks like DOS support for the translator has been dropped. Chris

Some dos programs will run as console programs. When compiling them to exe's be sure to use the -con switch. Otherwise they will compile and run, but be running in Outer Limbo, defying you to kill them without restarting the computer.

new topic     » goto parent     » topic index » view message » categorize

3. Re: compiling with open watcom error

Hi

So, what does this mean?

Translating code, pass: 1 idealator.exw:58 <0294>:: 'pixel' is not supported in this platform <end-of-file> ^

It appears with quite a few programs during compilation, always on pass 1, not always associated with win32, not always associated with DOS programs and always pointing to the last line of the file.

Chris

new topic     » goto parent     » topic index » view message » categorize

4. Re: compiling with open watcom error

ChrisB said...

So, what does this mean?

Translating code, pass: 1 idealator.exw:58 <0294>:: 'pixel' is not supported in this platform <end-of-file> ^

Somewhere within Win32Lib, a call to graphics.e is made. I think. I had to modify my copy here to get around it. I think Derek's made an official Eu4.0-compatible version as well.

new topic     » goto parent     » topic index » view message » categorize

5. Re: compiling with open watcom error

ChrisB said...

Hi

So, what does this mean?

Translating code, pass: 1 idealator.exw:58 <0294>:: 'pixel' is not supported in this platform <end-of-file> ^

It appears with quite a few programs during compilation, always on pass 1, not always associated with win32, not always associated with DOS programs and always pointing to the last line of the file.

Basically, the interpreter ignores a call to pixel, but the translator throws an error when encountered. It should more probably be a NOP, and issue a warning. The routine itself never gets called, but the translator sees it and realizes that it was DOS only, thus throwing an error. We need to fix that, obviously, and possibly update the 3.1 std library to remove DOS-only stuff as well.

Matt

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu