Note that the same program runs without errors when I remove all the references to netanim-module.
--To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/i_IMYV3hR8IJ.
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
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.
assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::WimaxNetDevice not found", file=../src/core/model/type-id.cc, line=388
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/UcDoDTas9XcJ.
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x77e4f8c1 in ntdll!RtlUpdateClonedSRWLock () from /cygdrive/c/Windows/system32/ntdll.dll
#2 0x77530816 in WaitForSingleObjectEx () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
#3 0x00000110 in ?? ()
#4 0x75a61194 in KERNEL32!GetPrivateProfileStructA () from /cygdrive/c/Windows/syswow64/kernel32.dll
#5 0x00000110 in ?? ()
#6 0x75a61148 in KERNEL32!GetPrivateProfileStructA () from /cygdrive/c/Windows/syswow64/kernel32.dll
#7 0x00000110 in ?? ()
#8 0x610dc559 in sig_send(_pinfo*, siginfo_t&, _cygtls*) () from /usr/bin/cygwin1.dll
#9 0x610d9913 in _pinfo::kill(siginfo_t&) () from /usr/bin/cygwin1.dll
#10 0x610d9dee in kill0(int, siginfo_t&) () from /usr/bin/cygwin1.dll
#11 0x610d9f40 in kill () from /usr/bin/cygwin1.dll
#12 0x610d9f6c in raise () from /usr/bin/cygwin1.dll
#13 0x610da233 in abort () from /usr/bin/cygwin1.dll
#14 0x5abce945 in cygstdc++-6!_ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/bin/cygstdc++-6.dll
#15 0x5abc8e49 in cygstdc++-6!_ZN10__cxxabiv111__terminateEPFvvE () from /usr/bin/cygstdc++-6.dll
#16 0x5ac1df53 in cygstdc++-6!_ZSt9terminatev () from /usr/bin/cygstdc++-6.dll
#17 0x6fc4f4b7 in _fu123___ZSt4cerr () at ../src/core/model/type-id.cc:388
#18 0x6fc722bd in _fu786___ZSt4clog () at ../src/core/model/config.cc:365
#19 0x6fc737ac in _fu239___ZSt4cerr () at ../src/core/model/config.cc:456
#20 0x6fc72dce in _fu810___ZSt4clog () at ../src/core/model/config.cc:419
#21 0x6fc737ac in _fu239___ZSt4cerr () at ../src/core/model/config.cc:456
#22 0x6fc72dce in _fu810___ZSt4clog () at ../src/core/model/config.cc:419
#23 0x6fc7167d in ns3::Resolver::Resolve (this=0x289ff8, root=...) at ../src/core/model/config.cc:266
#24 0x6fc746fa in _fu837___ZSt4clog () at ../src/core/model/config.cc:555
#25 0x6fc74159 in ns3::ConfigImpl::Connect (this=0x6fcb5180, path=..., cb=...) at ../src/core/model/config.cc:524
#26 0x6fc75014 in ns3::Config::Connect (path=..., cb=...) at ../src/core/model/config.cc:680
#27 0x68b8551a in ns3::AnimationInterface::ConnectCallbacks (this=0x28a5f8) at ../src/netanim/model/animation-interface.cc:574
#28 0x68b84077 in _fu184___ZSt4clog () at ../src/netanim/model/animation-interface.cc:488
#29 0x68b81285 in ns3::AnimationInterface::AnimationInterface (this=0x28a5f8, fn=..., maxPktsPerFile=100000, usingXML=true)
at ../src/netanim/model/animation-interface.cc:74
#30 0x0040214c in main (argc=1, argv=0x28ac10) at ../src/netanim/examples/dumbbell-animation.cc:96
../scratch/second.v2.cc: In function ‘int main(int, char**)’:
../scratch/second.v2.cc:48:18: error: cannot declare variable ‘w’ to be of abstract type ‘ns3::WimaxNetDevice’
./ns3/wimax-net-device.h:70:1: note: because the following virtual functions are pure within ‘ns3::WimaxNetDevice’:
./ns3/wimax-net-device.h:178:16: note: virtual void ns3::WimaxNetDevice::Start()
./ns3/wimax-net-device.h:179:16: note: virtual void ns3::WimaxNetDevice::Stop()
./ns3/wimax-net-device.h:185:16: note: virtual bool ns3::WimaxNetDevice::Enqueue(ns3::Ptr<ns3::Packet>, const ns3::MacHeaderType&, ns3::Ptr<ns3::WimaxConnection>)
./ns3/wimax-net-device.h:241:16: note: virtual bool ns3::WimaxNetDevice::DoSend(ns3::Ptr<ns3::Packet>, const ns3::Mac48Address&, const ns3::Mac48Address&, uint16_t)
./ns3/wimax-net-device.h:245:16: note: virtual void ns3::WimaxNetDevice::DoReceive(ns3::Ptr<ns3::Packet>)
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/7YutK6tsFfgJ.
assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::CsmaNetDevice not found", file=../src/core/model/type-id.cc, line=388
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/xI0ShphCa-8J.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/xI0ShphCa-8J.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/FBnPrUzE2ggJ.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/j3eg1cFx8Qo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.