Requirement
- Visual studio 2008
- OPNET 1.6 PL 4
Instuction
- Install visual studio 2008
- Insert system variable path
Framework35Version = v3.5 FrameworkDir = C:\WINDOWS\Microsoft.NET\Framework64 FrameworkVersion = v2.0.50727 INCLUDE = C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v6.0A\include; LIB = C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB\amd64;C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib\x64; LIBPATH = C:\WINDOWS\Microsoft.NET\Framework64\v3.5;C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB\amd64; Path = C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v3.5;C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\x64;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin; VCINSTALLDIR = C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC VS90COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\ VSINSTALLDIR = C:\Program Files (x86)\Microsoft Visual Studio 9.0 WindowsSdkDir = C:\Program Files\Microsoft SDKs\Windows\v6.0A\
for some device amd64 path is not exist. you have to delete those on LIB, LIBPATH and PATH. - To ensure that the MSVS 2008 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.
- Restart your computer.
- Install OPNET 1.6 PL4
- Start OPNET Modeler
- Set repository by go to edit menu select Preferences ( or use the shortcut Alt+Ctrl+P). Type repositories in the Find field and click Find bottom. Then make sure the value of "Network Simulation Repositories" is set to stdmod. If not click on the value column and press the Insert bottom. Enter stdmod and press Ok.
- If the Network Simulation Repositories is not set OPNET will give you an error like the following:
Object repository construction failed due to errors encountered by the binder program (bind_so_msvc) T (0), EV (-), MOD (NONE), PROC (sim_load_repos_rebuild)