解决Netbeans 下 undefined reference to `pthread_create'
2011-07-25 10:53
519 查看
因为这个并不是Linux下的标准,所以你要在链接的时候加上-lpthread,
添加方式如下:
properties->Linker->Libraries->Add Standard Library->Posix Threads (or
Add Option->Other Option-> -lpthread).
添加方式如下:
properties->Linker->Libraries->Add Standard Library->Posix Threads (or
Add Option->Other Option-> -lpthread).
相关文章推荐
- linux 线程操作问题undefined reference to 'pthread_create'的解决办法(cmake)
- undefined reference to 'pthread_create'问题解决
- undefined reference to 'pthread_create'解决方法
- undefined reference to 'pthread_create'问题解决
- undefined reference to 'pthread_create'问题解决
- undefined reference to 'pthread_create'问题解决
- 解决QT多线程中undefined reference to 'pthread_create'的错误
- Posix线程中undefined reference to 'pthread_create'问题解决
- undefined reference to 'pthread_create'问题解决
- undefined reference to 'pthread_create'问题解决
- 类似undefined reference to 'pthread_create'问题的解决
- Linux 编译报错 -- undefined reference to 问题解决方法 (具体'pthread_create'和opencv看文章最后两条)
- undefined reference to 'pthread_create'问题解决
- 怎样彻底解决"undefined reference to `pthread_create'"问题
- undefined reference to 'pthread_create'问题解决
- undefined reference to 'pthread_create' 问题解决
- undefined reference to 'pthread_create'问题解决
- linux下开发,解决cocos2d-x中编译出现的一个小问题, undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
- undefined reference to 'pthread_create'问题解决
- undefined reference to `pthread_create'错误通过makefie的解决方法