problem installing NetAnim

131 views
Skip to first unread message

Pedro Saraiva

unread,
Apr 2, 2014, 1:55:13 PM4/2/14
to ns-3-...@googlegroups.com
Hi, after the "make" command I get the following:


pedro@ubuntu:~/workspace/netanim$ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-64 -I. -I/usr/include/qt5 -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -o mobilitymanager.o animator/mobilitymanager.cpp
In file included from ./debug/xdebug.h:22:0,
                 from animator/mobilitymanager.cpp:21:
./animator/animpacket.h:23:35: fatal error: QtGui/QGraphicsRectItem: No such file or directory
 #include <QtGui/QGraphicsRectItem>
                                   ^
compilation terminated.
make: *** [mobilitymanager.o] Error 1


I followed the http://www.nsnam.org/wiki/NetAnim_3.104 tutorial for ubuntu, so i have already tried      

apt-get install mercurial
apt-get install qt4-dev-tools 

any help?

Thanks!

John Abraham

unread,
Apr 2, 2014, 2:31:26 PM4/2/14
to ns-3-...@googlegroups.com
you could try
1. apt-get install libqt4-dev

if that does not work, you might have to install qtcreator and open "NetAnim.pro" from it and build it.


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Garima Singh

unread,
Nov 17, 2016, 12:48:32 AM11/17/16
to ns-3-users
uninstall qt5-default from synaptic and install qt4-default it may work
Reply all
Reply to author
Forward
0 new messages