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

Home » Public Forums » archive » How to deal with this error while using MAKE_DLL ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to deal with this error while using MAKE_DLL ? [message #50313] Tue, 26 September 2006 08:01
Hongkai is currently offline  Hongkai
Messages: 6
Registered: September 2006
Junior Member
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!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDLgrContour labels
Next Topic: A new book

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

Current Time: Wed Oct 08 18:41:18 PDT 2025

Total time taken to generate the page: 0.00446 seconds