hi konstantinos. thanks for replying.
actually nanosim is a pre-prepared module and i followed its author orders to add it.
before adding this module i was able to run my scripts in any directory like examples/tururials or src folder etc...by determining their addresses in terminal.
but now i just can run scripts that are in scratch folder , not even in a subfolder of scratch .
for example now i cant run the hello-simulator script . because its not in scratch folder. here is the error :
nasrin@ubuntu:~/ns-allinone-3.19/ns-3.19$ ./waf --run hello-simulator
Waf: Entering directory `/home/nasrin/ns-allinone-3.19/ns-3.19/build'
wscript:60: Warning: (in nanonetworks) Requested to build modular python bindings, but apidefs dir not found => skipped the bindings.
wutils.VNUM = None
program 'hello-simulator' not found; available programs are: ['myfirst', 'scratch/myfirst', 'subdir', 'scratch/subdir/subdir', 'scratch-simulator', 'scratch/scratch-simulator', 'examples', 'scratch/examples/examples', 'test-runner', 'utils/test-runner', 'bench-simulator', 'utils/bench-simulator', 'bench-packets', 'utils/bench-packets', 'print-introspected-doxygen', 'utils/print-introspected-doxygen', 'emu-sock-creator', 'src/emu/emu-sock-creator', 'tap-device-creator', 'src/fd-net-device/tap-device-creator', 'raw-sock-creator', 'src/fd-net-device/raw-sock-creator', 'tap-creator', 'src/tap-bridge/tap-creator']
yup ns3.19 is too old but i have to use it, because it supports nanosim and newer versions dont !and yes i enabaled examples and tests ...i installed dependencies (from nanam) at first ,and after that :./waf configure --enable examples --enable-tests./wafand those finished successfully.in the next step in order to adding nanosim i tried to run those comments again but the./waf part made an error:AttributeError: 'BuildContext' object has no attribute 'add_subdirs'
so i just ran :./waf configure./wafit finished successfully too.and now i have that problem i mentioned before... cant run scripts out of scratch folder ...and python bindindg warning.
after those steps i thought i installd anything including python binding..did i? did i configure ns3 in a right way?and do i still need to install python binding ?im new with ns3 :)
thanks again, best regards.