Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QT error: cannot find libs

Tags:

c++

qt

Hi tried to set up my environment to run QT 4.8.3 aimed at the GCC compiler (so reading the .a files) The problem is it is now throwing the errors:

:-1: error: cannot find -lQtGuid
:-1: error: cannot find -lQtCored
collect2.exe:-1: error: error: ld returned 1 exit status

Maybe it can't find the core and gui dll's? My environment variables point to the 4.8.3 bin directory? Am I missing anything?

enter image description here

like image 451
Kal Avatar asked Dec 04 '12 11:12

Kal


2 Answers

Try this,

sudo apt-get install libglu1-mesa-dev
like image 51
Harnish Shah Avatar answered Sep 30 '22 08:09

Harnish Shah


this one is working for me

sudo apt-get install libglu1-mesa-dev
like image 44
Mohamed Elleuch Avatar answered Sep 30 '22 10:09

Mohamed Elleuch