Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

3rdparty/README: English fixes; mention LD_LIBRARY_PATH

  • Loading branch information...
commit b343c15901f5a713262eba39558a86e9eb142179 1 parent cf4b901
@avarga avarga authored
Showing with 18 additions and 13 deletions.
  1. +18 −13 3rdparty/README
View
31 3rdparty/README
@@ -11,8 +11,8 @@ Supported software:
$ tar xvfj nsc-0.5.3.tar.bz2
- When you use it on a 64 bit system, you must use the 'patch_for_nsc-0.5.3-amd64.txt'.
- The NSC works with this patch on 32 bit system, too.
+ If you use it on a 64-bit system, you need 'patch_for_nsc-0.5.3-amd64.txt'.
+ NSC works with this patch on 32-bit systems, too.
$ cd nsc-0.5.3
$ patch -p 2 <../patch_for_nsc-0.5.3-amd64.txt
@@ -23,21 +23,26 @@ Supported software:
This should generate libfreebsd5.3.so, liblinux2.6.10.so, liblinux2.6.18.so,
liblinux2.6.26.so, liblwip.so, libopenbsd3.5.so in the nsc-0.5.2 directory.
- When you use it on a 64 bit system, the generated libraries are
- liblinux2.6.18.so and liblinux2.6.26.so only.
+ If you use NSC on a 64-bit system, only liblinux2.6.18.so and liblinux2.6.26.so
+ will be built.
+
+ You also need to add the location of the newly built libraries to
+ LD_LIBRARY_PATH so that the simulations will find it.
+
+ $ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path-to-inet/3rdparty/nsc-0.5.3/lib
To rebuild INET:
- - Start the IDE and open the INET project in the project explorer.
- - Right click on the INET project and choose Properties.
- - On the OMNeT++/Project Features page, enable the Tcp (NSC) feature.
- - Press Ok and rebuild INET.
+ - Start the IDE and open the INET project in Project Explorer.
+ - Right-click on the INET project and choose Properties.
+ - On the OMNeT++/Project Features page, enable the TCP (NSC) feature.
+ - Press OK and rebuild INET.
- NOTE: Building INET from the command line will not work because the default
- makefile will be created with the NSC feature turned off. If you want to build
- INET from command line, edit the Makefile in the root folder and change the
- command in the 'makemake' target: Replace the '-Xtransport/tcp_nsc' with
- '-DWITH_TCP_NSC' then:
+ NOTE: Building INET from the command line will not work, because in the default
+ Makefile the NSC feature is turned off. If you want to build INET from the
+ command line, edit the Makefile in the root folder and change the command
+ in the 'makemake' target: Replace the '-Xtransport/tcp_nsc' with
+ '-DWITH_TCP_NSC'. Then:
$ make cleanall
$ make makefiles
Please sign in to comment.
Something went wrong with that request. Please try again.