trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2010

initial work for arts cmake

From: Serghei Amelian <serghei@...>
Date: Sat, 4 Sep 2010 05:25:56 +0300
Hello,

There is initial work for arts cmake script. Now arts is compilable, but for 
the moment is no support for ALSA, VORBIS etc.

Problems:

1) In mcoputils.cc must be inserted #include <limits.h>
2) ALSA support refuse to compile, because this error:

[ 68%] Building CXX object flow/CMakeFiles/artsflow.dir/audioioalsa9.cc.o
/home/serghei/projects/trinity/dependencies/arts/flow/audioioalsa9.cc: In 
member function 'int Arts::AudioIOALSA::setPcmParams(snd_pcm_t*)':
/home/serghei/projects/trinity/dependencies/arts/flow/audioioalsa9.cc:543: 
error: invalid conversion from 'int' to 'unsigned int*'
/home/serghei/projects/trinity/dependencies/arts/flow/audioioalsa9.cc:543: 
error:   initializing argument 3 of 'int 
snd_pcm_hw_params_set_rate_near(snd_pcm_t*, snd_pcm_hw_params_t*, unsigned 
int*, int*)'
/home/serghei/projects/trinity/dependencies/arts/flow/audioioalsa9.cc:565: 
error: invalid conversion from 'int' to 'snd_pcm_uframes_t*'
/home/serghei/projects/trinity/dependencies/arts/flow/audioioalsa9.cc:565: 
error:   initializing argument 3 of 'int 
snd_pcm_hw_params_set_period_size_near(snd_pcm_t*, snd_pcm_hw_params_t*, 
snd_pcm_uframes_t*, int*)'
/home/serghei/projects/trinity/dependencies/arts/flow/audioioalsa9.cc:570: 
error: invalid conversion from 'int' to 'unsigned int*'
/home/serghei/projects/trinity/dependencies/arts/flow/audioioalsa9.cc:570: 
error:   initializing argument 3 of 'int 
snd_pcm_hw_params_set_periods_near(snd_pcm_t*, snd_pcm_hw_params_t*, unsigned 
int*, int*)'
make[2]: *** [flow/CMakeFiles/artsflow.dir/audioioalsa9.cc.o] Error 1
make[1]: *** [flow/CMakeFiles/artsflow.dir/all] Error 2
make: *** [all] Error 2

If anybody knows how to fix it, please tell me.

-- 
Serghei

Attachments: