Re: Translator to C
- Posted by andi49 Nov 15, 2014
- 1830 views
Hallo Hans
han45 said...
[...]
Here is the CMD Shot :
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
J:\Assistant\042.Programmieren\Editoren\cedt-241-portable>C:
C:\>cd euphoria
C:\Euphoria>cd demo
WITH WATCOM :
C:\Euphoria\demo>euc -wat key.ex
Build directory: build-946960\
Translating code, pass: 1 2 3 4 5 6 7 8 9 10 11 generating
Compiling with Watcom
Compiling 1% init-.c
c:\Euphoria\include/euphoria.h(12): Error! E1055: Unable to open 'stdio.h'
[...]
Warning { translator }:
<0216>:: Watcom should have the H and the H\NT includes at the front of the
INCLUDE variable. Watcom is located in C:\WATCOM. The INCLUDE environment vari
able is C:\Dokumente und Einstellungen\Hans Schüren\Desktop\TEST\xblite_241\xbli
te\include.
Looks like you have messed up your Enviroment Variables, maybe you have installed xblite after OpenWatcom.
For a quick solution: In your Watcom directory (normally c:\watcom) should be a 'owsetenv.bat'. Start this before calling the translator. Maybe this helps.
Should look like this:
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\> C:\>c:\watcom\owsetenv.bat C:\>cd euphoria C:\Euphoria>cd demo C:\Euphoria\demo>euc -wat key.ex
Andreas
Sprechen Sie Deutsch? ;)

