Home »
Public Forums »
archive »
Re: C/C++ integration with IDL
Re: C/C++ integration with IDL [message #55761] |
Fri, 07 September 2007 06:49  |
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
|
|
|
Current Time: Wed Oct 08 19:03:23 PDT 2025
Total time taken to generate the page: 0.00416 seconds