请教有关 X Server 的一个错误

iambic 2005-12-26 09:45:12

最近在学计算机图形学,用到一个叫SRGP的初级图形软件包,编译时没有问题,运行时候出现如下错误信息:

————————————————————

SRGP: Color table too full to share.
A solution is to have the SRGP application request
0 planes in the 4th parameter to SRGP_begin.
For now, the application will have its own
color table, rather than try to share.
SRGP FATAL ERROR:
X SERVER ERROR
(examining the core will be useful only if using X in synchronous mode):
BadMatch (invalid parameter attributes)


I AM ABOUT TO INTENTIONALLY CRASH SO YOU CAN LOOK
AT THE ACTIVATION STACK USING A DEBUGGER.

If your application is an SRGP application, please remember:
If the error message above says
that you sent a bad argument to a certain function,
you should run your program with tracing ON in order
to see exactly what you sent.
If you already had tracing enabled, remember to look in
'SRGPlogfile' for the tracing messages.


————————————————————

后来拿到cygwin下面也是同样的错误。小弟并没有在Linux下面做过图形相关编程,不知道如何解决。

哪位能给个办法?感激不尽。
...全文
144 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
iambic 2006-01-09
  • 打赏
  • 举报
回复
再没人回只能删贴了。
fierygnu 2006-01-09
  • 打赏
  • 举报
回复
一般X服务器使用共享的颜色表,即所有应用使用一个颜色表。你看看SRGP_begin的说明是不是可以使用该颜色表。
iambic 2005-12-27
  • 打赏
  • 举报
回复
没有人回,自己顶一个。等待中...

23,125

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧