Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
ZLMediaKit
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
张翔宇
ZLMediaKit
Commits
e087d45f
Commit
e087d45f
authored
Mar 21, 2018
by
xiongziliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新编译脚本
parent
ee9b6b64
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
34 行增加
和
23 行删除
+34
-23
build_for_android.sh
+5
-6
build_for_ios.sh
+7
-1
build_for_linux.sh
+11
-8
build_for_mac.sh
+11
-8
没有找到文件。
build_for_android.sh
查看文件 @
e087d45f
#!/bin/bash
path
=
`
pwd
`
wget https://raw.githubusercontent.com/xiongziliang/ZLToolKit/develop/build_for_android.sh
-O
toolkit_build.sh
sudo
chmod +x ./toolkit_build.sh
./toolkit_build.sh
cd
$path
cd
..
git clone
--depth
=
50 https://github.com/xiongziliang/ZLMediaKit.git
git clone
--depth
=
1 https://github.com/xiongziliang/ZLMediaKit.git
cd
$path
cd
ZLMediaKit
git submodule init
git submodule update
mkdir
-p
android_build
rm
-rf
./build
ln
-s
./android_build build
cd
android_build
cmake ..
-DCMAKE_TOOLCHAIN_FILE
=
../cmake/android.toolchain.cmake
-DANDROID_NDK
=
$ANDROID_NDK_ROOT
-DCMAKE_BUILD_TYPE
=
Release
-DANDROID_ABI
=
"armeabi"
-DANDROID_NATIVE_API_LEVEL
=
android-9
make
-j4
sudo
make install
build_for_ios.sh
查看文件 @
e087d45f
#!/bin/bash
path
=
`
pwd
`
cd
..
git clone
--depth
=
1 https://github.com/xiongziliang/ZLMediaKit.git
cd
$path
cd
ZLMediaKit
git submodule init
git submodule update
mkdir
-p
ios_build
rm
-rf
./build
...
...
@@ -6,4 +13,3 @@ ln -s ./ios_build build
cd
ios_build
cmake ..
-DCMAKE_TOOLCHAIN_FILE
=
../cmake/iOS.cmake
-DIOS_PLATFORM
=
OS
make
-j4
sudo
make install
build_for_linux.sh
查看文件 @
e087d45f
#!/bin/bash
path
=
`
pwd
`
wget https://raw.githubusercontent.com/xiongziliang/ZLToolKit/develop/build_for_linux.sh
-O
./toolkit_build.sh
sudo
chmod +x ./toolkit_build.sh
./toolkit_build.sh
cd
..
git clone
--depth
=
1 https://github.com/xiongziliang/ZLMediaKit.git
cd
$path
cd
ZLMediaKit
git submodule init
git submodule update
sudo
apt-get install cmake
sudo
apt-get install libmysqlclient-dev
sudo
apt-get install libssl-dev
sudo
apt-get install libx264-dev
sudo
apt-get install libfaac-dev
sudo
apt-get install libmp4v2-dev
#sudo apt-get install libsdl-dev
#sudo apt-get install libavcodec-dev
#sudo apt-get install libavutil-dev
cd
$path
cd
..
git clone
--depth
=
50 https://github.com/xiongziliang/ZLMediaKit.git
cd
ZLMediaKit
mkdir
-p
linux_build
rm
-rf
./build
ln
-s
./linux_build build
...
...
@@ -20,4 +24,3 @@ cd linux_build
cmake ..
make
-j4
sudo
make install
build_for_mac.sh
查看文件 @
e087d45f
#!/bin/bash
path
=
`
pwd
`
wget https://raw.githubusercontent.com/xiongziliang/ZLToolKit/develop/build_for_mac.sh
-O
toolkit_build.sh
sudo
chmod +x ./toolkit_build.sh
./toolkit_build.sh
cd
..
git clone
--depth
=
1 https://github.com/xiongziliang/ZLMediaKit.git
cd
$path
cd
ZLMediaKit
git submodule init
git submodule update
brew install cmake
brew install mysql
brew install openssl
brew install x264
brew install faac
brew install mp4v2
brew install sdl
brew install ffmpeg
cd
$path
cd
..
git clone
--depth
=
50 https://github.com/xiongziliang/ZLMediaKit.git
cd
ZLMediaKit
mkdir
-p
mac_build
rm
-rf
./build
ln
-s
./mac_build build
cd
mac_build
cmake ..
-DOPENSSL_ROOT_DIR
=
/usr/local/Cellar/openssl/1.0.2j/
make
-j4
sudo
make install
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论