コードをコンパイルするとき。-pthread.It 出力エラーを追加しました。
プラットフォーム: Red Hat Enterprise Linux Server リリース 6.3 (サンティアゴ)
カーネル:Linux localhost 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
gcc バージョン: 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
ブースト: 1.48
1)/usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
2)/usr/local/include/boost/config/requires_threads.hpp:47:5: error: #error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)"
何か良いアイデアがあれば、よろしくお願いします。
ありがとう!