从 sourceforge 上下载 glew,然后用 cmake 配置编译

cd glew-2.1.0
cd build
mkdir linux
cd linux
cmake ../cmake -DCMAKE_INSTALL_PREFIX=./install
make

在 GL 程序编译选项中加入 -lGLEW 注意一定要大写

相关文章:

  • 2021-07-03
  • 2021-04-22
  • 2021-06-06
  • 2021-06-26
  • 2021-06-20
  • 2021-08-31
  • 2021-12-10
  • 2022-12-23
猜你喜欢
  • 2021-05-31
  • 2022-12-23
  • 2021-06-26
  • 2021-08-12
  • 2022-02-28
  • 2022-12-23
相关资源
相似解决方案