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

Home » Public Forums » archive » Persistent environment variables (in DLM example)
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
Persistent environment variables (in DLM example) [message #85470] Mon, 12 August 2013 04:41 Go to next message
Ralf Gu is currently offline  Ralf Gu
Messages: 1
Registered: August 2013
Junior Member
Hello everybody,

I'm pretty new in cross platform developing using IDL and I have a problem which literally freaks my out, because it seems to be very very basic. Let me explain:

I want to run the DLM- testmodule which is provided as an example by Exelis and found under "...\Exelis\IDL82\external\dlm\build_testmodule.pro". When I call it from IDL, I always encounter an error which says that the command 'cl' is unknown. So I open the windows prompt (cmd.exe) and I set visual studio's environment variables navigating to "...\Microsoft Visual Studio 10.0\VC\bin\" and executing 'vcvars32.bat'. When I now run cl, the command is known and everything is fine. However, when I try to run the aforementioned pro-File again using IDL, the same error message appears again. This means that the environment variables are not set persistently at all! But why not and how to solve this problem? Does anybody got a clue how to approach this? I'd be very thankful for any hint.

Best regards
ralf
Re: Persistent environment variables (in DLM example) [message #85471 is a reply to message #85470] Mon, 12 August 2013 05:24 Go to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Monday, August 12, 2013 1:41:02 PM UTC+2, Ralf Gu wrote:

> I want to run the DLM- testmodule which is provided as an example by Exelis and found under "...\Exelis\IDL82\external\dlm\build_testmodule.pro". When I call it from IDL, I always encounter an error which says that the command 'cl' is unknown. So I open the windows prompt (cmd.exe) and I set visual studio's environment variables navigating to "...\Microsoft Visual Studio 10.0\VC\bin\" and executing 'vcvars32.bat'. When I now run cl, the command is known and everything is fine. However, when I try to run the aforementioned pro-File again using IDL, the same error message appears again. This means that the environment variables are not set persistently at all! But why not and how to solve this problem? Does anybody got a clue how to approach this? I'd be very thankful for any hint.

-control panel
-- system and security
--- system
---- advanced system settings
----- environment variables

regards,
Lajos
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problems with colorbar matching contour colors
Next Topic: Why Output Keywords Fail in cgWindow

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

Current Time: Wed Oct 08 15:57:50 PDT 2025

Total time taken to generate the page: 0.00462 seconds