mirror of
https://github.com/zlgopen/awtk.git
synced 2025-05-09 03:51:08 +08:00
fix build on ubuntu 20
This commit is contained in:
parent
534a495294
commit
12238af584
@ -58,6 +58,7 @@ elif OS_NAME == 'Linux':
|
|||||||
'/usr/lib/x86_64-linux-gnu/glib-2.0/include',
|
'/usr/lib/x86_64-linux-gnu/glib-2.0/include',
|
||||||
'/usr/include/ibus-1.0',
|
'/usr/include/ibus-1.0',
|
||||||
'include',
|
'include',
|
||||||
|
'/usr/include/harfbuzz',
|
||||||
'gen',
|
'gen',
|
||||||
'src/video/khronos',
|
'src/video/khronos',
|
||||||
'src/audio/alsa',
|
'src/audio/alsa',
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#define _FRIBIDI_COMMON_H
|
#define _FRIBIDI_COMMON_H
|
||||||
|
|
||||||
#define HAVE_STDLIB_H 1
|
#define HAVE_STDLIB_H 1
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef DONT_HAVE_FRIBIDI_CONFIG_H
|
#ifdef DONT_HAVE_FRIBIDI_CONFIG_H
|
||||||
# define FRIBIDI "fribidi"
|
# define FRIBIDI "fribidi"
|
||||||
|
@ -207,7 +207,7 @@ scons
|
|||||||
If scons and the dependent software pack aren't installed, please run the following command in the terminal:
|
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):
|
Compile and run (Enter the awtk directory and run the following command in the terminal):
|
||||||
|
@ -211,7 +211,7 @@ scons
|
|||||||
如果没有安装 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 所在的目录,并运行下列命令):
|
编译运行 (在终端下,进入 awtk 所在的目录,并运行下列命令):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user