comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to deal with this error while using MAKE_DLL ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to deal with this error while using MAKE_DLL ? [message #50308 is a reply to message #50305] Tue, 26 September 2006 09:36 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
The C compiler is not in your search path, that's why cl .exe is not
found. Try using the same command line parameters for VC6. My guess is
they will work.




Hongkai wrote:
> I was trying to use the function MAKE_DLL to build a .dll file from .c
> file , but an error was encountered:
>
> 'cl' is not internal or external command, and is not .exe file or .bat
> file either.
> cl -D_DLL -DMSWIN -DWIN32 -D_MT /nologo /I"C:\RSI\IDL62
> \external\include" /c
> "C:\RSI\IDL62\external\call_external\C\incr_struct.c"
> /Fo"incr_struct_3856_MICROSOF-5C334C.obj"
>
>
> To solve this problem, I queried the value of the system variable
> !MAKE_DLL, the answer was as follows:
>
> !MAKE_DLL.COMPILER_NAME :
> 'Microsoft Visual C++ 7.0' :
>
> !MAKE_DLL.CC :
> 'cl %X -D_DLL -DMSWIN -DWIN32 -D_MT /nologo
> /I"C:\RSI\IDL62\external\include" /c %C /Fo%O'
>
> !MAKE_DLL.LD :
> 'link /out:%L /nologo /nodefaultlib /dll %O /def:%E
> "C:\RSI\IDL62\bin\bin.x86\idl32.lib" msvcrt.lib kernel32.lib %X'
>
> However, the c comlier installed in my windows xp system is Microsoft
> Visual C++ 6.0, and I guess I need to change the value of !MAKE_DLL.CC
> and !MAKE_DLL.LD, but how to do this ?
>
> Thanks!
[Message index]
 
Read Message
Read Message
Previous Topic: A new book
Next Topic: Dynamic format.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 13:05:20 PDT 2025

Total time taken to generate the page: 1.00872 seconds