我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

MAC去获取github.com/go-gl/gl

On MAC i am trying to setup GO-GL, but when i run

go get github.com/go-gl/gl

I get the following error:

In file included from src/github.com/go-gl/gl/attriblocation.go:7:./gl.h:2:10: fatal error: 'GL/glew.h' file not found

Someone please help me figure this out!

Unless you have a good reason not to, you should use go-gl/glow package instead of go-gl/gl. It will provide you and your users with a better experience.

https://github.com/go-gl/glow#glow

近期文章

  • 如何实现文件系统?
  • 如何将邮件标记为未读?
  • Go上App Engine的静态文件托管限制
  • 如何更新转到列表中的下一个指针?
  • 转到正则表达式以将标签与括号匹配
  • 使用code.google.com/p/google-api-go-client/youtube/v3的Youtube v3 api
  • 重试403禁止的HTTP请求?
  • 执行:指向接口{}的指针丢失基础类型
  • 访问模板中包含空格的字段
  • 为所有用户设置转到路径时出错。
  • Golang扣除日期的特定时间
  • 当此类行不存在时,Go func(* DB)查询返回
  • 转到模板检查当前页面的导航栏
  • 如何查看unicode类别中的所有字符?
  • 解析Freebase RDF时golang内存不足
  • 如何测试实现大猩猩上下文的功能
  • Golang结构问题指向父结构方法
  • 使用正在运行的shell修改golang Docker Container
  • 转到异常“信号在CGO执行期间到达”
  • 从POST返回ID

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华