Compiling with <b>CogUnixConfig</b> works... are the class names ok? Or Maybe the No in the NoGL means something different, hehe.<br><br>Thanks,<br>Guille<br><br><div class="gmail_quote">On Thu, Jan 12, 2012 at 6:37 PM, Guillermo Polito <span dir="ltr">&lt;<a href="mailto:guillermopolito@gmail.com">guillermopolito@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">BTW, what more annoys me is that I generated the sources with <b>CogUnixNoGLConfig</b>, hehe<br><br>Guille<div class="HOEnZb">
<div class="h5"><br><br><div class="gmail_quote">On Thu, Jan 12, 2012 at 6:25 PM, Guillermo Polito <span dir="ltr">&lt;<a href="mailto:guillermopolito@gmail.com" target="_blank">guillermopolito@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I compile the last version of the Vm in my 32bit ubuntu, I get the following:<br><br>In file included from /home/guille/Dev/Pharo/cogvm/coglinux/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:30:0:<br>


/home/guille/Dev/Pharo/cogvm/coglinux/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:13:16: error: redefinition of ‘struct glRenderer’<br>/home/guille/Dev/Pharo/cogvm/coglinux/blessed/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:6:16: note: originally defined here<br>


<br><br>Diving into the code, I found that in sqUnixOpenGL.h there is code like:<br><br>...<br><br>typedef struct glRenderer<br>{<br>  int      bufferRect[4];<br>  int      viewport[4];<br>  int      used;<br>  void     *drawable;<br>


  void     *context;<br>} glRenderer;<br><br>#if defined(USE_X11_GLX) || defined (USE_QUARTZ_CGL)<br><br># define GL_RENDERER_DEFINED     1<br># define MAX_RENDERER        16<br><br># if defined(HAVE_GL_GL_H)<br>#   include &lt;GL/gl.h&gt;<br>


# else<br>#   if defined(HAVE_OPENGL_GL_H)<br>#     include &lt;OpenGL/gl.h&gt;<br>#   else<br>#     error *** cannot find gl.h<br>#   endif<br># endif<br><br>#endif<br><br>...<br><br>Shouldn&#39;t the typedef be written inside the #if and #endif?<br>


If so, how do I publish the fix?<br><br>Cheers,<br>Guille<br>
</blockquote></div><br>
</div></div></blockquote></div><br>