Difference between revisions of "Ns-3 on Visual Studio 2012"
From Nsnam
m |
m |
||
Line 8: | Line 8: | ||
Open the solution file "ns-3-win2/windows/ns-3-dev/ns-3-dev.sln" using Visual Studio 2012. | Open the solution file "ns-3-win2/windows/ns-3-dev/ns-3-dev.sln" using Visual Studio 2012. | ||
After all the projects are loaded do the following: | After all the projects are loaded do the following: | ||
− | + | * From the menu click "Build" --> "Build Solution" | |
− | + | If all goes we should see a build log similar to the below | |
+ | <pre> | ||
+ | 1> main.vcxproj -> C:\ws\test\ns-3-win2\windows\ns-3-dev\Debug\main.exe | ||
+ | ========== Build: 1 succeeded, 0 failed, 34 up-to-date, 0 skipped ========== | ||
+ | </pre> | ||
== Running the main program == | == Running the main program == |
Revision as of 00:20, 20 September 2013
Contents
How to download
The ns-3 package is available for download using mercurial using the command below
hg clone http://code.nsnam.org/jabraham3/ns-3-win2
How to build
Open the solution file "ns-3-win2/windows/ns-3-dev/ns-3-dev.sln" using Visual Studio 2012. After all the projects are loaded do the following:
- From the menu click "Build" --> "Build Solution"
If all goes we should see a build log similar to the below
1> main.vcxproj -> C:\ws\test\ns-3-win2\windows\ns-3-dev\Debug\main.exe ========== Build: 1 succeeded, 0 failed, 34 up-to-date, 0 skipped ==========