AppInventor2 中文社区
标题:
ThreadXxx.h:100: error: ‘pthread_t’ was not declared in this scope
[打印本页]
作者:
admin
时间:
2015-10-16 15:46
标题:
ThreadXxx.h:100: error: ‘pthread_t’ was not declared in this scope
pthread_t在头文件/usr/include/bits/pthreadtypes.h中定义:
typedef unsigned long int pthread_t;
复制代码
它是一个线程的标识符。
#include <pthread.h>
解决。
欢迎光临 AppInventor2 中文社区 (https://bbs.tsingfun.com/)
Powered by Discuz! X3.3