Lisp HUG Maillist Archive

process-foreign-file & "cl" mismatch

I am having trouble when attempting to convert a C header file using the 
Lispworks editor (Works->buffer->Evaluate) and "process-foreign-file".

The conversion chokes with a:

"The system cannot find the file when specified."
command "cl" /nologo /E /I"C:\SDL-1.2.8" /Tc 
"C:\docume~1\........\LOCALS~1\Temp\PCL109.h"

I find this strange that this occurs when attemting tp process foreign 
code using the Lispworks Editor, as per the instructions in the FLI Manual.

What am I doing wrong?

-Luke


Re: process-foreign-file & "cl" mismatch

"Luke J Crook" <luke@balooga.com> wrote on Monday, July 18, 2005 8:15 AM:

>I am having trouble when attempting to convert a C header file using the 
>Lispworks editor (Works->buffer->Evaluate) and "process-foreign-file".
>
> The conversion chokes with a:
>
> "The system cannot find the file when specified."
> command "cl" /nologo /E /I"C:\SDL-1.2.8" /Tc 
> "C:\docume~1\........\LOCALS~1\Temp\PCL109.h"
>
> I find this strange that this occurs when attemting tp process foreign 
> code using the Lispworks Editor, as per the instructions in the FLI 
> Manual.
>
> What am I doing wrong?
>
> -Luke
>


It may be the case that cl.exe (microsoft c++ compiler) is not installed on 
your  system. You'll likely need to install MS Visual Studio for this 
command to work.
Another caveat: don't put the header file you are trying to process into 
root directory on any disk - error will be signaled. This is a bug that 
Lispworks promised to fix for the next release.

Denis. 


Re: process-foreign-file & "cl" mismatch

Luke J Crook wrote:

> I am having trouble when attempting to convert a C header file using 
> the Lispworks editor (Works->buffer->Evaluate) and 
> "process-foreign-file".
>
> The conversion chokes with a:
>
> "The system cannot find the file when specified."
> command "cl" /nologo /E /I"C:\SDL-1.2.8" /Tc 
> "C:\docume~1\........\LOCALS~1\Temp\PCL109.h"
>
> I find this strange that this occurs when attemting tp process foreign 
> code using the Lispworks Editor, as per the instructions in the FLI 
> Manual.
>
> What am I doing wrong?
>
> -Luke
>
>
The above works on my desktop (4.4.5 Eval) but not on my laptop. Both 
run XP.

-Luke


Updated at: 2020-12-10 08:51 UTC