fix build on ubuntu 20

This commit is contained in:
lixianjing 2020-09-04 22:00:47 +08:00
parent 534a495294
commit 12238af584
4 changed files with 4 additions and 2 deletions

View File

@ -58,6 +58,7 @@ elif OS_NAME == 'Linux':
'/usr/lib/x86_64-linux-gnu/glib-2.0/include',
'/usr/include/ibus-1.0',
'include',
'/usr/include/harfbuzz',
'gen',
'src/video/khronos',
'src/audio/alsa',

View File

@ -27,6 +27,7 @@
#define _FRIBIDI_COMMON_H
#define HAVE_STDLIB_H 1
#include <string.h>
#ifdef DONT_HAVE_FRIBIDI_CONFIG_H
# define FRIBIDI "fribidi"

View File

@ -207,7 +207,7 @@ scons
If scons and the dependent software pack aren't installed, please run the following command in the terminal:
```
sudo apt-get install scons libsndio-dev libgtk-3-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libasound2-dev git vim clang-format libharfbuzz-dev
sudo apt-get install gcc g++ scons libsndio-dev libgtk-3-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libasound2-dev git vim clang-format libharfbuzz-dev
```
Compile and run (Enter the awtk directory and run the following command in the terminal):

View File

@ -211,7 +211,7 @@ scons
如果没有安装 scons 和依赖的软件包,请在终端运行下面的命令:
```
sudo apt-get install scons libsndio-dev libgtk-3-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libasound2-dev git vim clang-format libharfbuzz-dev
sudo apt-get install gcc g++ scons libsndio-dev libgtk-3-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libasound2-dev git vim clang-format libharfbuzz-dev
```
编译运行 (在终端下,进入 awtk 所在的目录,并运行下列命令):