{"action":"opened","issue":{"url":"https://api.github.com/repos/nyuwireless/ns3-mmwave/issues/7","repository_url":"https://api.github.com/repos/nyuwireless/ns3-mmwave","labels_url":"https://api.github.com/repos/nyuwireless/ns3-mmwave/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/nyuwireless/ns3-mmwave/issues/7/comments","events_url":"https://api.github.com/repos/nyuwireless/ns3-mmwave/issues/7/events","html_url":"https://github.com/nyuwireless/ns3-mmwave/issues/7","id":197925553,"number":7,"title":"NetAnim problem","user":{"login":"AleksandraLo","id":24816923,"avatar_url":"https://avatars.githubusercontent.com/u/24816923?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandraLo","html_url":"https://github.com/AleksandraLo","followers_url":"https://api.github.com/users/AleksandraLo/followers","following_url":"https://api.github.com/users/AleksandraLo/following{/other_user}","gists_url":"https://api.github.com/users/AleksandraLo/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandraLo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandraLo/subscriptions","organizations_url":"https://api.github.com/users/AleksandraLo/orgs","repos_url":"https://api.github.com/users/AleksandraLo/repos","events_url":"https://api.github.com/users/AleksandraLo/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandraLo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-28T22:30:32Z","updated_at":"2016-12-28T22:30:32Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to build an animation from mmwave-tdma.cc example.\r\nI've done all the mandatory steps from nsnam.org:\r\n\r\n0. Ensure that your wscript includes the \"netanim\" module. Example as in: src/netanim/examples/wscript. \r\n 1. Also include the header [#include \"ns3/netanim-module.h\"] in your test program\r\n 2. Add the statement \"AnimationInterface anim (\"animation.xml\");\" before Simulator::Run()\r\n\r\nbut I get this error:\r\n\r\n[aleksandra@localhost ns3-mmwave]$ sudo ./waf --run scratch/mmwave-tdma\r\nWaf: Entering directory `/home/aleksandra/Documents/ns3-mmwave/build'\r\n[ 930/2340] Compiling scratch/mmwave-tdma.cc\r\nIn file included from ./ns3/lte-spectrum-phy.h:42:0,\r\n                 from ./ns3/lte-phy.h:36,\r\n                 from ./ns3/lte-net-device.h:30,\r\n                 from ./ns3/lte-ue-net-device.h:25,\r\n                 from ./ns3/animation-interface.h:40,\r\n                 from ./ns3/netanim-module.h:10,\r\n                 from ../scratch/mmwave-tdma.cc:14:\r\n./ns3/lte-harq-phy.h:39:8: error: redefinition of ‘struct ns3::HarqProcessInfoElement_t’\r\n struct HarqProcessInfoElement_t\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~\r\nIn file included from ./ns3/mmwave-spectrum-phy.h:30:0,\r\n                 from ./ns3/mmwave-phy.h:22,\r\n                 from ./ns3/mmwave-net-device.h:18,\r\n                 from ./ns3/mmwave-ue-net-device.h:12,\r\n                 from ./ns3/mmwave-helper.h:14,\r\n                 from ../scratch/mmwave-tdma.cc:7:\r\n./ns3/mmwave-harq-phy.h:21:8: error: previous definition of ‘struct ns3::HarqProcessInfoElement_t’\r\n struct HarqProcessInfoElement_t\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nWaf: Leaving directory `/home/aleksandra/Documents/ns3-mmwave/build'\r\nBuild failed\r\n -> task in 'mmwave-tdma' failed (exit status 1): \r\n\t{task 139878128700752: cxx mmwave-tdma.cc -> mmwave-tdma.cc.1.o}\r\n['/bin/g++', '-Wall', '-pthread', '-pthread', '-I.', '-I..', '-I/usr/include/gtk-2.0', '-I/usr/lib64/gtk-2.0/include', '-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/pixman-1', '-I/usr/include/libdrm', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/libpng16', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib64/glib-2.0/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1', '../scratch/mmwave-tdma.cc', '-c', '-o', '/home/aleksandra/Documents/ns3-mmwave/build/scratch/mmwave-tdma.cc.1.o']\r\n\r\n\r\nI tried with mmwave-example.cc but I get the same error.\r\n\r\n\r\nPlease help :)\r\n"}}
{"actor":{"display_login":"AleksandraLo"}}