当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 编译qsopcast时出错
帖子发表于 : 2008-12-12 16:26 

注册: 2008-01-07 14:14
帖子: 76
送出感谢: 0 次
接收感谢: 0 次
$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.moc -I. -o .obj/channel.o channel.cpp
In file included from channel.cpp:21:
header.h:6:19: error: qvbox.h: 没有那个文件或目录
header.h:7:19: error: qhbox.h: 没有那个文件或目录
header.h:13:19: error: qhttp.h: 没有那个文件或目录
header.h:22:21: error: qsocket.h: 没有那个文件或目录
header.h:26:18: error: qdom.h: 没有那个文件或目录
header.h:28:23: error: qptrlist.h: 没有那个文件或目录
In file included from channel.cpp:22:
channel.h:17: error: ‘WFlags’ has not been declared
channel.h:24: error: ISO C++ forbids declaration of ‘QValueList’ with no type
channel.h:24: error: expected ‘;’ before ‘<’ token
channel.h:39: error: ‘QListViewItem’ has not been declared
channel.h:40: error: ‘QListViewItem’ has not been declared
channel.h:41: error: ‘QListViewItem’ has not been declared
In file included from channel.cpp:23:
mainwindow.h:20: error: expected class-name before ‘{’ token
In file included from channel.cpp:24:
mylistitem.h:7: error: expected class-name before ‘{’ token
mylistitem.h:14: error: expected `)' before ‘*’ token
mylistitem.h:19: error: ‘QListViewItem’ has not been declared
mylistitem.h:25: error: expected `)' before ‘*’ token
mylistitem.h:38: error: expected ‘,’ or ‘...’ before ‘&’ token
mylistitem.h:39: error: ISO C++ forbids declaration of ‘QColorGroup’ with no type
mylistitem.h:56: error: ‘QListViewItem’ has not been declared
mylistitem.h: In constructor ‘MyListItem::MyListItem(QListView*)’:
mylistitem.h:9: error: class ‘MyListItem’ does not have any field named ‘QListViewItem’
mylistitem.h: In constructor ‘MyListItem::MyListItem(QListView*, int*)’:
mylistitem.h:19: error: class ‘MyListItem’ does not have any field named ‘QListViewItem’
mylistitem.h: In member function ‘void MyListItem::paintCell(QPainter*, int)’:
mylistitem.h:40: error: expected `;' before ‘_cg’
mylistitem.h:40: warning: statement has no effect
mylistitem.h:42: error: ‘_cg’ was not declared in this scope
mylistitem.h:42: error: ‘QColorGroup’ is not a class or namespace
mylistitem.h:43: error: ‘QColorGroup’ is not a class or namespace
mylistitem.h:45: error: ‘QListViewItem’ has not been declared
mylistitem.h:45: error: ‘column’ was not declared in this scope
mylistitem.h:45: error: ‘width’ was not declared in this scope
mylistitem.h:45: error: ‘alignment’ was not declared in this scope
mylistitem.h: In member function ‘int MyListItem::compare(int*, int, bool) const’:
mylistitem.h:64: error: ‘text’ was not declared in this scope
mylistitem.h:64: error: request for member ‘text’ in ‘* i’, which is of non-class type ‘int’
mylistitem.h:65: error: ‘QListViewItem’ has not been declared
In file included from pageplay.h:6,
from channel.cpp:28:
./myhbox.h: At global scope:
./myhbox.h:9: error: expected class-name before ‘{’ token
./myhbox.h: In constructor ‘MyHBox::MyHBox(QWidget*, const char*)’:
./myhbox.h:12: error: class ‘MyHBox’ does not have any field named ‘QHBox’
In file included from channel.cpp:30:
tabwidget.h: At global scope:
tabwidget.h:17: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
tabwidget.h:17: error: expected ‘;’ before ‘<’ token
channel.cpp:35: error: ‘WFlags’ has not been declared
channel.cpp: In constructor ‘Channel::Channel(QWidget*, const char*, int)’:
channel.cpp:37: error: invalid static_cast from type ‘QWidget*’ to type ‘MainWindow*’
channel.cpp:37: error: no matching function for call to ‘QListView::QListView(QWidget*&, const char*&, int&)’
/usr/include/qt4/QtGui/qlistview.h:190: note: candidates are: QListView::QListView(const QListView&)
/usr/include/qt4/QtGui/qlistview.h:137: note: QListView::QListView(QListViewPrivate&, QWidget*)
/usr/include/qt4/QtGui/qlistview.h:78: note: QListView::QListView(QWidget*)
channel.cpp:40: error: ‘addColumn’ was not declared in this scope
channel.cpp:51: error: ‘setRootIsDecorated’ was not declared in this scope
channel.cpp:70: error: ‘IO_ReadWrite’ was not declared in this scope
channel.cpp:76: error: ‘class QProcess’ has no member named ‘setCommunication’
channel.cpp:76: error: ‘Stdout’ is not a member of ‘QProcess’
channel.cpp: At global scope:
channel.cpp:93: error: prototype for ‘void Channel::onListItemClicked(QListViewItem*)’ does not match any in class ‘Channel’
channel.h:39: error: candidate is: void Channel::onListItemClicked(int*)
channel.cpp: In member function ‘void Channel::onButtonChannelToggled(bool)’:
channel.cpp:113: error: ‘class QProcess’ has no member named ‘clearArguments’
channel.cpp:114: error: ‘class QProcess’ has no member named ‘addArgument’
channel.cpp:115: error: ‘class QProcess’ has no member named ‘addArgument’
channel.cpp:116: error: ‘class QProcess’ has no member named ‘addArgument’
channel.cpp:117: error: ‘class QProcess’ has no member named ‘addArgument’
channel.cpp:118: error: no matching function for call to ‘QProcess::start()’
/usr/include/qt4/QtCore/qprocess.h:96: note: candidates are: void QProcess::start(const QString&, const QStringList&, QFlags<QIODevice::OpenModeFlag>)
/usr/include/qt4/QtCore/qprocess.h:97: note: void QProcess::start(const QString&, QFlags<QIODevice::OpenModeFlag>)
channel.cpp:123: error: ‘class QProcess’ has no member named ‘arguments’
channel.cpp:124: error: ‘class QProcess’ has no member named ‘processIdentifier’
channel.cpp:125: error: ‘class QProcess’ has no member named ‘processIdentifier’
channel.cpp:127: error: ‘class QToolButton’ has no member named ‘setPaletteForegroundColor’
channel.cpp: In member function ‘void Channel::wgetStdout()’:
channel.cpp:135: error: ‘class QBuffer’ has no member named ‘writeBlock’
channel.cpp:135: error: ‘class QProcess’ has no member named ‘readStdout’
channel.cpp:136: error: ‘class QBuffer’ has no member named ‘at’
channel.cpp:142: error: ‘class QToolButton’ has no member named ‘setPaletteForegroundColor’
channel.cpp: In member function ‘void Channel::onWgetExit()’:
channel.cpp:151: error: ‘class QToolButton’ has no member named ‘setOn’
channel.cpp:159: error: ‘QDomDocument’ was not declared in this scope
channel.cpp:159: error: expected `;' before ‘doc’
channel.cpp:160: error: ‘doc’ was not declared in this scope
channel.cpp:167: error: ‘clear’ was not declared in this scope
channel.cpp:179: error: ‘QDomNode’ was not declared in this scope
channel.cpp:179: error: expected `;' before ‘group’
channel.cpp:180: error: ‘group’ was not declared in this scope
channel.cpp:182: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:183: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:185: error: expected `;' before ‘channelnode’
channel.cpp:186: error: ‘channelnode’ was not declared in this scope
channel.cpp:191: error: no matching function for call to ‘MyListItem::MyListItem(QListViewItem*&, MyListItem*&)’
mylistitem.h:19: note: candidates are: MyListItem::MyListItem(QListView*, int*)
mylistitem.h:9: note: MyListItem::MyListItem(QListView*)
mylistitem.h:7: note: MyListItem::MyListItem(const MyListItem&)
channel.cpp:192: error: expected `;' before ‘namenode’
channel.cpp:193: error: ‘namenode’ was not declared in this scope
channel.cpp:196: error: ‘class MyListItem’ has no member named ‘setText’
channel.cpp:200: error: ‘class MyListItem’ has no member named ‘setText’
channel.cpp:209: error: ‘class MyListItem’ has no member named ‘text’
channel.cpp:218: error: ‘class MyListItem’ has no member named ‘text’
channel.cpp:219: error: ‘class MyListItem’ has no member named ‘text’
channel.cpp:236: error: ‘firstChild’ was not declared in this scope
channel.cpp:237: error: ‘childCount’ was not declared in this scope
channel.cpp:237: error: ‘stateopen’ was not declared in this scope
channel.cpp:241: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:242: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp: At global scope:
channel.cpp:249: error: prototype for ‘void Channel::onRightButtonClicked(QListViewItem*, const QPoint&, int)’ does not match any in class ‘Channel’
channel.h:40: error: candidate is: void Channel::onRightButtonClicked(int*, const QPoint&, int)
channel.cpp:277: error: prototype for ‘void Channel::onMouseMoved(QListViewItem*)’ does not match any in class ‘Channel’
channel.h:41: error: candidate is: void Channel::onMouseMoved(int*)
channel.cpp: In member function ‘virtual void Channel::mouseMoveEvent(QMouseEvent*)’:
channel.cpp:286: error: invalid use of incomplete type ‘struct QMouseEvent’
/usr/include/qt4/QtGui/qwidget.h:71: error: forward declaration of ‘struct QMouseEvent’
channel.cpp:289: error: invalid use of incomplete type ‘struct QScrollBar’
/usr/include/qt4/QtGui/qabstractscrollarea.h:51: error: forward declaration of ‘struct QScrollBar’
channel.cpp:290: error: invalid use of incomplete type ‘struct QScrollBar’
/usr/include/qt4/QtGui/qabstractscrollarea.h:51: error: forward declaration of ‘struct QScrollBar’
channel.cpp:292: error: invalid use of incomplete type ‘struct QScrollBar’
/usr/include/qt4/QtGui/qabstractscrollarea.h:51: error: forward declaration of ‘struct QScrollBar’
channel.cpp:293: error: invalid use of incomplete type ‘struct QScrollBar’
/usr/include/qt4/QtGui/qabstractscrollarea.h:51: error: forward declaration of ‘struct QScrollBar’
channel.cpp: In member function ‘void Channel::toggleChannelSort()’:
channel.cpp:303: error: invalid use of incomplete type ‘struct QPopupMenu’
menubar.h:8: error: forward declaration of ‘struct QPopupMenu’
channel.cpp:304: error: ‘setSortColumn’ was not declared in this scope
channel.cpp:306: error: ‘setSortColumn’ was not declared in this scope
channel.cpp: In member function ‘void Channel::toggleNullChannel()’:
channel.cpp:313: error: invalid use of incomplete type ‘struct QPopupMenu’
menubar.h:8: error: forward declaration of ‘struct QPopupMenu’
channel.cpp:315: error: ‘firstChild’ was not declared in this scope
channel.cpp:317: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:326: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:328: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:332: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:335: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:336: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:338: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:341: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:343: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:345: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp: In member function ‘void Channel::switchChannelColor(int)’:
channel.cpp:353: error: ‘firstChild’ was not declared in this scope
channel.cpp:355: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:357: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:359: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:365: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:367: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:369: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp: In member function ‘void Channel::updateOpenState()’:
channel.cpp:377: error: ‘childCount’ was not declared in this scope
channel.cpp:377: error: ‘stateopen’ was not declared in this scope
channel.cpp:379: error: ‘firstChild’ was not declared in this scope
channel.cpp:382: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:387: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:392: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:397: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp: In member function ‘bool Channel::SopMatch(QString&, QString&, QString&)’:
channel.cpp:411: error: ‘class QString’ has no member named ‘find’
channel.cpp:417: error: ‘class QString’ has no member named ‘find’
channel.cpp:421: error: ‘firstChild’ was not declared in this scope
channel.cpp:423: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:425: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:426: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:427: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:430: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
channel.cpp:432: error: invalid use of incomplete type ‘struct QListViewItem’
menubar.h:9: error: forward declaration of ‘struct QListViewItem’
make: *** [.obj/channel.o] 错误 1

请教是怎么回事?


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 编译qsopcast时出错
帖子发表于 : 2008-12-19 16:04 

注册: 2008-01-18 11:36
帖子: 43
送出感谢: 0 次
接收感谢: 0 次
找到原因了


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 编译qsopcast时出错
帖子发表于 : 2008-12-19 16:28 

注册: 2008-12-18 17:30
帖子: 221
送出感谢: 0 次
接收感谢: 1
我没有问题,编译需要qt3-dev-tools , libqt3-mt-dev ,lib32asound2-dev
然后qmake , make . sudo make install


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 编译qsopcast时出错
帖子发表于 : 2009-03-31 20:57 

注册: 2008-04-08 22:02
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
谢谢楼上的提示,我也安装上了。现在正在调试


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译