File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,38 @@ _3dtile.exe -f b3dm -i E:\Data\aa.b3dm -o E:\Data\aa.glb
102
102
- ` Fbx ` 转 ` 3D-Tiles `
103
103
- ...
104
104
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
+ # 使用说明
106
137
107
138
## ① 命令行格式
108
139
You can’t perform that action at this time.
0 commit comments