Configure Error Opengl Libraries Not Available Ubuntu
Contents |
2.8.12 configure fails to find OpenGL on Debian Testing/Linux Mint Edition Reported by: JGMiller Owned by: Priority: high
Configure: Error: Gstreamer Not Available
Milestone: Component: build Version: 2.8.12 Keywords: Cc: Blocked configure error opengl libraries not available wxwidgets By: Blocking: Patch: no Description Running configure with --with-opengl on a Debian Testing/Linux ubuntu opengl Mint Edition system, both i386 and amd64 archictectures results in the error checking for OpenGL headers... found in /usr/include checking for GL/gl.h...
Install Opengl Ubuntu
yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking for -lGL... no checking for -lMesaGL... no configure: error: OpenGL libraries not available This is because the libGL library, along with various other major libraries, has been moved to the architecture dependent sub-directory /usr/lib/i386-linux-gnu for 32 bit systems and to /usr/lib/x86_64-linux-gnu for 64 bit systems respectively. A quick and dirty fix is to add these two libraries to the search library path SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$ wx_cv_std_libpath /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu" However D G Hart on IRC recommended that configure should get the necessary additional library paths using pkconfig viz user> pkg-config --variable=libdir gl /usr/lib/i386-linux-gnu Oldest first Newest first Threaded Comments only Change History (1) comment:1 Changed 5 years ago by vadz Resolution set to duplicate Status changed from new to closed This seems to be the same as #13375. Note: See TracTickets for help on using tickets. Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed Powered by Trac 1.0.2 By Edgewall Software. http://wxWidgets.orghttp://wxPython.org
install the game SCOURGE. When I try to run ./configure it gives me this errors checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is http://trac.wxwidgets.org/ticket/13376 a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking whether make sets https://ubuntuforums.org/archive/index.php/t-72107.html ${MAKE}... (cached) yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/time.h... yes checking for unistd.h... yes checking for working const... yes checking whether time.h and sys/time.h may both be included... yes checking for getcwd... yes checking for gettimeofday... yes checking for strdup... yes checking for finite... yes checking for isnan... yes checking for _finite... no checking for _isnan... no checking for ieeefp.h... no checking for /proc/self/maps... yes checking whether everything is installed to the same prefix... yes checking whether binary relocation support should be enabled... yes checking for pthread_getspecific in -lpthread... yes checking whether binary relocation should use threads... yes checking for Win32 platform... no checking for Mac OSX platform... no checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for main in -ldl... yes checking for main in -lm... yes checking for deflate in -lz... yes checking for sdl-config... /usr/bin/sdl-config ch
assumes that you already have a compilation environment set up. Before asking for help, look at the Troubleshooting hints to localize the problem rather than asking a meaningless question like http://www.prinmath.com/csci5229/misc/install.html It doesn't work. Linux OpenGL support is very easy to enable on current Linux https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632847 distributions. For distributions derived from RedHat Linux, the libraries and header files are installed using the command yum install freeglut-devel Since GLUT depends on OpenGL and a number of other libraries, installing GLUT will trigger the dependencies needed to install everything else. For distributions derived from Debian such as Ubuntu, the installation command is not available apt-get install freeglut3-dev To compile and link your program on Ubuntu 14 based distros you need to explicitly grab every library using gcc -o foo foo.c -lglut -lGLU -lGL -lm I recommend that you use this full version even if not required on your system. Older distributions may put the files in /usr/X11R6, in which case you need to add -I and -L flags to pick up the configure error opengl header files and libraries. Once installed, run the glxinfo program and look for direct rendering in the output. If the result is YES, then hardware support for OpenGL is working. If it is NO, some things are done in software and you may take a performance hit. Depending on your hardware, you may want to work on your X server. Specifically, the nVidia and AMD/ATI web sites contains updated drivers that result in improved performance over the stock Xorg drivers. The compiz window manager (which is an OpenGL window manager) makes applications which use glutIdleFunc() run jerky unless you enable VSync. This seems to be an issue especially with newer Ubuntu installs. OS/X The OS/X Darwin environment is based on OpenGL. Therefore any compilation environment for OS/X should already support compiling OpenGL programs. To compile and link your program using the Apple SDK requires gcc -o foo foo.c -framework GLUT -framework OpenGL Note that under OS/X, the GLUT header files are in the subdirectory GLUT rather than the GL subdirectory. The following code works on OSX and Linux #ifdef __APPLE__ #include
6 Jul 2011 12:33:02 UTC Severity: serious Found in version wxwidgets2.6/2.6.3.2.2-5 Fixed in version wxwidgets2.6/2.6.3.2.2-6 Done: Olly Betts