Ns-3.24-errata: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
./waf configure --enable-examples --enable-tests | ./waf configure --enable-examples --enable-tests | ||
instead type: | instead type (all in one line): | ||
CXXFLAGS="-Wall -Werror -Wno-potentially-evaluated-expression -Wno-unused-local-typedefs" ./waf configure --enable-examples --enable-tests | |||
'''Python bindings detection''': Users of ns-allinone-3.24 release posted on Sept. 15 will not be able to automatically detect pybindgen and use Python features including the Pyviz visualizer. This will be fixed in a ns-3.24 maintenance release. There are three workarounds (choose one of the below solutions): | '''Python bindings detection''': Users of ns-allinone-3.24 release posted on Sept. 15 will not be able to automatically detect pybindgen and use Python features including the Pyviz visualizer. This will be fixed in a ns-3.24 maintenance release. There are three workarounds (choose one of the below solutions): |
Revision as of 21:42, 21 September 2015
Main Page - Roadmap - Summer Projects - Project Ideas - Developer FAQ - Tools - Related Projects
HOWTOs - Installation - Troubleshooting - User FAQ - Samples - Models - Education - Contributed Code - Papers
Mac OS X: Shortly after the ns-3.24 release, Xcode 7.0 was released by Apple. This framework causes build problems for ns-3. Until the problem is fixed in a new release, users who encounter problems should apply the patches and workarounds in https://www.nsnam.org/bugzilla/show_bug.cgi?id=2181. This will be fixed in a ns-3.24 maintenance release.
A workaround is to pass modified CXXFLAGS to the waf configure step; i.e. instead of configuring as:
./waf configure --enable-examples --enable-tests
instead type (all in one line):
CXXFLAGS="-Wall -Werror -Wno-potentially-evaluated-expression -Wno-unused-local-typedefs" ./waf configure --enable-examples --enable-tests
Python bindings detection: Users of ns-allinone-3.24 release posted on Sept. 15 will not be able to automatically detect pybindgen and use Python features including the Pyviz visualizer. This will be fixed in a ns-3.24 maintenance release. There are three workarounds (choose one of the below solutions):
1. Instead of
./waf configure --enable-examples --enable-tests
tell Waf explicitly how to find pybindgen with the --with-pybindgen option; e.g.
./waf configure --enable-examples --enable-tests --with-pybindgen=../pybindgen-0.17.0.post41+ngd10fa60
2. create a symbolic link to pybindgen, or rename the directory to 'pybindgen'; e.g.
cd ns-allinone-3.24 ln -s pybindgen-0.17.0.post41+ngd10fa60 pybindgen
3. patch the ns-3.24 source code with this patch: http://code.nsnam.org/ns-3.24/rev/51263c7e64bb