OPNET 9.0 User Variables (Windows)
From ECE Information Technology Services
Jump to navigationJump to search
In order to be able compile modules in \OpNet enviroment on Windows platform it
is required to set variables. Below is a list of required variables to be set.
DevEnvDir=C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE FrameworkDir=C:\WINNT\Microsoft.NET\Framework FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio.NET\FrameworkSDK FrameworkVersion=v1.0.3705 INCLUDE=C:\Program Files\Microsoft Visual Studio .NET\VC7\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio .NET\VC7\INCLUDE;C:\Program Files\Microsoft Visual Studio .NET\VC7\PlatformSDK\include\prerelease;C:\Program Files\Microsoft Visual Studio .NET\VC7\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include; LIB=C:\Program Files\Microsoft Visual Studio .NET\VC7\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio .NET\VC7\LIB;C:\Program Files\Microsoft Visual Studio.NET\VC7\PlatformSDK\lib\prerelease;C:\Program Files\Microsoft Visual Studio .NET\VC7\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\lib; MSVCDir=C:\Program Files\Microsoft Visual Studio .NET\VC7 Path=C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE;C:\Program Files\Microsoft Visual Studio .NET\VC7\BIN;C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools;C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\bin\prerelease;C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\bin;C:\WINNT\Microsoft.NET\Framework\v1.0.3705; VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET VSCOMNTOOLS="C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\" VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE
You can download the code above as vs.bat. You cannot use this file to set variables and you have to add them manually through "Control Panel".
This information registered on \OpNet support site under FAQ 783.