<br><br><div><span class="gmail_quote">On 8/28/06, <b class="gmail_sendername">minh thu</b> <<a href="mailto:noteed@gmail.com">noteed@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
one more thing : can't we add -lglut for ext/glut/rakefile, -lGL for<br>ext/gl/rakefile and -lGLU for ext/glu/rakefile (later) ?</blockquote><div><br>I'm not sure if it works like that, since glut still needs the GL and GLU libraries. I think it depends on how SWIG builds the shared libraries.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">on my linux box (kubuntu), the glut implementation is freeglut, what's<br>on yours ?
<br>what other implementations are there in the linux world ?<br><br>i ask this because I have to change the %include <GL/glut.h> in glut.i.</blockquote><div><br>It's something the project has to keep in mind. Can you include a svn diff of your change?
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">mt<br><br>2006/8/28, Robert Krimen <<a href="mailto:grin.k1tt3n@gmail.com">
grin.k1tt3n@gmail.com</a>>:<br>> You're right, I'm just used to programming in glX.<br>> Here is the revised patch:<br>><br>> Index: rakefile<br>> ===================================================================
<br>> --- rakefile (revision 20)<br>> +++ rakefile (working copy)<br>> @@ -23,7 +23,7 @@<br>> # Don't understand why swig doesn't define this...<br>> swig_args = "-DSWIGMAC"<br>> else
<br>> - extconf_args = ""<br>> + extconf_args = "--with-ldflags='-lGL -lGLU -lglut'"<br>> swig_args = "-I/usr/include"<br>> end<br>><br>><br>><br>> On 8/28/06, minh thu <
<a href="mailto:noteed@gmail.com">noteed@gmail.com</a>> wrote:<br>> ><br>> > hi,<br>> ><br>> > Robert,<br>> > why do you add -lX11 ? glut already wrap x11 on x11 based machines.<br>> >
<br>> > sincerly,<br>> > vo minh thu<br>> ><br>> > 2006/8/28, Robert Krimen <<a href="mailto:grin.k1tt3n@gmail.com">grin.k1tt3n@gmail.com</a>>:<br>> > > Index: ext/glut/rakefile<br>> > > ===================================================================
<br>> > > --- ext/glut/rakefile (revision 20)<br>> > > +++ ext/glut/rakefile (working copy)<br>> > > @@ -23,7 +23,7 @@<br>> > > # Don't understand why swig doesn't define this...
<br>> > > swig_args = "-DSWIGMAC"<br>> > > else<br>> > > - extconf_args = ""<br>> > > + extconf_args = "--with-ldflags='-lX11 -lGL -lGLU -lglut'"
<br>> > > swig_args = "-I/usr/include"<br>> > > end<br>> > ><br>> > ><br>> ><br>><br>><br></blockquote></div><br>