discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cmake error on Ubuntu 13.10


From: Ivan Vučica
Subject: cmake error on Ubuntu 13.10
Date: Thu, 26 Dec 2013 21:37:57 +0000


While I don't know what "add_llvm_tool_subdirectory" should do, cmake_minimum_required issue is just a warning and can be ignored.

On Wed Dec 25 2013 at 5:46:05, Patryk Laurent <plaurent@me.com> wrote:
Hello,

When I try to use cmake on Ubuntu 13.10, as per http://wiki.gnustep.org/index.php/GNUstep_under_Ubuntu_Linux, I get the following error:

CMake Error at CMakeLists.txt:5 (add_llvm_tool_subdirectory):
  Unknown CMake command "add_llvm_tool_subdirectory”.

I’ve included the full output of the cmake command below.  The version of cmake installed with apt-get in Ubuntu 13.10 is 2.8.11.2.  Adding cmake_minimum_required(VERSION 2.8.8) to the top of CMakeLists.txt did not seem to help.

Any suggestions on how to get this working would be most welcome.

Thank you,
Patryk





The full output of the cmake command is:

patryk@paklbox:~/llvm/tools/build$ cmake --version
cmake version 2.8.11.2
patryk@paklbox:~/llvm/tools/build$ cmake ..
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:5 (add_llvm_tool_subdirectory):
  Unknown CMake command "add_llvm_tool_subdirectory".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
patryk@paklbox:~/llvm/tools/build$








reply via email to

[Prev in Thread] Current Thread [Next in Thread]