LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (http://www.linuxquestions.org/questions/linux-games-33/)
-   -   Doomsday Cmake problem (http://www.linuxquestions.org/questions/linux-games-33/doomsday-cmake-problem-576016/)

Polantaris 08-09-2007 06:57 PM

Doomsday Cmake problem
 
Whenever I try to cmake for doomsday, I get this error, and I dont understand it

CMake Error: In-tree Builds are NOT supported. cd /home/.../doomsday/doomsday/build and try again

the ... is my user name (my home folder)

When I try to go to that directory and cmake again, i get an error saying that there is no CMakeLists.txt in the directory.

exoliu 05-30-2013 10:39 AM

use: cmake . /<directory of where your source files are>

selfprogrammed 05-31-2013 11:46 PM

Some distributions recommend the following (which sounds similar to the problem)

1. Put the distribution in a directory (I am going to call it game1dir).
2. Create another directory for the compilation (because they do not want any of the local compilation files in the distribution directory). (I am going to call it mygamedir).
3. cd to mygamedir
4. invoke cmake on the distribution
cmake ../game1dir


Your second error is because it made the initial cmake history files before it coughed up errors and died. It finds those on the 2nd try and thinks it has all the initial files, which it does not. You should clean the distribution directory of the cmake files, which is most easily done by deleting it and recreating it from the download.


All times are GMT -5. The time now is 10:53 PM.