Skip to content

Commit 08ccfd4

Browse files
committed
test github-action cache
1 parent 08379e5 commit 08ccfd4

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,38 @@ _3dtile.exe -f b3dm -i E:\Data\aa.b3dm -o E:\Data\aa.glb
102102
- `Fbx``3D-Tiles`
103103
- ...
104104

105-
# 用法说明
105+
# 编译
106+
## Ubuntu
107+
```
108+
sudo apt-get update
109+
sudo apt-get install -y g++ libgdal-dev libopenscenegraph-dev cargo
110+
git clone https://github.com/fanvanzh/3dtiles
111+
cd 3dtiles
112+
cargo build --release
113+
```
114+
## Centos
115+
```
116+
sudo yum install -y gdal-devel cargo g++
117+
git clone https://github.com/fanvanzh/3dtiles
118+
cd 3dtiles
119+
git clone https://github.com/microsoft/vcpkg.git
120+
./vcpkg/bootstrap-vcpkg.sh
121+
./vcpkg/vcpkg install osg:x64-linux-release
122+
cargo build --release
123+
```
124+
## Windows
125+
```
126+
curl https://sh.rustup.rs -sSf -o rustup-init.exe
127+
./rustup-init.exe -y
128+
git clone https://github.com/fanvanzh/3dtiles
129+
cd 3dtiles
130+
git clone https://github.com/microsoft/vcpkg.git
131+
./vcpkg/bootstrap-vcpkg.bat
132+
./vcpkg/vcpkg install osg:x64-windows-release
133+
./vcpkg/vcpkg install gdal:x64-windows-release
134+
cargo build --release
135+
```
136+
# 使用说明
106137

107138
## ① 命令行格式
108139

0 commit comments

Comments
 (0)