What are the proper system environment settings for Microsoft Visual Studio 2005 compiler for 64-bit OS?

Categories: Riverbed Modeler, Riverbed Modeler
Solution Number: S20334

Issue

What are the proper system environment settings for Microsoft Visual Studio 2005 compiler for 64-bit OS?

Solution

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

Note: Please refer to S20295 for .NET 2003 settings, and S20292 for .NET 2002 settings. Refer to S20335 if you need to setup Visual Studio for 32-bit environments.

---
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 values below 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:\WINDOWS. If these are not the settings you have, then you must adjust the following settings accordingly.

FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework64

FrameworkSDKDir=C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0 64bit

FrameworkVersion=v2.0.50727

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


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

LIBPATH=
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ATLMFC\LIB\amd64;

Path=
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\amd64;
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\bin\win64\amd64;
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\bin;
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\VCPackages;
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE;
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools;
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\bin;
C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\bin;

VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8\VC

VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\

VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8

To ensure that the Visual Studio 2005 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 installation and that the output indicates that the environment is setup for 64-bit.

=============
If using Visual Studio 2005 on WinXP or Windows 2003 Server with OPNET Modeler 14.5 PL1 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 As of 12.0 PL0, OPNET officially supports Microsoft Visual Studio 2005 (formerly Microsoft Visual Studio .NET 2005).

Note: Please refer to S20295 for .NET 2003 settings, and S20292 for .NET 2002 settings. Refer to S20335 if you need to setup Visual Studio for 32-bit environments.

---
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 values below 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:\WINDOWS. If these are not the settings you have, then you must adjust the following settings accordingly.

FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework64

FrameworkSDKDir=C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0 64bit

FrameworkVersion=v2.0.50727

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


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

LIBPATH=
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ATLMFC\LIB\amd64;

Path=
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\amd64;
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\bin\win64\amd64;
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\bin;
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\VCPackages;
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE;
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools;
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\bin;
C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\bin;

VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8\VC

VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\

VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8

To ensure that the Visual Studio 2005 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 installation and that the output indicates that the environment is setup for 64-bit.

=============
If using Visual Studio 2005 on WinXP or Windows 2003 Server with OPNET Modeler 14.5 PL1 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 www.splash.riverbed.com  (You will need to register for an account if you don't already have one)
  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