Can't link against Boost.Thread 1.46.1 with MinGW 4.5.2

后端 未结 1 1214
无人及你
无人及你 2021-01-21 12:22

I\'ve built boost using:

bjam --toolset=gcc --with-thread stage

Whenever I\'m trying to actually use Boost.Thread I\'m getting undefined refere

相关标签:
1条回答
  • 2021-01-21 13:07

    Try adding the compiler option '-DBOOST_THREAD_USE_LIB'

    0 讨论(0)
提交回复
热议问题