Hello Qiang,
Could you try the latest code again and --vis option in
ns-3-dce-umip ?
-- Hajime
At Sun, 20 Jan 2013 12:02:03 +0900,
鹂 Š wrote:
>
> [1 <text/plain; UTF-8 (quoted-printable)>]
> Hi,
>
> 1) import the ns.visualizer module in
> "ns-3-dev/src/visualizer/visualizer/core.py", rebuilt the DEC.
>
> 2) update the wscript file in ns-3-dce-umip as follows
> From:
> ns3waf.check_modules(conf, ['topology-read', 'applications',
> 'visualizer'], mandatory = False)
> To:
> ns3waf.check_modules(conf, ['topology-read', 'applications',
> 'visualizer'], mandatory = True)
>
> From:
> module.add_example(needed = ['core', 'internet', 'dce',
> 'csma', 'mobility', 'wifi', 'dce-quagga', 'dce-umip'],
> target='bin/dce-umip-nemo', source=['example/dce-umip-**nemo.cc'])
>
> To:
> module.add_example(needed = ['core', 'internet', 'dce',
> 'csma', 'mobility', 'wifi', 'dce-quagga', 'dce-umip', 'visualizer'],
> target='bin/dce-umip-nemo', source=['example/dce-umip-**nemo.cc'])
>
>
>
> After ./waf clean and ./waf, I can got the 'dce-umip-nemo' in catalog
> "ns-3-dce-umip/build/bin" successfully,
>
> BUT ,
>
> ./build/bin/dce-umip-nemo --SimulatorImplementationType=**
> >> source=['example/dce-umip-**nemo.cc'])
> >>
> >> To:
> >> module.add_example(needed = ['core', 'internet', 'dce', 'csma',
> >> 'mobility', 'wifi', 'dce-quagga', 'dce-umip', 'visualizer'],
> >>
> >> target='bin/dce-umip-nemo',
> >>
> >> source=['example/dce-umip-**nemo.cc'])
> >>
> >>
> >>
> >>
> >>
> >> 3) after step 2) run the follow two commands
> >>
> >>
> >>
> >> ./waf clean
> >>
> >> ./waf
> >>
> >>
> >>
> >> after it, I can't find 'dce-umip-nemo' in catalog "ns-3-dce-umip/build/bin"
> >>
> >>
> >>
> >>
> >>
> >> BEG FOR YOUR HELP!!!
> >>
> >>
> >>
> >> Best regards!
> >>
> >> Li
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> 2013年1月4日金曜日 11時00分42秒 UTC+9 Hajime:
> >>
> >>>
> >>> Hi,
> >>>
> >>> please make it sure that the visualizer module in "ns-3-dev"
> >>> was built successfully.
> >>>
> >>> >1) build and install PyViz in ns-3-dev
> >>> >note that python binding needs to be built.
> >>> >
http://www.nsnam.org/wiki/**index.php/PyViz#ns_.3E.3D_3.10<
http://www.nsnam.org/wiki/index.php/PyViz#ns_.3E.3D_3.10>
> >>> > --with-pybindgen="/home/**renatomartins/repos/ns-3-**allinone/pybindgen"
> >>>
> >>> > % ./waf
> >>> > % ./waf install
> >>> >
> >>> > *2º Added module visualizer inside wscript*
> >>> >
> >>> > % cd ns-3-dce-umip/
> >>> >
> >>> > module.add_example(needed = ['core', 'internet', 'dce', 'csma',
> >>> 'mobility',
> >>> > 'wifi', 'dce-quagga', 'dce-umip', 'visualizer'],
> >>> > target='bin/dce-umip-nemo',
> >>> > source=['example/dce-umip-**nemo.cc'])
> >>> >
> >>> > *3º Build *
> >>> >
> >>> > % ./waf clean
> >>> > % ./waf
> >>> > % ./build/bin/dce-umip-nemo
> >>> > --SimulatorImplementationType=**ns3::VisualSimulatorImpl
> >>> >
> >>> > After that, the bash said the file doesn't exist.
> >>> >
> >>> > But if I remove the 'visualizer' module inside the wscript the file
> >>> already
> >>> > is created on the directory build/bin/dce-umip-nemo.
> >>> >
> >>> > What is the problem?
> >>> >
> >>> > Best Regards,
> >>> > Renato Martins
> >>> >
> >>> > --
> >>> > You received this message because you are subscribed to the Google
> >>> Groups "ns-3-users" group.
> >>> > To view this discussion on the web visit
https://groups.google.com/d/*
> >>> *msg/ns-3-users/-/lu8wy-BIeUMJ<
https://groups.google.com/d/msg/ns-3-users/-/lu8wy-BIeUMJ>.
> >>>
> >>> > To post to this group, send email to
ns-3-...@googlegroups.com.
> >>> > To unsubscribe from this group, send email to
> >>> ns-3-users+...@googlegroups.**com.
> >>> > For more options, visit this group at
http://groups.google.com/**
> >>> group/ns-3-users?hl=en <
http://groups.google.com/group/ns-3-users?hl=en>.
> --
> You received this message because you are subscribed to the Google Groups "ns-3-users" group.
> [2 <text/html; UTF-8 (quoted-printable)>]
>