mpg123 for ubuntu
./configure --prefix=/opt/host/usr/mpg123 --target=i686-linux --host=i686-linux \
CC=gcc CXX=g++ \
--with-default-audio=alsa \
CFLAGS="-g -I/opt/host/usr/include -I/opt/host/usr/include/alsa -L/opt/host/usr/lib -lasound \
-Wl,-rpath=../libmpg123/.libs -Wl,-rpath=."
check "this is a custom Makefile"
Execution directory: /root/mpg123-1.16.0
output filename: src/.libs/mpg123
Execution working dir: src/.libs
chance target to "all": $make -f $makefile all
add mpg123.c to project, set a breakpoint then press debug button.
NOTE: you have to add "-g" to generate debug information
"-rpath" indicated where libs directory it is when app running
./configure --prefix=/opt/host/usr/mpg123 --target=i686-linux --host=i686-linux \
CC=gcc CXX=g++ \
--with-default-audio=alsa \
CFLAGS="-g -I/opt/host/usr/include -I/opt/host/usr/include/alsa -L/opt/host/usr/lib -lasound \
-Wl,-rpath=../libmpg123/.libs -Wl,-rpath=."
check "this is a custom Makefile"
Execution directory: /root/mpg123-1.16.0
output filename: src/.libs/mpg123
Execution working dir: src/.libs
chance target to "all": $make -f $makefile all
add mpg123.c to project, set a breakpoint then press debug button.
NOTE: you have to add "-g" to generate debug information
"-rpath" indicated where libs directory it is when app running
本文详细介绍了如何在Ubuntu系统上安装并配置mpg123音频播放器,包括自定义Makefile参数和解决相关问题。
4938

被折叠的 条评论
为什么被折叠?



