Where Am I ?
星期六, 12月 26, 2009
undefined reference to `pthread_create'
Linux中編譯pthread需要加上參數,參考man pthreads
Compiling on Linux
On Linux, programs that use the Pthreads API should be compiled using cc
-pthread.
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言