如果你在使用cmake -G Xcode -Wno-dev OpenGL_Tutorial 时,出现了pThread.h not found的错误, 碰巧你和我一样使用的还是 2.8 版本的cmake。

那么请试用brew install cmake来安装最新的3.0.2版本的cmake。

 

OpenGL tutorial的资源:

首先到网址[1],下载源代码,解压后使用cmake -G Xcode -Wno-dev ./Opengl_tutorial 生成xcode的项目文件。 

 

相关文章:

  • 2021-11-20
  • 2021-09-11
  • 2021-08-06
  • 2021-11-25
  • 2022-12-23
  • 2021-09-03
猜你喜欢
  • 2021-10-02
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2021-10-03
  • 2021-04-16
  • 2021-09-07
相关资源
相似解决方案