Re: Attn Rob: Eu 2.5/Error compiling with Watcom
Phil Russell wrote:
> I tried compiling winwire.exw using ewc and Open Watcom 1.1.
>
> On running emake.bat I get the following:
>
> compiling with WATCOM
> main_.c
> main_.c(68): Error! E1011: Symbol 'CLK_TCK' has not been declared
> init_.c
> winwire.c
> winwir_0.c
> dll.c
> machine.c
> linking
> Error! E2008: cannot open main_.obj : No such file or directory
>
> I'm not much good with C - am I doing something wrong here?
CLK_TCK is defined in a WATCOM file called time.h
Apparently WATCOM found a version of that file,
somewhere, but it doesn't have CLK_TCK. Not all C compilers
are standardized on CLK_TCK.
Maybe you got time.h from some other compiler
installation. WATCOM uses the environment
variable INCLUDE to know where to look for include files.
On my machine, if I type SET, I see (among many other variables)
INCLUDE=C:\WATCOM\H;C:\WATCOM\H\NT
I wonder if you just need to reboot to set this variable.
I don't have Open Watcom. I still use 10.6, but others
who use Open Watcom have not had any trouble.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
|
Not Categorized, Please Help
|
|