Thanks for the reply I downlaoded these 3 tar balls. MesaLib-7.1.tar.bz2 MesaGLUT-7.1.tar.bz2 MesaDemos-7.1.tar.bz2
To build MesaLib I followed these steps:- tar xvfj MesaLib-7.1.tar.bz2 cd Mesa-7.1/ make linux-directfb make install make linux-directfb-install This is successfully working for me I able to install it --->But if I untar MesaGlut in same directory it show these errors --> here i am not using X11 as i want to build it above directfb , my yhis configuration do not have X11 so can not support makedepend how to resolve this akedepend -fdepend -I../../../include -I../../../src/glut/glx -D_REENTRANT -I/usr/local/include/directfb callback.c color.c cursor.c ext.c events.c font.c game.c globals.c init.c menu.c models.c overlay.c state.c teapot.c window.c ../../../src/glut/glx/glut_8x13.c ../../../src/glut/glx/glut_9x15.c ../../../src/glut/glx/glut_hel10.c ../../../src/glut/glx/glut_hel12.c ../../../src/glut/glx/glut_hel18.c ../../../src/glut/glx/glut_tr10.c ../../../src/glut/glx/glut_tr24.c > /dev/null /scratchbox/tools/bin/sh: line 1: makedepend: command not found make[3]: *** [depend] Error 127 make[3]: Leaving directory `/home/user/mesa/Mesa-7.1/src/glut/directfb' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/user/mesa/Mesa-7.1/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/home/user/mesa/Mesa-7.1' make: *** [linux-directfb] Error 2 second probelm If I untrar MesaDemos-7.1.tar.bz2, Then also i am not able to build please see error message Please help me to resolve this So i can build these samples I am not able to understand why I am getting these error * Making Linux shared library: libGLU.so.1.3.070100 mklib: Installing libGLU.so.1.3.070100 libGLU.so.1 libGLU.so in ../../../lib make[5]: Leaving directory `/home/user/mesa/Mesa-7.1/src/glu/sgi' make[4]: Leaving directory `/home/user/mesa/Mesa-7.1/src/glu/sgi' make[3]: Leaving directory `/home/user/mesa/Mesa-7.1/src/glu' make[2]: Leaving directory `/home/user/mesa/Mesa-7.1/src' make[2]: Entering directory `/home/user/mesa/Mesa-7.1/progs' Making programs for linux-directfb make[3]: Entering directory `/home/user/mesa/Mesa-7.1/progs/demos' gcc -c -I../../include -Wall -O3 -ffast-math -fPIC -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DPTHREADS -fno-strict-aliasing readtex.c gcc -I../../include -Wall -O3 -ffast-math -fPIC -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DPTHREADS -fno-strict-aliasing arbfplight.c readtex.o -L../../lib -lglut -lGLU -lGL -L../../lib -lGL -lGLU -lglut -o arbfplight arbfplight.c:14:21: GL/glut.h: No such file or directory arbfplight.c:17: error: syntax error before "Diffuse" arbfplight.c:17: warning: type defaults to `int' in declaration of `Diffuse' arbfplight.c:17: warning: data definition has no type or storage class arbfplight.c:18: error: syntax error before "Specular" arbfplight.c:18: warning: type defaults to `int' in declaration of `Specular' arbfplight.c:18: warning: data definition has no type or storage class arbfplight.c:19: error: syntax error before "LightPos" arbfplight.c:19: warning: type defaults to `int' in declaration of `LightPos' arbfplight.c:19: warning: data definition has no type or storage class arbfplight.c:20: error: syntax error before "Delta" arbfplight.c:20: warning: type defaults to `int' in declaration of `Delta' arbfplight.c:20: warning: data definition has no type or storage class arbfplight.c:22: error: syntax error before "FragProg" arbfplight.c:22: warning: type defaults to `int' in declaration of `FragProg' arbfplight.c:22: warning: data definition has no type or storage class arbfplight.c:23: error: syntax error before "VertProg" arbfplight.c:23: warning: type defaults to `int' in declaration of `VertProg' arbfplight.c:23: warning: data definition has no type or storage class arbfplight.c:24: error: syntax error before "Anim" arbfplight.c:24: warning: type defaults to `int' in declaration of `Anim' arbfplight.c:24: error: `GL_TRUE' undeclared here (not in a function) arbfplight.c:24: warning: data definition has no type or storage class arbfplight.c:25: error: syntax error before "Wire" arbfplight.c:25: warning: type defaults to `int' in declaration of `Wire' arbfplight.c:25: error: `GL_FALSE' undeclared here (not in a function) arbfplight.c:25: warning: data definition has no type or storage class arbfplight.c:26: error: syntax error before "PixelLight" arbfplight.c:26: warning: type defaults to `int' in declaration of `PixelLight' arbfplight.c:26: warning: data definition has no type or storage class arbfplight.c:27: error: syntax error before "Win" arbfplight.c:27: warning: type defaults to `int' in declaration of `Win' arbfplight.c:27: warning: data definition has no type or storage class arbfplight.c:29: error: syntax error before "T0" arbfplight.c:29: warning: type defaults to `int' in declaration of `T0' arbfplight.c:29: warning: data definition has no type or storage class arbfplight.c:30: error: syntax error before "Frames" arbfplight.c:30: warning: type defaults to `int' in declaration of `Frames' arbfplight.c:30: warning: data definition has no type or storage class arbfplight.c:32: error: syntax error before "Xrot" arbfplight.c:32: warning: type defaults to `int' in declaration of `Xrot' arbfplight.c:32: warning: type defaults to `int' in declaration of `Yrot' arbfplight.c:32: warning: data definition has no type or storage class arbfplight.c:34: error: syntax error before "glProgramLocalParameter4fvARB_func" arbfplight.c:34: warning: type defaults to `int' in declaration of `glProgramLocalParameter4fvARB_func' arbfplight.c:34: warning: data definition has no type or storage class arbfplight.c:35: error: syntax error before "glProgramLocalParameter4dARB_func" arbfplight.c:35: warning: type defaults to `int' in declaration of `glProgramLocalParameter4dARB_func' arbfplight.c:35: warning: data definition has no type or storage class arbfplight.c:36: error: syntax error before "glGetProgramLocalParameterdvARB_func" arbfplight.c:36: warning: type defaults to `int' in declaration of `glGetProgramLocalParameterdvARB_func' arbfplight.c:36: warning: data definition has no type or storage class arbfplight.c:37: error: syntax error before "glGenProgramsARB_func" arbfplight.c:37: warning: type defaults to `int' in declaration of `glGenProgramsARB_func' arbfplight.c:37: warning: data definition has no type or storage class arbfplight.c:38: error: syntax error before "glProgramStringARB_func" arbfplight.c:38: warning: type defaults to `int' in declaration of `glProgramStringARB_func' arbfplight.c:38: warning: data definition has no type or storage class arbfplight.c:39: error: syntax error before "glBindProgramARB_func" arbfplight.c:39: warning: type defaults to `int' in declaration of `glBindProgramARB_func' arbfplight.c:39: warning: data definition has no type or storage class arbfplight.c:40: error: syntax error before "glIsProgramARB_func" arbfplight.c:40: warning: type defaults to `int' in declaration of `glIsProgramARB_func' arbfplight.c:40: warning: data definition has no type or storage class arbfplight.c:41: error: syntax error before "glDeleteProgramsARB_func" arbfplight.c:41: warning: type defaults to `int' in declaration of `glDeleteProgramsARB_func' arbfplight.c:41: warning: data definition has no type or storage class arbfplight.c: In function `Redisplay': arbfplight.c:52: warning: implicit declaration of function `glClear' arbfplight.c:52: error: `GL_COLOR_BUFFER_BIT' undeclared (first use in this function) arbfplight.c:52: error: (Each undeclared identifier is reported only once arbfplight.c:52: error: for each function it appears in.) arbfplight.c:52: error: `GL_DEPTH_BUFFER_BIT' undeclared (first use in this function) arbfplight.c:55: error: `GL_FRAGMENT_PROGRAM_ARB' undeclared (first use in this function) arbfplight.c:56: error: called object is not a function arbfplight.c:57: warning: implicit declaration of function `glEnable' arbfplight.c:58: error: `GL_VERTEX_PROGRAM_ARB' undeclared (first use in this function) arbfplight.c:59: warning: implicit declaration of function `glDisable' arbfplight.c:59: error: `GL_LIGHTING' undeclared (first use in this function) arbfplight.c:62: warning: implicit declaration of function `glLightfv' arbfplight.c:62: error: `GL_LIGHT0' undeclared (first use in this function) arbfplight.c:62: error: `GL_POSITION' undeclared (first use in this function) arbfplight.c:68: warning: implicit declaration of function `glPushMatrix' arbfplight.c:69: warning: implicit declaration of function `glRotatef' arbfplight.c:71: warning: implicit declaration of function `glutSolidSphere' arbfplight.c:72: warning: implicit declaration of function `glPopMatrix' arbfplight.c:74: warning: implicit declaration of function `glutSwapBuffers' arbfplight.c:79: error: `GLint' undeclared (first use in this function) arbfplight.c:79: error: syntax error before "t" arbfplight.c:80: error: `t' undeclared (first use in this function) arbfplight.c:81: error: `GLfloat' undeclared (first use in this function) arbfplight.c:81: error: syntax error before "seconds" arbfplight.c:83: error: `seconds' undeclared (first use in this function) arbfplight.c:83: error: `fps' undeclared (first use in this function) arbfplight.c: In function `Idle': arbfplight.c:98: warning: implicit declaration of function `glutPostRedisplay' arbfplight.c: In function `Reshape': arbfplight.c:104: warning: implicit declaration of function `glViewport' arbfplight.c:105: warning: implicit declaration of function `glMatrixMode' arbfplight.c:105: error: `GL_PROJECTION' undeclared (first use in this function) arbfplight.c:106: warning: implicit declaration of function `glLoadIdentity' arbfplight.c:107: warning: implicit declaration of function `glFrustum' arbfplight.c:108: error: `GL_MODELVIEW' undeclared (first use in this function) arbfplight.c:110: warning: implicit declaration of function `glTranslatef' arbfplight.c: In function `Key': arbfplight.c:123: warning: implicit declaration of function `glutIdleFunc' arbfplight.c:136: warning: implicit declaration of function `glPolygonMode' arbfplight.c:136: error: `GL_FRONT_AND_BACK' undeclared (first use in this function) arbfplight.c:136: error: `GL_LINE' undeclared (first use in this function) arbfplight.c:138: error: `GL_FILL' undeclared (first use in this function) arbfplight.c:150: error: called object is not a function arbfplight.c:151: error: called object is not a function arbfplight.c:152: warning: implicit declaration of function `glutDestroyWindow' arbfplight.c: In function `SpecialKey': arbfplight.c:161: error: syntax error before "step" arbfplight.c:165: error: `GLUT_KEY_UP' undeclared (first use in this function) arbfplight.c:166: error: `step' undeclared (first use in this function) arbfplight.c:168: error: `GLUT_KEY_DOWN' undeclared (first use in this function) arbfplight.c:171: error: `GLUT_KEY_LEFT' undeclared (first use in this function) arbfplight.c:174: error: `GLUT_KEY_RIGHT' undeclared (first use in this function) arbfplight.c: In function `Init': arbfplight.c:196: error: `GLint' undeclared (first use in this function) arbfplight.c:196: error: syntax error before "errorPos" arbfplight.c:267: warning: implicit declaration of function `glutExtensionSupported' arbfplight.c:279: error: `PFNGLPROGRAMLOCALPARAMETER4FVARBPROC' undeclared (first use in this function) arbfplight.c:279: error: syntax error before "glutGetProcAddress" arbfplight.c:282: error: `PFNGLPROGRAMLOCALPARAMETER4DARBPROC' undeclared (first use in this function) arbfplight.c:282: error: syntax error before "glutGetProcAddress" arbfplight.c:285: error: `PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC' undeclared (first use in this function) arbfplight.c:285: error: syntax error before "glutGetProcAddress" arbfplight.c:288: error: `PFNGLGENPROGRAMSARBPROC' undeclared (first use in this function) arbfplight.c:288: error: syntax error before "glutGetProcAddress" arbfplight.c:291: error: `PFNGLPROGRAMSTRINGARBPROC' undeclared (first use in this function) arbfplight.c:291: error: syntax error before "glutGetProcAddress" arbfplight.c:294: error: `PFNGLBINDPROGRAMARBPROC' undeclared (first use in this function) arbfplight.c:294: error: syntax error before "glutGetProcAddress" arbfplight.c:297: error: `PFNGLISPROGRAMARBPROC' undeclared (first use in this function) arbfplight.c:297: error: syntax error before "glutGetProcAddress" arbfplight.c:300: error: `PFNGLDELETEPROGRAMSARBPROC' undeclared (first use in this function) arbfplight.c:300: error: syntax error before "glutGetProcAddress" arbfplight.c:306: error: called object is not a function arbfplight.c:308: error: `GL_FRAGMENT_PROGRAM_ARB' undeclared (first use in this function) arbfplight.c:308: error: called object is not a function arbfplight.c:310: error: `GL_PROGRAM_FORMAT_ASCII_ARB' undeclared (first use in this function) arbfplight.c:312: error: syntax error before "GLubyte" arbfplight.c:313: warning: implicit declaration of function `glGetIntegerv' arbfplight.c:313: error: `GL_PROGRAM_ERROR_POSITION_ARB' undeclared (first use in this function) arbfplight.c:313: error: `errorPos' undeclared (first use in this function) arbfplight.c:314: warning: implicit declaration of function `glGetError' arbfplight.c:314: error: `GL_NO_ERROR' undeclared (first use in this function) arbfplight.c:317: warning: implicit declaration of function `glGetString' arbfplight.c:317: error: `GL_PROGRAM_ERROR_STRING_ARB' undeclared (first use in this function) arbfplight.c:320: error: called object is not a function arbfplight.c:326: error: `GLdouble' undeclared (first use in this function) arbfplight.c:326: error: syntax error before "v" arbfplight.c:328: error: called object is not a function arbfplight.c:329: error: `v' undeclared (first use in this function) arbfplight.c:329: error: called object is not a function arbfplight.c:339: error: called object is not a function arbfplight.c:341: error: `GL_VERTEX_PROGRAM_ARB' undeclared (first use in this function) arbfplight.c:341: error: called object is not a function arbfplight.c:345: error: syntax error before "GLubyte" arbfplight.c:353: error: called object is not a function arbfplight.c:358: warning: implicit declaration of function `glClearColor' arbfplight.c:359: error: `GL_DEPTH_TEST' undeclared (first use in this function) arbfplight.c:360: error: `GL_LIGHT0' undeclared (first use in this function) arbfplight.c:361: error: `GL_LIGHTING' undeclared (first use in this function) arbfplight.c:362: warning: implicit declaration of function `glMaterialfv' arbfplight.c:362: error: `GL_FRONT_AND_BACK' undeclared (first use in this function) arbfplight.c:362: error: `GL_DIFFUSE' undeclared (first use in this function) arbfplight.c:363: error: `GL_SPECULAR' undeclared (first use in this function) arbfplight.c:364: warning: implicit declaration of function `glMaterialf' arbfplight.c:364: error: `GL_SHININESS' undeclared (first use in this function) arbfplight.c:376: error: `GL_RENDERER' undeclared (first use in this function) arbfplight.c: In function `main': arbfplight.c:383: warning: implicit declaration of function `glutInit' arbfplight.c:384: warning: implicit declaration of function `glutInitWindowPosition' arbfplight.c:385: warning: implicit declaration of function `glutInitWindowSize' arbfplight.c:386: warning: implicit declaration of function `glutInitDisplayMode' arbfplight.c:386: error: `GLUT_RGB' undeclared (first use in this function) arbfplight.c:386: error: `GLUT_DOUBLE' undeclared (first use in this function) arbfplight.c:386: error: `GLUT_DEPTH' undeclared (first use in this function) arbfplight.c:387: warning: implicit declaration of function `glutCreateWindow' arbfplight.c:388: warning: implicit declaration of function `glutReshapeFunc' arbfplight.c:389: warning: implicit declaration of function `glutKeyboardFunc' arbfplight.c:390: warning: implicit declaration of function `glutSpecialFunc' arbfplight.c:391: warning: implicit declaration of function `glutDisplayFunc' arbfplight.c:395: warning: implicit declaration of function `glutMainLoop' make[3]: *** [arbfplight] Error 1 make[3]: Leaving directory `/home/user/mesa/Mesa-7.1/progs/demos' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/user/mesa/Mesa-7.1/progs' make[1]: *** [default] Error 1 make[1]: Leaving directory `/home/user/mesa/Mesa-7.1' make: *** [linux-directfb] Error 2* On Fri, Sep 5, 2008 at 4:39 PM, Ville Syrjälä <[EMAIL PROTECTED]> wrote: > On Fri, Sep 05, 2008 at 02:21:06PM +0900, Manish wrote: > > I am trying to Build DirectFBGL for Verizon Set Top Box using Scratch > box. > > For that I need to build "Mesa-embedded-2-branch" > > > > Mesa-embedded-2-branch is suffering from bitrot and is only meant for > Matrox G-series cards. It's probably not what you want. For a pure > software rendering solution you should just download a recent Mesa and > build it for the directfb target. > > > ---> this seems quite old version at > > http://www.sci.fi/~syrjala/gl/<http://www.sci.fi/%7Esyrjala/gl/>of July > > 2004. > > is there any new version of this exist ????? > > No. > > > ---->This tar file dont have any autogen or configure script. > > Even i am facing error on building it > > > > Please suggest how to build that. > > If you really want to build it read > http://www.sci.fi/~syrjala/gl/readme.txt<http://www.sci.fi/%7Esyrjala/gl/readme.txt> > > > --->also suggest me can I build DirectFBGL module provided with Mesalib- > > 7.1. > > Ah, so you already tried that one. > > > I successfully able to build and install it. > > -->even after that I not able to Build example or sample provided with > it.\ > > Which examples are you trying to build and how does the build fail? > > -- > Ville Syrjälä > [EMAIL PROTECTED] > http://www.sci.fi/~syrjala/ <http://www.sci.fi/%7Esyrjala/> > -- With Best Regards Manish Hemani
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev