awtk/docs/how_to_build_windows_32bit_version.md
2019-05-11 21:22:40 +08:00

38 lines
453 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 如何编译Windows 32位版本
* 1.在文件awtk\_config.py中设置TARGET\_ARCH为'x86'
将:
```
#TARGET_ARCH='x86'
```
修改为:
```
TARGET_ARCH='x86'
```
* 2.对于XP如果OpenGL渲染不正常。可以使用AGGE(或BGFX)试试。
将:
```
#NANOVG_BACKEND='AGGE'
```
修改为:
```
NANOVG_BACKEND='AGGE'
```
* 3.编译32位版本需要重新生成资源。
```
scripts/update_res.py clean
scripts/update_res.py all
```