OpenGL环境的建立:
上面是教程,下面是出的错的解决方法
- 画个三角形
error:ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
solve:缺少某个库,在build phases->link binary with libraries处添加“libgltools.dylib”文件,之后就报了另一个错。。。
error:ld: library not found for -lgltools
clang: error: linker command failed with exit code 1 (use -v to see invocation)
solve:library https://blog.csdn.net/harryptter/article/details/50380686
( !在这里强烈👍一下我们孙雨馨同学,找的教程太管用了!)