Javier:  I cannot help you, but I can advice you to ask this VM related questions not only in Pharo but also in the VM mailing list:<br><br><a href="mailto:vm-dev@lists.squeakfoundation.org">vm-dev@lists.squeakfoundation.org</a><br>
<br>as you will probably receive more help :)<br><br>Cheers<br><br>Mariano<br><br><div class="gmail_quote">2010/2/23 Javier Pimás <span dir="ltr">&lt;<a href="mailto:elpochodelagente@gmail.com">elpochodelagente@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;">Made some tests to find out what is happening, and found the problem. I can confirm that this happens both in squeak and pharo. The thing is that B3DAccelerator doesn&#39;t work as internal plugin in unix. Making it external worked fine.<br>


<br>This lead me to some questions:<br><br>- To make it work as internal the only thing needed is to add that -lGL to the linking process. Does anybody know how to modify the cmake files to do that? Maybe it&#39;s just a thing of adding a line to unix/plugins/B3DAcceleratorPlugin/config.cmake or unix/vm/config.cmake??<br>


<br>- Does anybody build the VM in unix? using cmake?<br><br>Regards,<br><font color="#888888">             Javier.</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Feb 22, 2010 at 1:07 PM, Javier Pimás <span dir="ltr">&lt;<a href="mailto:elpochodelagente@gmail.com" target="_blank">elpochodelagente@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



I&#39;m cross-posting to vm-dev because I get the same errors with Squeak 3.10.2.7179 image. I have<br><br>GL_VERSION =  3.2.0 NVIDIA 190.53              <br><br>After navigating trough the makefiles, I found I was right, it&#39;s not linking to opengl. The linking command was autogenerated and sitting in blddir/CMakeFiles/squeakvm.dir/link.txt. Adding -lGL to it solved that problem. Does anybody know what caused the missing &quot;-lGL&quot; and how to solve it?<br>




<br>Now I can get back to trying to compile alien!<br><br>Regards,<br>           Javier.<br><br><br><br>But I don&#39;t think it&#39;s a version problem, these undefined functions are there since OpenGL 1. the <br><div><div>



</div><div><br><div class="gmail_quote">
On Sun, Feb 21, 2010 at 4:27 PM, Martin McClure <span dir="ltr">&lt;<a href="mailto:martin@hand2mouse.com" target="_blank">martin@hand2mouse.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Javier Pimás wrote:<br>
&gt;<br>
&gt; Linking C executable squeakvm<br>
&gt;<br>
&gt;<br>
&gt; B3DAcceleratorPlugin/libB3DAcceleratorPlugin.a(sqOpenGLRenderer.c.o): In<br>
&gt; function<br>
&gt; `glRenderVertexBuffer&#39;:<br>
&gt;<br>
&gt; /home/javier/st/squeak-svn/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:846:<br>
&gt; undefined reference to<br>
&gt; `glColorMaterial&#39;<br>
&gt; /home/javier/st/squeak-svn/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:847:<br>
&gt; undefined reference to<br>
&gt; `glGetError&#39;<br>
&gt; /home/javier/st/squeak-svn/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:848:<br>
&gt; undefined reference to<br>
&gt; `glEnable&#39;<br>
&gt; /home/javier/st/squeak-svn/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:849:<br>
&gt; undefined reference to `glGetError&#39;<br>
&gt;<br>
&gt; ...<br>
&gt;<br>
&gt; /home/javier/st/squeak-svn/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.c:159:<br>
&gt; undefined reference to `glLightModelfv&#39;<br>
&gt; /home/javier/st/squeak-svn/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.c:160:<br>
&gt; undefined reference to `glGetError&#39;<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; make[2]: *** [squeakvm] Error 1<br>
&gt; make[1]: *** [CMakeFiles/squeakvm.dir/all] Error 2<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
&gt;<br>
&gt; Maybe it should be linking to opengl lib but it isn&#39;t, what do you think?<br>
<br>
</div></div>What version of OpenGL do you have installed on your machine? I haven&#39;t<br>
looked at the details, but I believe that the interface changed quite a<br>
lot between OpenGL 1.x and OpenGL 2.x, so if B3D is expecting 2.x and<br>
you have 1.x, or the other way around, you might get problems like this.<br>
<br>
Regards,<br>
<font color="#888888"><br>
-Martin<br>
</font><div><div></div><div><br>
_______________________________________________<br>
Pharo-project mailing list<br>
<a href="mailto:Pharo-project@lists.gforge.inria.fr" target="_blank">Pharo-project@lists.gforge.inria.fr</a><br>
<a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project" target="_blank">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div><div></div><div>-- <br>Javier Pimás<br>Ciudad de Buenos Aires<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Javier Pimás<br>Ciudad de Buenos Aires<br>
</div></div><br>_______________________________________________<br>
Pharo-project mailing list<br>
<a href="mailto:Pharo-project@lists.gforge.inria.fr">Pharo-project@lists.gforge.inria.fr</a><br>
<a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project" target="_blank">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project</a><br></blockquote></div><br>