开发者

Problem with glaux.h locating

开发者 https://www.devze.com 2022-12-25 19:33 出处:网络
I try to compile code, that beggins with: #include<stdlib.h> #include<GL/gl.h> #include<glaux.h>

I try to compile code, that beggins with:

#include<stdlib.h>
#include<GL/gl.h>
#include<glaux.h>

with command:

cc -o test test.c -I/usr/local/include -L/usr/local/lib -lMesaaux -lMesatk -lMesaGL -lXext -lX11 -lm

But one of errors I got is:

test.c:3:18: error: glaux.h: No such file or directory

Then I try:

yum provides glaux.h

but yum find anything.

Before all I installed Mesa with:

yum install mesa*

So, can anyone tell m开发者_运维知识库e from where I can get the header file?

Thank you for ahead.


So, I deleted glaux.h from includes (and all functions calls from this header) and successfully compiled with

-lm -lGL

cc keys.

0

精彩评论

暂无评论...
验证码 换一张
取 消