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

Home » Public Forums » archive » Re: C/C++ integration with IDL
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
Re: C/C++ integration with IDL [message #55761] Fri, 07 September 2007 06:49
incognito.me is currently offline  incognito.me
Messages: 16
Registered: August 2007
Junior Member
On 6 Sep., 18:23, Rick Towler <rick.tow...@nomail.noaa.gov> wrote:
> incognito.me wrote:
>> The "cl" statement ist not correct written or cannot be found
>
> Your compile environment is not set up correctly. MAKE_DLL can't find
> cl.exe which is the VC compiler executable. I thought that you could
> set these things via the MAKE_DLL procedure but a quick glance at the
> docs leads me to believe otherwise. You'll need to set up your windows
> environment such that IDL can find the compiler and linker. Visual
> Studio usually asks you during install if you want your environment vars
> set for command line use. If you don't enable this, you usually have to
> run vsvars32.bat to set up the environment to build from the command line.
>
> You'll most likely want to set your environment vars via the "advanced"
> tab on your system properties panel. Search the VC docs or the web for
> instructions on how to do this. I'm pretty sure there is a script or
> little app that will set this for you. Or you can do it the hard way
> and manually edit your system vars following the vsvars32.bat file.
>
> -Rick

I found on the web the following link:
http://www.ittvis.com/services/techtip.asp?ttid=3976&nl= r
I installed the Microsoft Visual C++ 2005 express Edition and I
decided
to set the environment vars by using the second way described.
But I'm still having trouble.I always have the following error message
despite the changes I made:
'cl.exe cannot be found.Cannot start the application because
mspdb80.dll
cannot be found.The reinstall of the application could solve the
problem'
Should I reinstall IDL?.....
By the way I found out what you meant with vsvars32.bat

Thanks
Re: C/C++ integration with IDL [message #55763 is a reply to message #55761] Fri, 07 September 2007 01:34 Go to previous message
incognito.me is currently offline  incognito.me
Messages: 16
Registered: August 2007
Junior Member
On 6 Sep., 18:23, Rick Towler <rick.tow...@nomail.noaa.gov> wrote:
> incognito.me wrote:
>> The "cl" statement ist not correct written or cannot be found
>
> Your compile environment is not set up correctly. MAKE_DLL can't find
> cl.exe which is the VC compiler executable. I thought that you could
> set these things via the MAKE_DLL procedure but a quick glance at the
> docs leads me to believe otherwise. You'll need to set up your windows
> environment such that IDL can find the compiler and linker. Visual
> Studio usually asks you during install if you want your environment vars
> set for command line use. If you don't enable this, you usually have to
> run vsvars32.bat to set up the environment to build from the command line.
>
> You'll most likely want to set your environment vars via the "advanced"
> tab on your system properties panel. Search the VC docs or the web for
> instructions on how to do this. I'm pretty sure there is a script or
> little app that will set this for you. Or you can do it the hard way
> and manually edit your system vars following the vsvars32.bat file.
>
> -Rick

Hi Rick,
I'm quite confused.... Isn't it possible to call a C source file from
IDL just as made in
The documentation of IDL (online help of MAKE_DLL) inspite of using
the call_external fonction?
Is there a so huge difference?
> Visual Studio usually asks you during install if you want your environment vars
> set for command line use.

During the install of Visual Studio I can't remember of beeing asked
this...

> Or you can do it the hard way and manually edit your system vars following the vsvars32.bat file.
I should confess I don't unterstand what you mean with vsvars32.bat
file......

Do I have to reinstall the Visual C++ in the same subdirectory as IDL
in order
To get the things right?

Thanks
C.
Re: C/C++ integration with IDL [message #55777 is a reply to message #55763] Thu, 06 September 2007 09:23 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
incognito.me wrote:


> The "cl" statement ist not correct written or cannot be found

Your compile environment is not set up correctly. MAKE_DLL can't find
cl.exe which is the VC compiler executable. I thought that you could
set these things via the MAKE_DLL procedure but a quick glance at the
docs leads me to believe otherwise. You'll need to set up your windows
environment such that IDL can find the compiler and linker. Visual
Studio usually asks you during install if you want your environment vars
set for command line use. If you don't enable this, you usually have to
run vsvars32.bat to set up the environment to build from the command line.

You'll most likely want to set your environment vars via the "advanced"
tab on your system properties panel. Search the VC docs or the web for
instructions on how to do this. I'm pretty sure there is a script or
little app that will set this for you. Or you can do it the hard way
and manually edit your system vars following the vsvars32.bat file.

-Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Image overlapping
Next Topic: Canceling or clearing TIMER events

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

Current Time: Wed Oct 08 18:39:23 PDT 2025

Total time taken to generate the page: 0.00390 seconds