Wednesday, September 26, 2012

how to Install Opnet version 14.0

Introduction

Source

  • Files are in: \\storage1\cecn_admin\src\opnet\v14\wireless

Installation

  • Run Visual Studio 2005 first before installing.
  • Install Order
Install OPNET 14 (ignore the warning about the environment not being setup properly)
    1. modeler_140A_PL3_6313_win.exe -f license_server.properties
    2. models_140A_PL3_17Oct07_win.exe -i silent
    3. modeler_docs_140A_PL2_24-Sep-2007_win.exe -i silent

License

olio.coe.ad.mtu.edu port_a

Configuration

  • run opnetvariables.vbs ONCE to set all the opnet system environment variables needed to work with VS 2005
    • it must be run from cscrīpt
    • Cscrīpt //h:cscrīpt //nologo //s
  • copy files:
    • copy c:\program files\opnet\14.0.A\sys\pc_intel_win32\bin\manifest\* c:\program files\opnet\14.0.A\sys\pc_intel_win32\bin

OPNET FAQ

  • Question: What are the proper system environment settings for Microsoft's Visual Studio .NET 2005 compiler to work the 12.0 release of OPNET?
  • Answer: As of 12.0 PL0,OPNET supports Microsoft Visual Studio .NET (2005 version).
  • Note:Please refer to FAQ 1219 for .NET 2003 and FAQ 783 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 .NET (2005 version) 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.

My Computer-> advanced-> environment variable-> system environment variables
Variable 1: Path
Value:
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\SDK\v2.0\Bin;
C:\WINNT\Microsoft.NET\Framework\v2.0.50727;
C:\Program Files\Microsoft Visual Studio 8\VC\bin;
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;
C:\Program Files\Microsoft Visual Studio 8\VC\vcpackages;
Variable 2 : INCLUDE
Value:
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;
Variable 3: LIB
Value:
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;
Variable 4: LIBPATH
Value:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727;
C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB;
Variable 5: NetSamplePath
Value:  C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0;
Variable 6: DevEnvDir
Value:  C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;
Variable 7: FrameworkDir
Value:  C:\WINNT\Microsoft.NET\Framework;
Variable 8: FrameworkSDKDir
Value:  C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0;
Variable 9: FrameworkVersion
Value:  v2.0.50727;
variable 10: VCBUILD_DEFAULT_CFG
value:  Debug^|Win32;
Variable 11: VCBUILD_DEFAULT_OPTIONS
Value:  /useenv;
Variable 12: VCINSTALLDIR
Value:  C:\Program Files\Microsoft Visual Studio 8\VC;
Variable 13: VSINSTALLDIR
Value:  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.
opening
    'cmd' at Run, and trying the command-line compiler and linker with the commands 'cl' and 'link' respectively.  If the environment is configured correctly, you should NOT get a "Bad command or filename" and the commands should execute.
  • =============
  • If you are using .NET 2005 on WinXP, then you will need to follow this additional step:
  • =============
  • After you have configrued your environment as listed above, open Windows Explorer and copy files from your \sys\pc_intel_win32\bin\manifest to \sys\pc_intel_win32\bin.
  • If you are using .NET 2005 on a 64-bit machine, you will need to copy the corresponding manifest files from \sys\pc_amd_win64\bin\manifest to \sys\pc_amd_win64\bin.
  • After this, you can start modeler and run simulations as usual.

1 comment:

  1. I recommend these videos:

    Install OPNET 14.5 on Windows 7 with Visual Studio 2010
    http://www.youtube.com/watch?v=6CaV12xknug


    Install OPNET 14.5 on Windows 8 with Visual Studio 2012
    http://www.youtube.com/watch?v=XhN9kSZbHYg

    ReplyDelete