[vbox-dev] Cannot find -lGL When complie the virtualBox.

Klaus Espenlaub klaus.espenlaub at oracle.com
Mon Apr 22 16:43:59 GMT 2013


Hi Yao,

On 22.04.2013 12:04, Yao wrote:
> Hi,all:
> When I complie the Vbox 4.2.12,There is an Error:
> Checking Mesa / GLU:
> ./configure --disable-harding
> g++  -g -O -Wall -o VirtualBox-4.2.12/.tmp_out
> VirtualBox-4.2.12/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64
> -L/usr/local/lib -lXext -lX11 -lGL -I/usr/local/include"
> /usr/bin/ld: cannot find -lGL
> DidImiss some component?

Apparently - the OpenGL development package seems missing.

See https://www.virtualbox.org/wiki/Linux%20build%20instructions

Klaus

> Thanks,
> Yao.




More information about the vbox-dev mailing list