Sei sulla pagina 1di 3

Step (1): start by installing VC++ 2008. Right click on the vcsetup-2008.exe and choose run as.

s. Uncheck the protect my computer and data . . .

Step (2): Set the proper system environment settings for Microsoft Visual Studio 2008 compiler to work with OPNET release 14.5 or later. Follow the FAQ ID: 2099 from OPNET as follows: The following settings assume that Visual Studio 2008 has been installed using the default installation directory settings and that your (32-bit) Windows directory is C:\WINDOWS. If these are not the settings you have, then you must adjust the following settings accordingly. Run the system properties as follows: o o o o Go to control panel Press and hold the shift-key and right click the system icon Click on run as and Uncheck the protect my computer and data . . . Go to advanced tab and click on environmental variables.

For the system variables click on new and start adding the following: (the Convention is <Variable name> = <Variable Value>)

DevEnvDir = C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE Framework35Version = v3.5 FrameworkDir = C:\WINDOWS\Microsoft.NET\Framework FrameworkVersion = v2.0.50727 INCLUDE= C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v6.0A\include; LIB= C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB;C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib; LIBPATH= C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WINDOWS\Microsoft.NE T\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB; PATH= C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WI NDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin; VCINSTALLDIR = C:\Program Files\Microsoft Visual Studio 9.0\VC

VS90COMNTOOLS = C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\ VSINSTALLDIR = C:\Program Files\Microsoft Visual Studio 9.0 WindowsSdkDir = C:\Program Files\Microsoft SDKs\Windows\v6.0A\ Step (3): restart your computer and Verify that VC++ 2008 is configured and that the paths are defined correctly o o go the command line (run -> cmd -> c: ) try the cl and link command they should work.

Step (4): install OPNET files o o o Right click on each setup file and choose run as. Uncheck the protect my computer and data . . . Install them in the following order 1. modeler_145A_PL0_7017_win.exe 2. models_145A_PL0_29Jan08_win.exe 3. odktools_145A_PL0_7017_win.exe 4. modeler_docs_28-Jan-2008_win.exe 5. odktools_docs_28-Jan-2008_win.exe

Potrebbero piacerti anche