Você pode executar sudo apt-get install mesa-common-dev
antes de executar sudo apt-get install libglu1-mesa-dev -y
Boa sorte: D
Eu estou tentando construir e executar um programa de exemplo no Qt creator 5.5.0 e a versão do Ubuntu é 14.04 LTS.
Toda vez que está dando um erro cannot find -lGL and id returns exit 0
.
Eu tentei resolver esse problema instalando as bibliotecas GL, mas quando executo sudo apt-get install libglu1-mesa-dev
, obtenho
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libglu1-mesa-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libglu1-mesa-dev' has no installation candidate
Eu também tentei outros comandos como
sudo apt-get update
saída de cat sudo apt-get install freeglut3-dev
is
root@user-HP-Pavilion-g6-Notebook-PC:/home/user# cat /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse
deb-src us.archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse #Added by software-properties
deb us.archive.ubuntu.com/ubuntu/ trusty-proposed universe multiverse main restricted
deb-src us.archive.ubuntu.com/ubuntu/ trusty-proposed universe multiverse main restricted #Added by software-properties
deb us.archive.ubuntu.com/ubuntu/ trusty-updates universe multiverse main restricted
deb-src us.archive.ubuntu.com/ubuntu/ trusty-updates universe multiverse main restricted #Added by software-properties
deb security.ubuntu.com/ubuntu/ trusty-security universe multiverse main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security universe multiverse main restricted #Added by software-properties
deb /us.archive.ubuntu.com/ubuntu/ trusty-backports multiverse main universe restricted
Como devo proceder?
Você pode executar sudo apt-get install mesa-common-dev
antes de executar sudo apt-get install libglu1-mesa-dev -y
Boa sorte: D