|
楼主 |
发表于 2010-3-10 16:47:33
|
显示全部楼层
Post by landrewl;2072717
编译performous指南: http://wiki.performous.org/index ... _from_source#Fedora
主要是几步:
1. 安装依赖包
su -c 'yum install git cmake gcc-c++ gettext gtk2-devel cairo-devel librsvg2-devel libsigc++20-devel glibmm24-devel libxml++-devel ImageMagick-c++-devel boost-devel SDL-devel glew-devel ffmpeg-devel pulseaudio-libs-devel help2man redhat-lsb gstreamer-devel'
2. 编译安装
cd performous
mkdir build
cd build
cmake ../ -DLibDA_PLUGIN_GSTREAMER=1 -DLibDA_PLUGIN_PULSE=1
make
sudo make install
3. 运行
performous
如果pulseaudio导致声卡不能正常使用,使用: pasuspender -- performous 运行
把歌曲放在: ~/.ultrastar/songs 或 /usr/local/share/games/ultrastar/songs 目录下, 但要有一定的格式,可以在performous 网站下载free songs来看具体的格式。
~~~~~~~~~
说明:在fedora 12下能顺利的编译和运行起来。但我是vnc远程上的linux, 没有本地连接mic等试用。
编译是成功了,但无法行动,如下:
[work@localhost ~]$ performous
Performous 0.5.1
ALSA capture devices:
alsa:hw:SB,0 HDA ATI SB (ALC888 Analog)
alsa:hw:SB,1 HDA ATI SB (ALC888 Digital)
alsa:hw:SB,2 HDA ATI SB (ALC888 Analog)
ALSA playback devices:
alsa:hw:SB,0 HDA ATI SB (ALC888 Analog)
alsa:hw:SB,1 HDA ATI SB (ALC888 Digital)
alsa:hw:HDMI,3 HDA ATI HDMI (ATI HDMI)
Parsing /usr/local/bin/../share/games/performous/config/schema.xml
Skipping /etc/xdg/performous/config.xml (not found)
Skipping /home/work/.config/performous/config.xml (not found)
>>> Not using "/home/work/.local/share/games/performous" (does not exist)
>>> Using data path "/usr/local/share/games/performous"
>>> Not using "/usr/local/share/performous" (does not exist)
>>> Not using "/usr/share/performous" (does not exist)
>>> Trying recording device alsa:hw:default
ALSA lib pcm_hw.c:1401_snd_pcm_hw_open) Invalid value for card
Capture device mics=channels=2@alsa:hw:default failed and will be ignored:
alsa::pcm::pcm: snd_pcm_open failed: ??????
>>> Trying recording device alsa:hw:Microphone
ALSA lib pcm_hw.c:1401_snd_pcm_hw_open) Invalid value for card
Capture device mics=channels=1@alsa:hw:Microphone failed and will be ignored:
alsa::pcm::pcm: snd_pcm_open failed: ??????
>>> Trying recording device alsa
-!- alsa::hw_config::set: snd_pcm_hw_params_set_access failed: ?????
>>> Trying recording device gst
Device: gst
Channels: 2
Rate: 48000 Hz
Buffer size: 512 frames
>>> Trying playback device alsa:hw:0
Playback device pdev=alsa:hw:0 failed and will be ignored:
alsa::pcm::pcm: snd_pcm_open failed: 设备或资源忙
>>> Trying playback device alsa
-!- alsa::hw_config::set: snd_pcm_hw_params_set_access failed: 无效的参数
>>> Trying playback device pulse
Device: pulse:libda_pulse_playback
Channels: 2
Rate: 48000 Hz
Buffer size: 512 frames
>>> Scanning /usr/local/share/games/performous/backgrounds (for backgrounds)
1 backgrounds loaded
*** glibc detected *** performous: malloc(): memory corruption: 0x000000000243ccf0 *** |
|