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.
use: cmake . /<directory of where your source files are>
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
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 11:23 PM.|