Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 求助,关于作业7的多线程加速

Viewing 2 reply threads
  • Author
    Posts
    • #10528 Score: 0
      VeKToR
      Participant

      报错如下,用thread并行lambda后参数传不进去,应该就是66行那里出了问题,但不知道为什么错也看不懂报错,望有大佬指出

    • #11897 Score: 0
      ichi
      Participant

      是不是cmakelists里面没有添加pthread相关的链接库?

    • #11981 Score: 0
      愿我能
      Participant

      没有链接pthread库,在CMakeLists.txt中给编译选项添加-pthread

Viewing 2 reply threads
  • You must be logged in to reply to this topic.