Linking error: DSO missing from command line

前端 未结 4 1504
孤城傲影
孤城傲影 2020-11-30 04:31

I am rather new to Linux (using Ubuntu 14.04 LTS 64bit), coming from Windows, and am attempting to port over an existing CUDA project of mine.

When linking via

4条回答
  •  失恋的感觉
    2020-11-30 05:03

    Try to add -pthread at the end of the library list (command line) in the Makefile.

    It worked for me.

提交回复
热议问题