Eclipse标记OpenGL函数无法解析 [英] Eclipse marks OpenGL functions cannot be resolved

查看:124
本文介绍了Eclipse标记OpenGL函数无法解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试着在Eclipse C / C ++中使用一些OpenGL函数。一些标准函数作为GlClear被eclipse识别,其他人像glBindBuffer()和glEnableVertexAttribArray()不是。他们只是红色下划线。

I tried making use of some OpenGL-functions in Eclipse C/C++. some "standard" functions as GlClear are recognized by eclipse, others like glBindBuffer() and glEnableVertexAttribArray() aren't. They are just underlined in red.

但是编译是成功的,只有这个令人不安的下划线。

However compilation is succesful, there's just this disturbing underlining..

我已经连接glut,GL,GLU和GLEW和我的操作系统是arch linux。我使用eclipse 3.7.2

I have linked glut, GL, GLU and GLEW and my operating system is arch linux. I use eclipse 3.7.2

我还需要做些什么来避免这些错误?

What do I have to do additionally to avoid these errors?

推荐答案

尝试右键单击您的项目,然后在弹出式菜单中:索引>重建

Try right-click your project and in the popup menu: Index > Rebuild

这篇关于Eclipse标记OpenGL函数无法解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆