Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I followed the steps in this article to compile QGis on Ubuntu 12.04 64bit with Qt Creator.

I got the latest source for master with git.

I get the following error:

make[2]: No rule to make target '/usr/lib/', needed by 'output/lib/'.  Stop. <br>
make[1]:  [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make:  [all] Error 2 <br>
11:30:10: The process "/usr/bin/make" exited with code 2.
Error while building project qgis1.9.90 (target: Desktop)
When executing build step 'Make'

Looks like it cant find the file On my machine its residing under

/usr/lib/x86_64-linux-gnu/ and <br>

How do i tell cmake where to look in one of these directories?

share|improve this question
up vote 1 down vote accepted

Deleting the CMakeCache.txt file solved the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.