Update box64.md
This commit is contained in:
parent
26fd3ac80d
commit
b0fe0444b8
|
|
@ -1,11 +1,13 @@
|
||||||
# Box64 build
|
# Box64
|
||||||
|
|
||||||
|
## build
|
||||||
|
|
||||||
```
|
```
|
||||||
cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DARM_DYNAREC=1
|
cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DARM_DYNAREC=1
|
||||||
make install
|
make install
|
||||||
```
|
```
|
||||||
|
|
||||||
# Install Wine (6.0.1 stable)
|
## Install Wine (6.0.1 stable)
|
||||||
|
|
||||||
```
|
```
|
||||||
apt install lib64gcc1-i386-cross libc6-amd64-i386-cross -y
|
apt install lib64gcc1-i386-cross libc6-amd64-i386-cross -y
|
||||||
|
|
@ -15,7 +17,7 @@ tar xvf PlayOnLinux-wine-6.0.1-upstream-linux-amd64.tar.gz
|
||||||
ln -sf /opt/wine64/bin/wine64 /usr/local/bin/wine64
|
ln -sf /opt/wine64/bin/wine64 /usr/local/bin/wine64
|
||||||
```
|
```
|
||||||
|
|
||||||
# Add audio support
|
## Add audio support
|
||||||
|
|
||||||
```
|
```
|
||||||
wget http://mirrors.huaweicloud.com/debian/pool/main/f/faudio/libfaudio0_21.02-1~bpo10+1_amd64.deb
|
wget http://mirrors.huaweicloud.com/debian/pool/main/f/faudio/libfaudio0_21.02-1~bpo10+1_amd64.deb
|
||||||
|
|
@ -23,10 +25,25 @@ dpkg-deb -x libfaudio0_21.02-1~bpo10+1_amd64.deb /tmp/
|
||||||
cp -rfv /tmp/usr/lib/x86_64-linux-gnu/libFAudio* /opt/wine64/lib64/
|
cp -rfv /tmp/usr/lib/x86_64-linux-gnu/libFAudio* /opt/wine64/lib64/
|
||||||
```
|
```
|
||||||
|
|
||||||
# Wine init config
|
## Wine init config
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir /opt/wine64
|
mkdir /opt/wine64
|
||||||
env LANG=zh_CN WINEPREFIX="/opt/win64/" https_proxy="http://x.x.x.x:xxxx" wine64 winecfg
|
env LANG=zh_CN WINEPREFIX="/opt/win64/" https_proxy="http://x.x.x.x:xxxx" wine64 winecfg
|
||||||
```
|
```
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
#For Box86
|
||||||
|
|
||||||
|
## Build on arm64
|
||||||
|
|
||||||
|
## build
|
||||||
|
|
||||||
|
```
|
||||||
|
apt install gcc-arm-linux-gnueabi binutils-arm-linux-gnueabi gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
|
||||||
|
cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DARM_DYNAREC=1
|
||||||
|
make install
|
||||||
|
```
|
||||||
|
|
||||||
|
apt install libgcc1-i386-cross libc6-i386-cross
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue