1. Couldn't compile file 'init-.c'
- Posted by euphoric (admin) Aug 09, 2013
- 1397 views
I'm trying to compile a program that otherwise works fine interpreted.
How do I fix this error?
Build directory: build-876376\ Translating code, pass: 1 2 3 4 5 6 7 8 9 10 11 generating Compiling with Watcom Compiling 0% init-.c Couldn't compile file 'init-.c' Status: -1 Command: wcc386 /dEWINDOWS /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5 r /otimra /s /IC:\euphoria init-.c
This is on my Windows 8 PC, and I might not have compiled on it in the past, though I thought I did...
2. Re: Couldn't compile file 'init-.c'
- Posted by jimcbrown (admin) Aug 09, 2013
- 1413 views
I'm trying to compile a program that otherwise works fine interpreted.
How do I fix this error?
Build directory: build-876376\ Translating code, pass: 1 2 3 4 5 6 7 8 9 10 11 generating Compiling with Watcom Compiling 0% init-.c Couldn't compile file 'init-.c' Status: -1 Command: wcc386 /dEWINDOWS /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5 r /otimra /s /IC:\euphoria init-.c
This is on my Windows 8 PC, and I might not have compiled on it in the past, though I thought I did...
Status -1 ? Sounds like it can't find wcc386 in the path, or otherwise can't run that particular binary...
3. Re: Couldn't compile file 'init-.c'
- Posted by BRyan Aug 09, 2013
- 1393 views
I'm trying to compile a program that otherwise works fine interpreted.
How do I fix this error?
Build directory: build-876376\ Translating code, pass: 1 2 3 4 5 6 7 8 9 10 11 generating Compiling with Watcom Compiling 0% init-.c Couldn't compile file 'init-.c' Status: -1 Command: wcc386 /dEWINDOWS /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5 r /otimra /s /IC:\euphoria init-.c
This is on my Windows 8 PC, and I might not have compiled on it in the past, though I thought I did...
It's looking for init-.c file in the C:\euphoria directory are you sure that is correct ?
4. Re: Couldn't compile file 'init-.c'
- Posted by mattlewis (admin) Aug 09, 2013
- 1427 views
Status: -1 Command: wcc386 /dEWINDOWS /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5 r /otimra /s /IC:\euphoria init-.c
This is on my Windows 8 PC, and I might not have compiled on it in the past, though I thought I did...
It's looking for init-.c file in the C:\euphoria directory are you sure that is correct ?
That's not what's going on. "/IC:\euphoria" is telling the compiler where to look for header files. "init-.c" is from the makefile process' current directory.
I agree with Jim, that this looks like a path problem, otherwise you'd have some sort of Watcom compiler generated error message.
Matt