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.
On Saturday 04 September 2010 05:25:56 Serghei Amelian wrote: Hello,
There is almost finished arts cmake script, with support for audiofile, mad, ogg/vorbis and alsa.
www.thel.ro/kde-sunset/arts-cmake.tar.bz2
Now i will start to study how to port kdelibs, arts will be refined later (i think that support for jack, esd, nas, etc. are less often needed and can be delayed).
There is initial work for arts cmake script. Now arts is compilable, but for the moment is no support for ALSA, VORBIS etc.
Problems:
- In mcoputils.cc must be inserted #include <limits.h>
This seems a glibc-2.8 requirement, so must be fixed in svn.