<div dir="ltr">Hello Brandon,<br><br><div class="gmail_quote">On Sat, Sep 20, 2008 at 1:02 PM, Brandon S. Allbery KF8NH <span dir="ltr"><<a href="mailto:allbery@ece.cmu.edu">allbery@ece.cmu.edu</a>></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 style=""><div><div class="Ih2E3d"><div>On 2008 Sep 20, at 12:57, Donnie Jones wrote:</div>
<blockquote type="cite"><div dir="ltr">checking GL/gl.h usability... yes<br>checking GL/gl.h presence... yes<br> checking for GL/gl.h... yes<br>checking OpenGL/gl.h usability... no<br>checking OpenGL/gl.h presence... no<br>
checking for OpenGL/gl.h... no<br>checking GL/glu.h usability... yes<br>checking GL/glu.h presence... yes<br>checking for GL/glu.h... yes<br> checking OpenGL/glu.h usability... no<br>checking OpenGL/glu.h presence... no<br>
checking for OpenGL/glu.h... no<br><br> That looks like to me that the gl.h and glu.h header files were found and are usable (in some cases). I am able to build </div></blockquote><div><br></div></div><div>Yes, you have the header. But it says nothing about whether -lGLU was found, and that's where your problems are.</div>
</div><div>Also, that's configure output, not config.log output (which has a transcript of the tests, not just the summary).</div><div class="Ih2E3d"><div><br></div></div></div></blockquote></div><br>### Relevant lines that include "-lGL" or "-lGLU" in config.log ###<br>
configure:4634: checking for GL library<br>configure:4670: gcc -o conftest -g -O2 conftest.c -lGL -lm >&5<br>configure:4676: $? = 0<br>configure:4696: result: -lGL -lm<br>configure:4773: checking for GLU library<br>
configure:4809: gcc -o conftest -g -O2 conftest.c -lglu32 -lGL -lm >&5<br>/usr/bin/ld: cannot find -lglu32<br>collect2: ld returned 1 exit status<br>configure:4815: $? = 1<br>configure: failed program was:<br>
| /* confdefs.h. */<br>| #define PACKAGE_NAME "Haskell OpenGL package"<br>| #define PACKAGE_TARNAME "OpenGL"<br>| #define PACKAGE_VERSION "2.2.1"<br>| #define PACKAGE_STRING "Haskell OpenGL package 2.2.1"<br>
| #define PACKAGE_BUGREPORT "<a href="mailto:sven.panne@aedion.de">sven.panne@aedion.de</a>"<br>| /* end confdefs.h. */<br>| #include <GL/glu.h><br>| int<br>| main ()<br>| {<br>| gluNewQuadric()<br>| ;<br>
| return 0;<br>| }<br>configure:4809: gcc -o conftest -g -O2 conftest.c -lGLU -lGL -lm >&5<br>configure:4815: $? = 0<br>configure:4835: result: -lGLU -lGL -lm<br>...<br>fp_cv_check_GLU_lib='-lGLU -lGL -lm '<br>
fp_cv_check_GL_lib='-lGL -lm '<br>...<br>GLU_LIBS=' -lGLU -lGL -lm '<br>...<br>GL_LIBS=' -lGL -lm '<br>...<br>#define GLU_LIBS "-lGLU" ,"-lGL" ,"-lm"<br>########################################<br>
<br>It seems like the OpenGL and GLUT libraries are found (after -lglu32 fails, I am using Debian Linux). I am not sure what to try now.<br><br>Thank you for the help. :)<br>__<br>Donnie<br><br></div>