更新 'README.md'
This commit is contained in:
parent
bcfc56ab95
commit
18e8900638
22
README.md
22
README.md
@ -13,7 +13,7 @@ export CPPFLAGS="-I/usr/local/opt/qt@5/include"
|
||||
|
||||
```
|
||||
unzip plib-dist.zip
|
||||
mv plib-dist install
|
||||
mv plib-dist dist
|
||||
```
|
||||
|
||||
配置 SimGear 和 FlightGear 时,只需将此 dist 目录用作 CMAKE_INSTALL_PREFIX 即可,无需其他步骤即可找到所有依赖项。
|
||||
@ -22,13 +22,13 @@ mv plib-dist install
|
||||
|
||||
```
|
||||
|
||||
mkdir FGFS
|
||||
mkdir FGFS-4.1
|
||||
|
||||
cd FGFS
|
||||
cd FGFS-4.1
|
||||
|
||||
git clone https://git.kongjian.xin/FGFS-4.0/fgdata.git
|
||||
git clone https://git-x.kongjian.xin/FGFS-4.1/fgdata.git
|
||||
|
||||
git clone https://git.kongjian.xin/FGFS-4.0/plib-mac-dist.git
|
||||
git clone https://git-x.kongjian.xin/FGFS-4.1/plib-mac-dist.git
|
||||
|
||||
mv plib-mac-dist install
|
||||
|
||||
@ -38,16 +38,16 @@ git checkout OpenSceneGraph-3.6.0
|
||||
cd ..
|
||||
mkdir osgbuild
|
||||
cd osgbuild
|
||||
cmake ../OpenSceneGraph/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../install
|
||||
cmake ../OpenSceneGraph/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../dist
|
||||
make -j8
|
||||
make install
|
||||
|
||||
cd ..
|
||||
git clone https://git.kongjian.xin/FGFS-4.0/simgear.git
|
||||
git clone https://git-x.kongjian.xin/FGFS-4.1/simgear.git
|
||||
mkdir sgbuild
|
||||
cd sgbuild
|
||||
cmake ../simgear -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../install
|
||||
make
|
||||
cmake ../simgear -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../dist
|
||||
make -j8
|
||||
make install
|
||||
|
||||
cd ..
|
||||
@ -55,8 +55,8 @@ git clone https://git-x.kongjian.xin/FGFS-4.1/flightgear.git
|
||||
|
||||
mkdir fgbuild
|
||||
cd fgbuild
|
||||
cmake ../flightgear -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/../install -DFG_DATA_DIR=$PWD/../fgdata
|
||||
make
|
||||
cmake ../flightgear -DCMAKE_BUILD_TYPE=Release -DFG_DATA_DIR=$PWD/../fgdata -DCMAKE_INSTALL_PREFIX=$PWD/../dist
|
||||
make -j8
|
||||
make install
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user