Hello everyone,
HELP !!!!
This is my first time using Ns3 and i'm kind of struggling to execute first.py i wrote this command :
./ns3 run scratch/first.py
and the message is :
[0/2] Re-checking globbed directories...
ninja: no work to do.
[runStaticInitializersOnce]: Failed to materialize symbols: { (main, { _ZN3ns3L16g_TimeStaticInitE, _GLOBAL__sub_I_cling_module_138, __orc_init_func.cling-module-138, __cxx_global_var_initcling_module_138_, $.cling-module-138.__inits.0 }) }
[runStaticInitializersOnce]: Failed to materialize symbols: { (main, { __orc_init_func.cling-module-138 }) }
[runStaticInitializersOnce]: Failed to materialize symbols: { (main, { _ZGVZN3ns34Time14PeekResolutionEvE10resolution, _ZN3ns34TimeD1Ev, $.cling-module-158.__inits.0, __orc_init_func.cling-module-158, __cxx_global_var_initcling_module_158_, _ZZN3ns34Time14PeekResolutionEvE10resolution, _ZN3ns3L27UE_MEASUREMENT_REPORT_DELAYE, _GLOBAL__sub_I_cling_module_158 }) }
[runStaticInitializersOnce]: Failed to materialize symbols: { (main, { __orc_init_func.cling-module-158 }) }
cling JIT session error: Failed to materialize symbols: { (main, { _ZGVZN3ns34Time14PeekResolutionEvE10resolution }) }
cling JIT session error: Failed to materialize symbols: { (main, { _ZN3ns34Time4FromERKNS_10int64x64_tENS0_4UnitE }) }
Traceback (most recent call last):
File "/home/hxlb3422/workspace/ns-allinone-3.38/ns-3.38/scratch/first.py", line 49, in <module>
serverApps.Start(ns.core.Seconds(1.0))
TypeError: none of the 2 overloaded methods succeeded. Full details:
ns3::Time ns3::Seconds(ns3::int64x64_t value) =>
TypeError: could not convert argument 1
ns3::Time ns3::Seconds(double value) =>
ValueError: nullptr result where temporary expected
Command 'python3 scratch/first.py' returned non-zero exit status 1.
I didn't understand the error...if someone can help me solve this error or guide me to understand it or what I should do to solve it !
My seconde remarque when i execute:
./ns3 run scratch/first
I have this message [0/2] Re-checking globbed directories...
ninja: no work to do.
At time +2s client sent 1024 bytes to 10.1.1.2 port 9
At time +2.00369s server received 1024 bytes from 10.1.1.1 port 49153
At time +2.00369s server sent 1024 bytes to 10.1.1.1 port 49153
At time +2.00737s client received 1024 bytes from 10.1.1.2 port 9
why it is mentioned in ninja no work to do
I'm really struggling to understand where is the problem
If you can help me please !
best regards