1. Cannot compile any program

I've just installed Euphoria, with the bundled Watcom compiler, and then I tried to compile some program.

It seems that euc fails to do its job : I'm trying under windows 7 sp1, euc 4.05

Here are the commands and the results.
Any suggestion ?

C:\euphoria\demo>set eudir
EUDIR=c:\euphoria

C:\euphoria\demo>set euinc
EUINC=C:\euphoria\win32lib\Include

C:\euphoria\demo>euc -con allsorts.ex
Build directory: build-306033\
Translating code, pass: 1 2 3 4 5 6 7 8 9 10 11 generating
Compiling with Watcom
Compiling 1% init-.c
Couldn't compile file 'init-.c'
Status: -1 Command: wcc386 /dEWINDOWS /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /Ic:\euphoria init-.c

new topic     » topic index » view message » categorize

2. Re: Cannot compile any program

Mauri54 said...

I've just installed Euphoria, with the bundled Watcom compiler, and then I tried to compile some program.

It seems that euc fails to do its job : I'm trying under windows 7 sp1, euc 4.05

Here are the commands and the results.
Any suggestion ?

C:\euphoria\demo>set eudir
EUDIR=c:\euphoria

C:\euphoria\demo>set euinc
EUINC=C:\euphoria\win32lib\Include

C:\euphoria\demo>euc -con allsorts.ex
Build directory: build-306033\
Translating code, pass: 1 2 3 4 5 6 7 8 9 10 11 generating
Compiling with Watcom
Compiling 1% init-.c
Couldn't compile file 'init-.c'
Status: -1 Command: wcc386 /dEWINDOWS /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /Ic:\euphoria init-.c

Hi
Status: -1 means Openwatcom is not found

easy way, go to openwatcom.org download open-watcom-c-win32-1.9.exe. Follow instructions and overwrite the euphoria installation.
for instant fun start owsetenv.bat in your watcom folder or reboot your machine.

Have fun

Andreas

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

3. Re: Cannot compile any program

Thanks, the problem was that I didn't run owsetenv.bat

Now it works.

p.s. It must be manually changed to point to the correct directories, replacing e.g. c:\progra~1\WATCOM with c:\euphoria\WATCOM

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

Search



Quick Links

User menu

Not signed in.

Misc Menu