cinelerra 是linux平台下的一个非线编辑工具。
视频编辑可能是本要日常事务中最主要的内容,如果能在linux下解决软件问题,相信我可以早日将我的XP格了。
本人用everest 0.6版,下载好cinelerra源码后,解压,编译
先进行./configure
然后一切正常,直到系统提示make
再输入命令make
到了后面就出现以下问题:
faad2.h:36: error: 'codec_data_t' does not name a type
faad2.h:37: error: ISO C++ forbids declaration of 'audio_vft_t' with no type
faad2.h:37: error: expected ';' before '*' token
faad2.h:55: error: ISO C++ forbids declaration of 'FILE' with no type
faad2.h:55: error: expected ';' before '*' token
faad2.h:70: error: variable or field 'aac_close' declared void
faad2.h:70: error: 'codec_data_t' was not declared in this scope
faad2.h:70: error: 'ptr' was not declared in this scope
faad2.h:73: error: expected constructor, destructor, or type conversion before '*' token
faad2.h:82: error: 'codec_data_t' was not declared in this scope
faad2.h:82: error: 'ifptr' was not declared in this scope
faad2.h:83: error: expected primary-expression before '*' token
faad2.h:83: error: 'buffer' was not declared in this scope
faad2.h:84: error: expected primary-expression before '*' token
faad2.h:84: error: 'ts' was not declared in this scope
faad2.h:84: error: initializer expression list treated as compound expression
faad2.h:85: error: 'codec_data_t' was not declared in this scope
faad2.h:85: error: 'ifptr' was not declared in this scope
faad2.h:87: error: variable or field 'aac_file_used_for_frame' declared void
faad2.h:87: error: 'codec_data_t' was not declared in this scope
faad2.h:87: error: 'ifptr' was not declared in this scope
faad2.h:88: error: expected primary-expression before 'bytes'
faad2.h:90: error: 'codec_data_t' was not declared in this scope
faad2.h:90: error: 'ifptr' was not declared in this scope
faad2.h:91: error: expected primary-expression before 'ts'
faad2.h:91: error: initializer expression list treated as compound expression
faad2.cpp:38: error: expected initializer before '*' token
make[6]: *** [faad2.lo] 错误 1
make[6]: Leaving directory `/cinelerra/quicktime/thirdparty/faad2-2.0/plugins/mpeg4ip'
make[5]: *** [all-recursive] 错误 1
make[5]: Leaving directory `/cinelerra/quicktime/thirdparty/faad2-2.0/plugins'
make[4]: *** [all-recursive] 错误 1
make[4]: Leaving directory `/cinelerra/quicktime/thirdparty/faad2-2.0'
make[3]: *** [all] 错误 2
make[3]: Leaving directory `/cinelerra/quicktime/thirdparty/faad2-2.0'
make[2]: *** [i686/faad] 错误 2
make[2]: Leaving directory `/cinelerra/quicktime'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/cinelerra'
make: *** [all] 错误 2
[root@localhost cinelerra]#
到这里为止,编译应该还没结束吧~
请各位达人帮帮忙~
不要跟我说要换成Ubuntu Fedore之类,它们都有现成的在线更新源之类(5ty(
还有,如果编译成功了,要如何起动呢?话说,我前天成功编译了wine(有提示成功的喔)
在终端中输入wine却提示找不到命令,连winecfg也没反应。
还请达人一同告知,要如何启动编译好的程序~(6)m:b
langa 于 2009-01-31 13:58:16发表:
感谢上面二位~补充一句,我是将它放在/ 下编译的~
荷溪客 于 2009-01-31 13:06:34发表:
看楼主的错误提示和我以前用楼主使用系统的兄弟红6的情况,我觉得楼主的问题应该是源代码文件在Windowa系统分区导致的,楼主把源代码拷贝到Linux分区再编译应该可以正常完成.(源代码编译安装很少不能完成的!我也不知道红6为什么这样不可以.)
wangdu2002 于 2009-01-30 18:27:39发表:
楼主,我都跟你说了,我是新手啊----我接触Linux才半年,开始学习编程才这两个月的事(也就是晚上学习,白天得干活混饭吃),Linux编程才刚摸着点边,说我专业---那是比窦娥还冤啊。
上边不是跟你说了吗,先到内核官网下个新的内核源码包回来,自己编译下,看能否正常编译出内核,如果编译的内核能正常工作,才考虑编译其他程序吧!
Linux编程真的不简单,比Win要难得多,不过能学习到更多东西确是实情。多买几本好书看下,此外要同步提高英语水平,要不然,成不了真正的Linux初级程序员。
langa 于 2009-01-30 14:07:28发表:
楼上太专业 了,能不能说说操作步聚……我还很小白的
wangdu2002 于 2009-01-30 00:42:56发表:
我也是个编程新手,大概看了下,好象是说你解包后的源码不符合ISO的标准C++语言规格,也许你该看下GNU的g++编译手册,调整下编译参数,使用扩展的GNU特性才能可能编得出来。
此外你编译成功的软件不能运行,一是可能环境变量的设置问题,二是可能运行时的共享库没正确加载,也许你该编译一次内核试试能否成功。内核版本与GCC,G++及底层库会有兼容问题的。
此外编译前一定要进源码目录看下详细的编译说明的。
langa 于 2009-01-29 20:15:01发表:
感谢楼上,自己再顶一下,不要沉,期待高手出现~
btchnia 于 2009-01-29 16:14:40发表:
不懂,友情帮顶