Jump to content
  • 0

[Two] CMAKE Prefix Error



When I use:

cmake .. -DCMAKE_INSTALL_PREFIX=/home/mangosuser/mangos-server -DDEBUG=0

I get this error:

CMake Error: The source directory "/home/mangosuser//mangos-server" does not appear to contain CMakeLists.txt.

Build directory = /home/mangosuser/mangos/server/build

Install directory = /home/mangosuser/mangos-server

Am I doing this wrong?


Link to comment
Share on other sites

3 answers to this question

Recommended Posts

From what your first error was telling you i'm gonna guess you were one step too far up the file tree (if that makes sense), i'm guessing you were in the folder /home/mangosuser/mangos-server/server and not in /home/mangosuser/mangos-server/server/build as you were supposed to. And what you tried next was to cd into that folder and that seems to have solved it :) If you would like to you could make a new clone and test out what i said to see if that's actually the case or if we have some kind of wierd bug going on here.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use