Lisp HUG Maillist Archive

Testing the COM implementation

Hi

I am trying to work with COM.

I am just following the example in the manual but get the following 
problem.  I remember seeing it before and I think it is somthing 
trivial.  Does anybody have any idea about what is happening here?

Thanks

Marco


CL-USER 8 > (com:midl "args.idl")
; Loading fasl file C:\Program 
Files\Xanalys\LispWorks\lib\4-2-0-0\modules\concat\com-parser.fsl
;  Loading fasl file C:\Program 
Files\Xanalys\LispWorks\lib\4-2-0-0\modules\concat\parser-runtime.fsl
;  Loading fasl file C:\Program 
Files\Xanalys\LispWorks\lib\4-2-0-0\modules\concat\foreign-preprocessor.fsl
; Loading fasl file C:\Program 
Files\Xanalys\LispWorks\lib\4-2-0-0\patches\com-parser\0001\0001.fsl
; Loaded public patch COM-PARSER 1.1

; Loading fasl file C:\Program 
Files\Xanalys\LispWorks\lib\4-2-0-0\patches\com-parser\0001\0002.fsl
; Loaded public patch COM-PARSER 1.2

; Loading fasl file C:\Program 
Files\Xanalys\LispWorks\lib\4-2-0-0\patches\com-parser\0001\0003.fsl
; Loaded public patch COM-PARSER 1.3

; Loading fasl file C:\Program 
Files\Xanalys\LispWorks\lib\4-2-0-0\patches\com-parser\0001\0004.fsl
; Loaded public patch COM-PARSER 1.4

;;; Processing args.idl


**++++ Error between functions:
   WIN32::WIN32-CREATE-PROCESS failed with error 2: The system cannot 
find the file specified.
; *** 1 error detected, no fasl file produced.
NIL
((NIL #<SIMPLE-ERROR 206126AC>))
T



Re: Testing the COM implementation

It is probably caused by being unable to find a native C preprocessor 
(or compiler).
See foreign-parser:*preprocessor*
The default value is "cl" for Windows - you may need to set it to a full 
path if the file cl.exe isn't on the Windows search path.

I hit this earlier today myself...

Regards
Guy.

In message <3E5E7FA6.6050109@cs.nyu.edu>, Marco Antoniotti 
<marcoxa@cs.nyu.edu> writes
>Hi
>
>I am trying to work with COM.
>
>I am just following the example in the manual but get the following 
>problem.  I remember seeing it before and I think it is somthing 
>trivial. Does anybody have any idea about what is happening here?
>
>Thanks
>
>Marco
>
>
>CL-USER 8 > (com:midl "args.idl")
> Loading fasl file C:\Program 
>Files\Xanalys\LispWorks\lib\4-2-0-0\modules\concat\com-parser.fsl
>  Loading fasl file C:\Program 
>Files\Xanalys\LispWorks\lib\4-2-0-0\modules\concat\parser-runtime.fsl
>  Loading fasl file C:\Program 
>Files\Xanalys\LispWorks\lib\4-2-0-0\modules\concat\foreign-preprocessor.
>fsl
> Loading fasl file C:\Program 
>Files\Xanalys\LispWorks\lib\4-2-0-0\patches\com-parser\0001\0001.fsl
> Loaded public patch COM-PARSER 1.1
>
> Loading fasl file C:\Program 
>Files\Xanalys\LispWorks\lib\4-2-0-0\patches\com-parser\0001\0002.fsl
> Loaded public patch COM-PARSER 1.2
>
> Loading fasl file C:\Program 
>Files\Xanalys\LispWorks\lib\4-2-0-0\patches\com-parser\0001\0003.fsl
> Loaded public patch COM-PARSER 1.3
>
> Loading fasl file C:\Program 
>Files\Xanalys\LispWorks\lib\4-2-0-0\patches\com-parser\0001\0004.fsl
> Loaded public patch COM-PARSER 1.4
>
>;; Processing args.idl
>
>
>**++++ Error between functions:
>  WIN32::WIN32-CREATE-PROCESS failed with error 2: The system cannot 
>find the file specified.
> *** 1 error detected, no fasl file produced.
>NIL
>((NIL #<SIMPLE-ERROR 206126AC>))
>T
>
>

-- 


Updated at: 2020-12-10 09:00 UTC