can't get qmake to creat NetAnim executable

994 views
Skip to first unread message

Bennie Blunt Jr

unread,
Mar 22, 2013, 2:47:26 PM3/22/13
to ns-3-...@googlegroups.com


Hello
I am running ns-3.15 and trying to install netanim-3.101.  I am unable to get qmake to create the NetAnim fiel to run net animator.
I am getting an error for a missing mobility header file

Here is the errot I am getting:
bennie@bennie-VirtualBox:~/repos/ns-allinone-3.15/netanim-3.101$ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -o mobilitymanager.o animator/mobilitymanager.cpp
In file included from animator/mobilitymanager.cpp:20:0:
animator/mobilitymanager.h:28:18: fatal error: QPoint: No such file or directory
compilation terminated.
make: *** [mobilitymanager.o] Error 1

Please advise



Bennie

John Abraham

unread,
Mar 22, 2013, 6:32:54 PM3/22/13
to ns-3-...@googlegroups.com
Is this Ubuntu?
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Bennie Blunt Jr

unread,
Mar 22, 2013, 8:10:21 PM3/22/13
to ns-3-...@googlegroups.com

Yes it is 12.04 64 bit

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/8zAggDjE2Ho/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.

John Abraham

unread,
Mar 22, 2013, 9:14:24 PM3/22/13
to ns-3-...@googlegroups.com, ns-3-...@googlegroups.com
Did you try
  1. apt-get install mercurial
  2. apt-get install qt4-dev-tools


Sent from my iPhone

Bennie Blunt Jr

unread,
Mar 23, 2013, 12:39:10 PM3/23/13
to ns-3-...@googlegroups.com
John I did try this and also went back through the install prerequisites.

John Abraham

unread,
Mar 23, 2013, 12:43:41 PM3/23/13
to ns-3-...@googlegroups.com
something different about your qt4 installation then.
you can open "NetAnim.pro" using Qt Creator and build it from there by
clicking Build (provided Qt creator can detect your Qt4 installation)

you can install Qt creator via sudo apt-get install qtcreator.

Bennie Blunt Jr

unread,
Mar 23, 2013, 2:05:57 PM3/23/13
to ns-3-...@googlegroups.com

Thanks I will give that a try.

Manish R

unread,
Mar 25, 2013, 2:35:07 PM3/25/13
to ns-3-...@googlegroups.com
@JohnAbraham: QtCreator did the trick! thanks

Bennie Blunt Jr

unread,
Mar 25, 2013, 9:23:00 PM3/25/13
to ns-3-...@googlegroups.com

John
Your solution did work.  Thanks

sarath tv

unread,
Mar 6, 2014, 11:23:38 AM3/6/14
to ns-3-...@googlegroups.com
THANKS ALL..HAD THE SAME PROBLEM...GOT IT FIXED THANKS 2 UR POSTS..D

Mitratithi Dey

unread,
Dec 9, 2018, 12:33:47 PM12/9/18
to ns-3-users
whenever I am trying to install netAnim, I got following error. please help me out.

QWidget: no such file or directory

XY ye

unread,
Jul 18, 2022, 11:14:27 AM7/18/22
to ns-3-users
Hello, I am running ns-3.36 and using netanim-3.108 in ubuntu .I am building in CodeBlocks.  When I do a re-build of the whole project,I got following error. I am getting an error for a missing header file . Please help me to solve it, thanks.
e89b16dd521112c54cb3ffa846aaef0.jpg

Gabriel Ferreira

unread,
Jul 18, 2022, 11:18:15 AM7/18/22
to ns-3-users
Did you install Qt4 or Qt5? They should work. 

叶晓英

unread,
Jul 18, 2022, 12:18:22 PM7/18/22
to ns-3-users
ok,I'll try it. Is there a difference between installing QT4 or  QT5 ?


------------------ 原始邮件 ------------------
发件人: "ns-3-users" <gabriel...@gmail.com>;
发送时间: 2022年7月18日(星期一) 晚上11:18
收件人: "ns-3-users"<ns-3-...@googlegroups.com>;
主题: Re: can't get qmake to creat NetAnim executable

Did you install Qt4 or Qt5? They should work.

On Monday, July 18, 2022 at 12:14:27 PM UTC-3 yexiaoy...@qq.com wrote:
Hello, I am running ns-3.36 and using netanim-3.108 in ubuntu .I am building in CodeBlocks.  When I do a re-build of the whole project,I got following error. I am getting an error for a missing header file . Please help me to solve it, thanks.

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.

To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.

Gabriel Ferreira

unread,
Jul 18, 2022, 1:08:33 PM7/18/22
to ns-3-users
For users, I think there is no difference between Qt4 and Qt5. Pick whatever is supported by your platform. Qt6 isn't compatible.
Reply all
Reply to author
Forward
0 new messages