//refer to http://hi.baidu.com/%CF%B5%B4%C7%CF%C2%B4%CE/blog/item/f14cb71d375ae36adab4bd11.html
//put openal-soft-1.12.854.tbz2 in home
apt-get install cmake
//CMakeLists.txt
//ADD_LIBRARY(libname [SHARED|STATIC|MODULE])
SET(LIBTYPE SHARED)
to
SET(LIBTYPE STATIC)
cd build
make clean
export PREFIX=/usr/wxbuild
export CFLAGS="-I$PREFIX/include"
export CPPFLAGS="-I$PREFIX/include"
export CXXFLAGS="-I$PREFIX/include"
export LDFLAGS=-L$PREFIX/lib
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" ../
make
make install
//////////////////////////////////////////////
#pulseaudio can use to root
沒有留言:
張貼留言