Project->Properties->C/C++ Build->Settings->GCC C++ Linker->Libraries
在Libraries(-l)中添加pthread即可
在Libraries(-l)中添加crypto即可
在想要编译的工程上右键/properties选择c/c++ build/settings
gcc c compiler/command :gcc -lpthread
gcc c linker/command :gcc -lpthread
Project->Properties->C/C++ Build->Settings->GCC C++ Linker->Libraries
在Libraries(-l)中添加pthread即可
在Libraries(-l)中添加crypto即可
在想要编译的工程上右键/properties选择c/c++ build/settings
gcc c compiler/command :gcc -lpthread
gcc c linker/command :gcc -lpthread