What are the proper system environment settings for Microsoft Visual Studio 2005 compiler to work with release 12.0 or later?

Categories: Riverbed Modeler, Riverbed Modeler
Solution Number: S20335

Issue

What are the proper system environment settings for Microsoft Visual Studio 2005 compiler to work with release 12.0 or later?

Solution

As of 12.0 PL0,OPNET supports Microsoft Visual Studio 2005 (formerly Microsoft Visual Studio .NET 2005).

Note:Please refer to S20295 for .NET 2003 and S20292 for .NET 2002 settings.


Note that you must ensure your system environment is set up correctly. Here is the list of environment settings that should be added or set in the System Variables on your computer.
(Note: If the variable name already exists, make sure that the value associated for that variable exists. If not, you must add the below value to the variable. Consult your System Administrator or Microsoft technical support for assistance. This FAQ is provided as a courtesy only.)

NOTE: The following settings assume that Visual Studio 2005 has been installed using the default installation directory settings and that your SystemRoot variable is set to C:\WINNT. If these are not the settings you have, then you must adjust the following settings accordingly.

Path=
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;
C:\Program Files\Microsoft Visual Studio 8\VC\BIN;
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\bin;
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\bin;
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;
C:\WINNT\Microsoft.NET\Framework\v2.0.50727;
C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;

INCLUDE=
C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE;
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE;
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include;
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include;

LIB=
C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB;
C:\Program Files\Microsoft Visual Studio 8\VC\LIB;
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib;
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;

LIBPATH=
C:\WINNT\Microsoft.NET\Framework\v2.0.50727;
C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB;

NetSamplePath=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0;

DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;

FrameworkDir=C:\WINNT\Microsoft.NET\Framework;

FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0;

FrameworkVersion=v2.0.50727;

VCBUILD_DEFAULT_CFG=Debug^|Win32;

VCBUILD_DEFAULT_OPTIONS=/useenv;

VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC;

VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8;

To ensure that the .NET product is installed correctly, open a Command Prompt and type cl to invoke the compiler. Then type link to invoke the linker/binder. Confirm that each of these commands returns the correct information for the .NET installation.

=============
If using Visual Studio 2005 on WinXP or Windows 2003 Server and using release 14.0 or older, then you must follow this additional step:
=============
After configuring your environment as listed above, open Windows Explorer and copy files from your <opnet_dir>\sys\pc_intel_win32\bin\manifest to <opnet_dir>\sys\pc_intel_win32\bin.

If using Visual Studio 2005 on a 64-bit machine, you must copy the corresponding manifest files from <opnet_dir>\sys\pc_amd_win64\bin\manifest to <opnet_dir>\sys\pc_amd_win64\bin.

After this, you can start modeler and run simulations as usual.

Note: There is a contributed paper with detailed steps and screenshots to help you set up this environment easily.

To access:

  1. Go to https://splash.riverbed.com  (Register for an account if you haven't already done so)
  2. Navigate to Configuring OPNET 12.0 with .NET 2005 on Windows 64 XP Professional.

Environment

Modeler, OPNET Modeling and Simulation, OPNET Modeler

NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Last Modified: 2013-07-12
Can't find an answer? Create a case