codeblocks在链接c++工程文件时的错误?
大家讲道理
大家讲道理 2017-04-17 14:25:51
0
1
576

如图,请问该怎么解决?


-------------- Build: Debug in xjgame (compiler: GNU GCC Compiler)---------------

||=== Build: Debug in xjgame (compiler: GNU GCC Compiler) ===|
/usr/bin/ld: obj/Debug/game/mod_rpt/GameRptModule.o||undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|
/usr/bin/ld: obj/Debug/game/mod_rpt/GameRptModule.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 1 second(s))
2 error(s), 0 warning(s) (0 minute(s), 1 second(s))
 
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
阿神

-lpthread

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!