软件安装

需要安装 visual studio c++ 2010 redistributable

Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update

编译出错(路径)

需要将 sdk 尽量放到根目录下,路径名不要太长不然会出现编译出错的问题。

python 脚本对 ascii 解析出错

修改 C:_Toolkit_1.2.15.35_x64[build.py](http://build.py)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
Copyright (c) 2016 - 2021 Qualcomm Technologies International, Ltd
"""

# Extract build system option from command line
from sys import argv
import sys

try:
reload(sys)
sys.setdefaultencoding('utf8')
index = argv.index('--build_system', 1)
build_system = argv[index+1]
except (ValueError, IndexError):
# Extract build system option from environment
from os import environ
build_system = environ.get('__BUILD_SYSTEM__', 'make')

if build_system == 'scons':
from maker.build_scons import *
else:
from builder.build import *

修改 C:_Toolkit_1.2.15.35_x64[ubuild.py](http://ubuild.py)

在 173 行之前添加:

1
2
3
import sys
reload(sys)
sys.setdefaultencoding('utf8')