Hi! Did you add "thread" to MITK_USE_Boost_LIBRARIES in the *superbuild*? Binary boost libraries like the thread library must be switched on explicitly. If I remember correctly, there's a dependency between Boost system and Boost thread, so you should set MITK_USE_Boost_LIBRARIES actually to "system;thread".
Best regards, Stefan ________________________________________ Von: Pukhlikov Mikhail [mikhail.pukhli...@outlook.com] Gesendet: Freitag, 29. Januar 2016 14:37 An: mitk-users@lists.sourceforge.net Betreff: [mitk-users] How to link module with pthread Hello! I'm writing module which is using boost asio which fails during linking due pthread_deatch etc... missing I need to guard pthread linking only for linux for now my cmake looks this way: MITK_CREATE_MODULE( PACKAGE_DEPENDS PUBLIC Boost ) but I'm getting: MITK-superbuild/ep/include/boost/asio/detail/impl/posix_thread.ipp:35: undefined reference to `pthread_detach' ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users