> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Swalaxmi Pandit
> Sent: sexta-feira, 5 de Janeiro de 2007 22:05
> To: ns-users@ISI.EDU
> Subject: [ns] Doubt regarding running cc program and NAM
> 
> 
> Hi,
> 
> I am trying to run a sample TCL program(example.tcl) in ns2.
> The program is running smoothly but I am unable to see the output in nam
> and
> xgraph.
> For NAM,it is showing couldn't execute "nam": no such file or directory.
> For xgraph,it is showing couldn't execute "xgraph": no such file or
> directory.
> I have included the paths for both NAM and xgraph in bashrc file.

This is a path problem. In the meantime, put the absolute path to those
executables in the tcl script


> 
> 
> I have one more doubt.
> Can you just give me the procedure to link C++ program and TCL scripts and
> run them succesfully?
> 
add whichever C++ code to the makefile, and source whichever tcl code in the
/tcl/lib/ns-lib.tcl file  (or source it in your script at run-time)



> I want to run mac-802_11.cc program from mac folder in ns-2.30. and want
> to
> see the output. I am using fedora 5 and ns2.30.
> Will you just tell me the step by step procedure to simulate the output?
> 
> This is my university project. Please try to clarify the doubts.
> Thanks & Regards,
> Swalaxmi


Reply via email to