On Sonntag, 31. Januar 2010, Scott C. Frase wrote: > I see that the libGL.so.1 in that directory has the appropriate OpenGL > hooks: > [sfr...@ogre usr]$ strings -a /usr/lib64/nvidia/libGL.so.1 | grep > glDeleteShader glDeleteShader > [sfr...@ogre usr]$ strings -a /usr/lib64/nvidia/libGL.so.1 | grep > glUseProgram glUseProgram > glUseProgramObjectARB > > I've tried manually pointing configure.in to the /usr/lib64/nvidia > directory: AC_CHECK_LIB([GL], [glUseProgram], > [OPENGL_LIBS="-lGL"; libGL=yes], > # On SUSE/OpenSUSE, NVidia places the OpenGL 2.0 capable library in > /usr/X11R6/lib # but it doesn't place a libGL.so there, so the linker won't > pick it up # we have to use the explicit libGL.so.1 path. > save_LIBS="$LIBS" > for l in /usr/lib64/nvidia /usr/X11R6/lib > /usr/X11R6/lib64; do LIBS="$l/libGL.so.1" > AC_MSG_CHECKING(for glUseProgram in $l/libGL.so.1) > AC_TRY_LINK([],[extern int glUseProgram(); > glUseProgram();], [OPENGL_LIBS="$l/libGL.so.1"; libGL=yes],[libGL=no]) > AC_MSG_RESULT([$libGL]) > test $libGL = yes && break > done > LIBS="$save_LIBS" > > But still I get OpenGL missing when I run configure.
Analyze config.log. It should tell you what configure did exactly and why it was not successful. -- Hannes _______________________________________________ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra