<br><br><div class="gmail_quote">2009/3/28 Prabodh CP <span dir="ltr">&lt;<a href="mailto:prabodhcp@gmail.com">prabodhcp@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am sending the OpenGL programs as an attachment just change the signature of the main program from void to int and all of them should work fine<br><br>Then regarding the error message you mentioned i got the same error while working with <b>Ubuntu </b>(probably some display header file missing) I could not fix the error but however i tried the same program on <b>Mandriva 2009  </b>where i could compile and run the same program successfully this might not be the solution to your query but at least this can be of some help.<br>

</blockquote><div><br>great!!!!<br><br>the opengl programs you sent are running perfectly , <br><br>thanks  a lot ------- <br><br>i could execute on acer laptop travelmate 4150 -- on which i have installed fedora 10 , i installed freeglut package and also the development package <br>
<br>and i did as follows <br><br>[prabha@brp ~]$ cd Download/openGL\ progs<br>[prabha@brp openGL progs]$ ls<br>circle.cpp           gasket_vtu.cpp      points_demo.cpp    simplelinedraw.cpp<br>cslineclip.cpp       houserot.c          rect_mesh_vtu.cpp  spin_cube_vtu.cpp<br>
Cube_Viewer_vtu.cpp  house_rot_vtu.cpp   rot_cube_vtu.cpp   tetra_vtu.cpp<br>cyl_pp_vtu.cpp       lblineclip_vtu.cpp  scene_vtu.cpp      triangle_demo.cpp<br>fillpoly_vtu.cpp     mesh_bez.cpp        Simple_first.cpp<br>[prabha@brp openGL progs]$ g++ -lglut spin_cube_vtu.cpp <br>
[prabha@brp openGL progs]$ ./a.out<br><br><br>i could see the spinning cube<br><br>-- once again thanks  a lot --- <br><br><br></div></div><br>