RevanKnight Posted June 18, 2014 Share Posted June 18, 2014 I have been trying to compile the OpenJK code with cmake , but it is always giving me a error message" CMake Error at CMakeLists.txt:5 (message):Use the top-level cmake script!" please help! Link to comment
Raz0r Posted June 18, 2014 Share Posted June 18, 2014 Try using the top-level script =] i.e. don't run CMake from a folder like codemp, run it from the folder above that. Link to comment
RevanKnight Posted June 18, 2014 Author Share Posted June 18, 2014 How do I use the top level script? Link to comment
Xycaleth Posted June 18, 2014 Share Posted June 18, 2014 Read what Raz0r said:i.e. don't run CMake from a folder like codemp, run it from the folder above that.So you want to be running the CMakeLists.txt file that's in the same directory as the README.md file. Link to comment
RevanKnight Posted June 18, 2014 Author Share Posted June 18, 2014 I have been running it from /OpenJK/code Link to comment
Xycaleth Posted June 18, 2014 Share Posted June 18, 2014 Run cmake in the directory above that - /OpenJK Link to comment
RevanKnight Posted June 18, 2014 Author Share Posted June 18, 2014 Ok, thanks ill see if that fixes it! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now