[cocos2d-x]I have an error when I try to run 'python android-build.py -p 19 cpp-tests' in Windows 10

廉价感情. 提交于 2019-12-01 13:55:14

#include <unistd.h> header is missing in ProcessCpuTracker.cpp file for NDK v15, there is an issue reported for the same.

Either you downgrade NDK to previous version r14 or apply patch by yourself.

Patch will be included in official release of 3.16.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!