ogl-sample
[Top] [All Lists]

Gcc 3.2 and glu.h....

To: ogl-sample@xxxxxxxxxxx
Subject: Gcc 3.2 and glu.h....
From: josephn@xxxxxxxxxxxxxxxx
Date: Tue, 24 Sep 2002 21:29:47 +0100
Sender: ogl-sample-bounce@xxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.0
Hy!

I'm sending this cos, I now have the lastest version of gcc, gcc (GCC) 3.2
(Mandrake Linux 9.0 3.2-1mdk)
, and I can't compile my OpenGL programs.

This are the errors:

---------------------------------------------------------------------
In file included from ../includes/xwin.hpp:11,
                 from vel_ac.cpp:1:
/usr/X11R6/include/GL/glu.h:261: parse error before `*' token
/usr/X11R6/include/GL/glu.h:263: syntax error before `void'
/usr/X11R6/include/GL/glu.h:264: syntax error before `void'
/usr/X11R6/include/GL/glu.h:265: syntax error before `void'
/usr/X11R6/include/GL/glu.h:266: syntax error before `void'
/usr/X11R6/include/GL/glu.h:267: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:268: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:269: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:270: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:271: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:272: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:273: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:274: syntax error before `void'
/usr/X11R6/include/GL/glu.h:275: syntax error before `void'
/usr/X11R6/include/GL/glu.h:276: syntax error before `void'
/usr/X11R6/include/GL/glu.h:277: syntax error before `void'
/usr/X11R6/include/GL/glu.h:278: syntax error before `void'
/usr/X11R6/include/GL/glu.h:279: syntax error before `void'
/usr/X11R6/include/GL/glu.h:280: syntax error before `void'
/usr/X11R6/include/GL/glu.h:281: syntax error before `void'
/usr/X11R6/include/GL/glu.h:282: syntax error before `void'
/usr/X11R6/include/GL/glu.h:283: syntax error before `const'
/usr/X11R6/include/GL/glu.h:284: syntax error before `void'
/usr/X11R6/include/GL/glu.h:285: syntax error before `const'
/usr/X11R6/include/GL/glu.h:286: syntax error before `void'
/usr/X11R6/include/GL/glu.h:287: syntax error before `void'
/usr/X11R6/include/GL/glu.h:288: syntax error before `void'
/usr/X11R6/include/GL/glu.h:289: syntax error before `*' token
/usr/X11R6/include/GL/glu.h:290: syntax error before `*' token
/usr/X11R6/include/GL/glu.h:291: syntax error before `*' token
/usr/X11R6/include/GL/glu.h:292: syntax error before `void'
/usr/X11R6/include/GL/glu.h:293: syntax error before `void'
/usr/X11R6/include/GL/glu.h:294: syntax error before `void'
/usr/X11R6/include/GL/glu.h:295: syntax error before `void'
/usr/X11R6/include/GL/glu.h:296: syntax error before `void'
/usr/X11R6/include/GL/glu.h:297: syntax error before `void'
/usr/X11R6/include/GL/glu.h:298: syntax error before `void'
/usr/X11R6/include/GL/glu.h:299: syntax error before `void'
/usr/X11R6/include/GL/glu.h:300: syntax error before `void'
/usr/X11R6/include/GL/glu.h:301: syntax error before `void'
/usr/X11R6/include/GL/glu.h:302: syntax error before `void'
/usr/X11R6/include/GL/glu.h:303: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:304: syntax error before `void'
/usr/X11R6/include/GL/glu.h:305: syntax error before `void'
/usr/X11R6/include/GL/glu.h:306: syntax error before `void'
/usr/X11R6/include/GL/glu.h:307: syntax error before `void'
/usr/X11R6/include/GL/glu.h:308: syntax error before `void'
/usr/X11R6/include/GL/glu.h:309: syntax error before `void'
/usr/X11R6/include/GL/glu.h:310: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:311: syntax error before `void'
/usr/X11R6/include/GL/glu.h:312: syntax error before `void'
/usr/X11R6/include/GL/glu.h:313: syntax error before `void'
/usr/X11R6/include/GL/glu.h:314: syntax error before `void'
/usr/X11R6/include/GL/glu.h:315: syntax error before `void'
/usr/X11R6/include/GL/glu.h:316: syntax error before `void'
/usr/X11R6/include/GL/glu.h:317: syntax error before `void'
/usr/X11R6/include/GL/glu.h:318: syntax error before `void'
/usr/X11R6/include/GL/glu.h:319: syntax error before `void'
/usr/X11R6/include/GL/glu.h:320: syntax error before `GLAPIENTRY'
/usr/X11R6/include/GL/glu.h:321: syntax error before `GLAPIENTRY'

-----------------------------------------------------------------

I've talked to some people, and they said that this might be a incompatibily
problem... Do you know waht the problem is? Can you fix it?

thanks

Here is more info about my machine opengl installation:

------------------------------------------------------------------------
GL_VERSION: 1.3.1 NVIDIA 31.23
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multitexture GL_ARB_texture_compression
GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3 GL_ARB_transpose_matrix GL_S3_s3tc GL_EXT_abgr
GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract
GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_draw_range_elements
GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels
GL_EXT_paletted_texture GL_EXT_point_parameters GL_EXT_rescale_normal
GL_EXT_secondary_color GL_EXT_separate_specular_color
GL_EXT_shared_texture_palette GL_EXT_stencil_wrap
GL_EXT_texture_compression_s3tc GL_EXT_texture_edge_clamp GL_EXT_texture_env_add
GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_cube_map
GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias
GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_vertex_weighting
GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square
GL_NV_evaluators GL_NV_fence GL_NV_fog_distance GL_NV_light_max_exponent
GL_NV_packed_depth_stencil GL_NV_register_combiners GL_NV_texgen_emboss
GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle
GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program
GL_NV_vertex_program1_1 GL_SGIS_generate_mipmap GL_SGIS_multitexture
GL_SGIS_texture_lod
GL_RENDERER: GeForce2 MX/AGP/3DNOW!
GL_VENDOR: NVIDIA Corporation
GLU_VERSION: 1.3
GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess
GLUT_API_VERSION: 3
GLUT_XLIB_IMPLEMENTATION: 15
-------------------------------------------------------------------------
--------------------------------------------------------------
O e-mail preferido dos portugueses http://www.portugalmail.pt/

<Prev in Thread] Current Thread [Next in Thread>