GLUT:致命错误:未找到必要功能的像素格式 [英] GLUT:fatal error:pixel format with necessary capabilities not found

查看:249
本文介绍了GLUT:致命错误:未找到必要功能的像素格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直致力于图像处理,
$ b $两个错误,即GLUT:致命错误:没有找到必要功能的像素格式

任何人都可以帮我解决

谢谢

I ve been working on image processing ,
i ve got error i.e. GLUT:fatal error:pixel format with necessary capabilities not found
can any one help me out
thanks

推荐答案

嗯,这是一个非常古老的问题,它缺少很多信息。我来到这里是因为我在运行时遇到了同样的错误,试图编译这个遗留的示例代码来自我的mac上的 OpenGL编程指南(红皮书)样本

做一些搜索我发现问题是由很久以前已经折旧的GLUT_INDEX造成的,必须避免。可以在这里找到GLUT_RGB的替代实现。

我希望它有所帮助。
well, this is a very old question and it lacks a lot of information. I got here because I got the same error at runtime trying to compile this legacy sample code from OpenGL Programming Guide (Red Book) samples on my mac.
Doing some search I realised the issue is caused by GLUT_INDEX which has been depreciated a long time ago and it must be avoided. an alternative implementation with GLUT_RGB can be found here.
I hope it helps.


这篇关于GLUT:致命错误:未找到必要功能的像素格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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