No announcement yet.

Linking and Using pthread in Linux Ubuntu

  • Filter
  • Time
  • Show
Clear All
new posts

    Linking and Using pthread in Linux Ubuntu

    Hey guys,

    I'm new to UE programming, and I want to some third party codes into my plugin. I have the source code and the static library file (.a) of the third party library. I have tested at somewhere else that the ".a" lib cannot be used without pthread.

    If using cmake, it is very easy to add

    find_package(Threads REQUIRED)
    and link the
    But I don't know if I can do that in UE using it's unreal build system. Is there a way to use pthread in UE? Please help!!! Thank you very much!

    I've got the same problem. Under Windows one can just modfy the VC project file and add a library but not sure how that works under Linux. Also the /Source directory has no CMakeLists.txt.
    In particular I have a machine learning library which I need to add. Can be static or dynamic. Any help very much appreciated.
    Last edited by berndporr; 01-22-2019, 01:02 PM.