[GRASS-user] openGL library name

Patton, Eric Eric.Patton at NRCan-RNCan.gc.ca
Wed Apr 1 16:34:37 EDT 2009


>I also use the proprietary NVIDIA driver, no problem.
>Please check config.log for the real error.
>
>Markus

Here's the relevant output from config.log:

configure:11398: checking for glBegin in -lGL
configure:11415: gcc -o conftest -g -O2     -Wl,--export-dynamic  -L/usr/lib64 conftest.c -lGL   -lSM -lICE -lX11  -lm   1>&5
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 11404 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char glBegin();

int main() {
glBegin()
; return 0; }
configure:11434: checking for glBegin in -lGL
configure:11451: gcc -o conftest -g -O2     -Wl,--export-dynamic  -L/usr/lib64 conftest.c -lGL   -lSM -lICE -lX11  -lm -lXext  1>&5
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 11440 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char glBegin();

int main() {
glBegin()
; return 0; }
configure:11470: checking for glBegin in -lGL
configure:11487: gcc -o conftest -g -O2     -Wl,--export-dynamic  -L/usr/lib64 conftest.c -lGL   -lSM -lICE -lX11  -lm -lpthread  1>&5
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 11476 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char glBegin();

int main() {
glBegin()
; return 0; }
configure:11506: checking for glBegin in -lGL
configure:11523: gcc -o conftest -g -O2     -Wl,--export-dynamic  -L/usr/lib64 conftest.c -lGL   -lSM -lICE -lX11  -lm -lpthread -lXext  1>&5
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 11512 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char glBegin();

int main() {
glBegin()
; return 0; }


~ Eric.



More information about the grass-user mailing list