LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 569|回复: 3

avifile compiling errors

[复制链接]
发表于 2003-6-21 01:09:58 | 显示全部楼层 |阅读模式
I've the following errors when compiling avifile-0.7.34

In file included from capproc.cpp:27:
v4lwindow.h:4:21: qwidget.h: No such file or directory
v4lwindow.h:5:20: qtimer.h: No such file or directory
In file included from capproc.cpp:27:
v4lwindow.h:30: parse error before `{' token
v4lwindow.h:36: parse error before `*' token
v4lwindow.h:37: destructors must be member functions
v4lwindow.h: In function `void setAutoRecord()':
v4lwindow.h:39: `m_bAutoRecord' undeclared (first use this function)
v4lwindow.h:39: (Each undeclared identifier is reported only once for each
   function it appears in.)
v4lwindow.h: In function `void unregisterCapDialog()':
v4lwindow.h:40: `m_pCapDialog' undeclared (first use this function)
v4lwindow.h: In function `ClosedCaption* getcc()':
v4lwindow.h:43: `m_pCC' undeclared (first use this function)
v4lwindow.h: At global scope:
v4lwindow.h:44: parse error before `)' token
v4lwindow.h:45: `Modes' was not declared in this scope
v4lwindow.h:45: parse error before `)' token
v4lwindow.h:51: `QString' was not declared in this scope
v4lwindow.h:51: parse error before `)' token
v4lwindow.h:56: parse error before `public'
v4lwindow.h:81: parse error before `protected'
v4lwindow.h:89: `XEvent' was not declared in this scope
v4lwindow.h:89: parse error before `)' token
v4lwindow.h:89: virtual outside class declaration
v4lwindow.h:90: `QFocusEvent' was not declared in this scope
v4lwindow.h:90: parse error before `)' token
v4lwindow.h:90: virtual outside class declaration
v4lwindow.h:91: `QFocusEvent' was not declared in this scope
v4lwindow.h:91: parse error before `)' token
v4lwindow.h:91: virtual outside class declaration
v4lwindow.h:92: `QHideEvent' was not declared in this scope
v4lwindow.h:92: parse error before `)' token
v4lwindow.h:92: virtual outside class declaration
v4lwindow.h:93: `QKeyEvent' was not declared in this scope
v4lwindow.h:93: parse error before `)' token
v4lwindow.h:93: virtual outside class declaration
v4lwindow.h:94: `QMouseEvent' was not declared in this scope
v4lwindow.h:94: parse error before `)' token
v4lwindow.h:94: virtual outside class declaration
v4lwindow.h:95: `QMoveEvent' was not declared in this scope
v4lwindow.h:95: parse error before `)' token
v4lwindow.h:95: virtual outside class declaration
v4lwindow.h:96: `QPaintEvent' was not declared in this scope
v4lwindow.h:96: parse error before `)' token
v4lwindow.h:96: virtual outside class declaration
v4lwindow.h:97: `QResizeEvent' was not declared in this scope
v4lwindow.h:97: parse error before `)' token
v4lwindow.h:97: virtual outside class declaration
v4lwindow.h:98: `QShowEvent' was not declared in this scope
v4lwindow.h:98: parse error before `)' token
v4lwindow.h:98: virtual outside class declaration
v4lwindow.h:121: 'Modes' is used as a type, but is not defined as a type.
v4lwindow.h:122: parse error before `private'
v4lwindow.h:129: `AviCapDialog*m_pCapDialog' used prior to declaration
v4lwindow.h:130: `ClosedCaption*m_pCC' used prior to declaration
v4lwindow.h:132: 'QTimer' is used as a type, but is not defined as a type.
v4lwindow.h:133: 'QTimer' is used as a type, but is not defined as a type.
v4lwindow.h:134: 'QTimer' is used as a type, but is not defined as a type.
v4lwindow.h:135: 'QTimer' is used as a type, but is not defined as a type.
v4lwindow.h:145: `bool m_bAutoRecord' used prior to declaration
v4lwindow.h:153: parse error before `public'
In file included from capproc.cpp:27:
v4lwindow.h:156: parse error before `}' token
make[3]: *** [capproc.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
发表于 2003-6-22 00:16:01 | 显示全部楼层
看上去和qt有关。可能要禁止掉到qt的利用关系才行。
我还没装这个包呢,没需要,呵呵。
发表于 2003-6-22 01:30:36 | 显示全部楼层
经过长时间的编译,我装上了avifile.
可能是你哪里搞错了吧?有没有设置QTDIR?
$ echo $QTDIR
/opt/qt
我的qt是3.1.2,能编译过去的。如果你还是不行,就看看configure的时候检查qt那几行怎么说的。
 楼主| 发表于 2003-6-22 08:30:04 | 显示全部楼层
万分感谢tram的帮助,我的所有问题都是你帮忙解决的,受益匪浅!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表