Naval Gandhi
unread,Feb 25, 2011, 12:19:25 AM2/25/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
g++ -c -pipe -Wall -W -g -I/usr/lib/qt-3.3/mkspecs/default -I. -I/
usr/lib/qt-3.3/include -o NetAnim.o NetAnim.cc
NetAnim.cc:12:24: error: QApplication: No such file or directory
NetAnim.cc:13:23: error: QMainWindow: No such file or directory
NetAnim.cc:14:23: error: QScrollArea: No such file or directory
NetAnim.cc:15:24: error: QResizeEvent: No such file or directory
In file included from NetAnim.cc:17:
NetView.h:9:19: error: QWidget: No such file or directory
In file included from NetView.h:18,
from NetAnim.cc:17:
NetModel.h:10:18: error: QRectF: No such file or directory
In file included from NetView.h:18,
from NetAnim.cc:17:
NetModel.h:33: error: ‘QPointF’ does not name a type
NetModel.h:78: error: ‘QRectF’ does not name a type
NetModel.h:79: error: ‘QRectF’ has not been declared
NetModel.h:105: error: ‘QPointF’ does not name a type
NetModel.h:106: error: ‘QPointF’ does not name a type
In file included from NetAnim.cc:17:
NetView.h:26: error: expected class-name before ‘{’ token
NetView.h:27: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no
type
NetView.h:28: error: expected ‘;’ before ‘public’
NetView.h:42: error: ‘QPointF’ does not name a type
NetView.h:48: error: ISO C++ forbids declaration of ‘QPixmap’ with no
type
NetView.h:48: error: expected ‘;’ before ‘*’ token
NetView.h:51: error: ISO C++ forbids declaration of ‘QWidget’ with no
type
NetView.h:51: error: expected ‘;’ before ‘*’ token
NetView.h:63: error: ‘QRectF’ does not name a type
NetView.h:73: error: expected ‘;’ before ‘(’ token
NetView.h:74: error: expected ‘:’ before ‘slots’
NetView.h:75: error: expected primary-expression before ‘void’
NetView.h:75: error: ISO C++ forbids declaration of ‘slots’ with no
type
NetView.h:75: error: expected ‘;’ before ‘void’
NetAnim.cc: In function ‘int main(int, char**)’:
NetAnim.cc:25: error: ‘QApplication’ was not declared in this scope
NetAnim.cc:25: error: expected ‘;’ before ‘a’
NetAnim.cc:26: error: ‘Create’ is not a member of ‘NetView’
NetAnim.cc:26: error: ‘a’ was not declared in this scope
NetView.h:33: error: ‘NetModel* NetView::GetNetModel()’ is private
NetAnim.cc:27: error: within this context
NetView.h:32: error: ‘void NetView::SetViewSize(int, int)’ is private
NetAnim.cc:29: error: within this context
NetView.h:30: error: ‘void NetView::SetUpdateInterval(Time_t, bool)’
is private
NetAnim.cc:30: error: within this context
NetAnim.cc:52: error: ‘memcpy’ was not declared in this scope
NetAnim.cc:120: error: ‘lastWindowClosed’ was not declared in this
scope
NetAnim.cc:120: error: ‘SIGNAL’ was not declared in this scope
NetAnim.cc:120: error: ‘quit’ was not declared in this scope
NetAnim.cc:120: error: ‘SLOT’ was not declared in this scope
NetView.h:31: error: ‘void NetView::StartAnimation(bool)’ is private
NetAnim.cc:121: error: within this context
make: *** [NetAnim.o] Error 1