|
发表于 2010-6-23 05:12:46
|
显示全部楼层
../dssi/dssi.h:27:20: 错误:ladspa.h:没有那个文件或目录
In file included from trivial_synth.c:19:
../dssi/dssi.h:104: 错误:expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
trivial_synth.c:28: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
trivial_synth.c:31: 错误:expected ‘)’ before ‘instance’
trivial_synth.c:41: 错误:expected specifier-qualifier-list before ‘LADSPA_Data’
trivial_synth.c:48: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
trivial_synth.c:68: 错误:expected ‘)’ before ‘instance’
trivial_synth.c:73: 错误:expected ‘)’ before ‘instance’
trivial_synth.c:92: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘instantiateTS’
trivial_synth.c:106: 错误:expected ‘)’ before ‘instance’
trivial_synth.c:116: 错误:expected ‘)’ before ‘instance’
trivial_synth.c:122: 错误:expected ‘)’ before ‘instance’
trivial_synth.c:181: 错误:expected ‘)’ before ‘instance’
trivial_synth.c: 在函数‘init’中:
trivial_synth.c:200: 错误:‘LADSPA_PortDescriptor’未声明(在此函数内第一次使用)
trivial_synth.c:200: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
trivial_synth.c:200: 错误:所在的函数内也只报告一次。)
trivial_synth.c:200: 错误:‘port_descriptors’未声明(在此函数内第一次使用)
trivial_synth.c:201: 错误:‘LADSPA_PortRangeHint’未声明(在此函数内第一次使用)
trivial_synth.c:201: 错误:‘port_range_hints’未声明(在此函数内第一次使用)
trivial_synth.c:203: 错误:‘tsLDescriptor’未声明(在此函数内第一次使用)
trivial_synth.c:204: 错误:‘LADSPA_Descriptor’未声明(在此函数内第一次使用)
trivial_synth.c:204: 错误:expected expression before ‘)’ token
trivial_synth.c:214: 错误:expected expression before ‘)’ token
trivial_synth.c:218: 错误:expected ‘)’ before ‘LADSPA_PortDescriptor’
trivial_synth.c:218: 警告:在‘type name’的声明中,类型默认为‘int’
trivial_synth.c:220: 错误:expected expression before ‘)’ token
trivial_synth.c:224: 错误:expected ‘)’ before ‘LADSPA_PortRangeHint’
trivial_synth.c:224: 警告:在‘type name’的声明中,类型默认为‘int’
trivial_synth.c:230: 错误:‘LADSPA_PORT_OUTPUT’未声明(在此函数内第一次使用)
trivial_synth.c:230: 错误:‘LADSPA_PORT_AUDIO’未声明(在此函数内第一次使用)
trivial_synth.c:235: 错误:‘LADSPA_PORT_INPUT’未声明(在此函数内第一次使用)
trivial_synth.c:235: 错误:‘LADSPA_PORT_CONTROL’未声明(在此函数内第一次使用)
trivial_synth.c:237: 错误:‘LADSPA_HINT_DEFAULT_440’未声明(在此函数内第一次使用)
trivial_synth.c:238: 错误:‘LADSPA_HINT_BOUNDED_BELOW’未声明(在此函数内第一次使用)
trivial_synth.c:238: 错误:‘LADSPA_HINT_BOUNDED_ABOVE’未声明(在此函数内第一次使用)
trivial_synth.c:246: 错误:‘LADSPA_HINT_DEFAULT_MAXIMUM’未声明(在此函数内第一次使用)
trivial_synth.c:251: 错误:‘activateTS’未声明(在此函数内第一次使用)
trivial_synth.c:252: 错误:‘cleanupTS’未声明(在此函数内第一次使用)
trivial_synth.c:253: 错误:‘connectPortTS’未声明(在此函数内第一次使用)
trivial_synth.c:255: 错误:‘instantiateTS’未声明(在此函数内第一次使用)
trivial_synth.c:256: 错误:‘runTSWrapper’未声明(在此函数内第一次使用)
trivial_synth.c:264: 错误:‘DSSI_Descriptor’没有名为‘LADSPA_Plugin’的成员
trivial_synth.c:265: 错误:‘DSSI_Descriptor’没有名为‘configure’的成员
trivial_synth.c:266: 错误:‘DSSI_Descriptor’没有名为‘get_program’的成员
trivial_synth.c:267: 错误:‘DSSI_Descriptor’没有名为‘get_midi_controller_for_port’的成员
trivial_synth.c:267: 错误:‘getControllerTS’未声明(在此函数内第一次使用)
trivial_synth.c:268: 错误:‘DSSI_Descriptor’没有名为‘select_program’的成员
trivial_synth.c:269: 错误:‘DSSI_Descriptor’没有名为‘run_synth’的成员
trivial_synth.c:269: 错误:‘runTS’未声明(在此函数内第一次使用)
trivial_synth.c:270: 错误:‘DSSI_Descriptor’没有名为‘run_synth_adding’的成员
trivial_synth.c:271: 错误:‘DSSI_Descriptor’没有名为‘run_multiple_synths’的成员
trivial_synth.c:272: 错误:‘DSSI_Descriptor’没有名为‘run_multiple_synths_adding’的成员
trivial_synth.c: 在函数‘fini’中:
trivial_synth.c:282: 错误:‘tsLDescriptor’未声明(在此函数内第一次使用)
trivial_synth.c:283: 错误:‘LADSPA_PortDescriptor’未声明(在此函数内第一次使用)
trivial_synth.c:283: 错误:expected expression before ‘)’ token
trivial_synth.c:285: 错误:‘LADSPA_PortRangeHint’未声明(在此函数内第一次使用)
trivial_synth.c:285: 错误:expected expression before ‘)’ token
make[3]: *** [trivial_synth_la-trivial_synth.lo] 错误 1
make[3]: Leaving directory `/root/dssi-1.0.0/examples'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/root/dssi-1.0.0/examples'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/dssi-1.0.0'
make: *** [all] 错误 2
嗯,然后下载ladspa的sdk进行编译
http://www.ladspa.org/download/
cd /root/ladspa_sdk/
ladspa_sdk]# cd /root/ladspa_sdk/src
src]# make
src]# make install
mkdirhier /usr/lib/ladspa/
mkdirhier /usr/include/
mkdirhier /usr/bin/
cp ../plugins/* /usr/lib/ladspa/
cp ladspa.h /usr/include/
cp ../bin/* /usr/bin/
# cd dssi-1.0.0/
dssi-1.0.0]# ./configure --prefix=/usr
* ======== DSSI 1.0.0 configured ========
* building jack-dssi-host: no (missing liblo JACK)
* building DSSI OSC tools: no (missing liblo)
* building trivial_synth plugin: yes
* building less_trivial_synth plugin: yes
* building karplong plugin: yes
* building trivial_sampler plugin: no (missing libsamplerate)
* building less_trivial_synth GUI: no (missing liblo Qt)
* building trivial_sampler GUI: no (missing liblo Qt)
dssi-1.0.0]# make
编译通过,你编译失败是因为不仅缺少 liblo 还需要 JACK,不同的插件还有需要 libsamplerate,但不管怎样,LADSPA的SDK是必需的,至于qt,我想可能是qt3,这个只有在magic的kde3版本才会默认包含,这两个GUI界面应该没有什么编译的可能了。这东西到底做什么用的?
[ 本帖最后由 haulm 于 2010-6-23 05:16 编辑 ] |
|