Questions tagged [cmake]

CMake is a cross-platform, open-source make system.

CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation.

CMake was developed by Kitware as part of the NLM Insight Segmentation and Registration Toolkit project. The ASCI VIEWS project also provided support in the context of their parallel computation environment. Other sponsors include the Insight, VTK, and VXL open source software communities.

357 questions
284
votes
13 answers

How do I install the latest version of cmake from the command line?

I am trying to install latest cmake in my Linux box and I am always getting the below exception: userName@phx5qa01c-4e23:~/build$ wget http://www.cmake.org/files/v2.8/cmake-2.8.11.tar.gz --2013-10-08 14:39:55-- …
SSH
  • 3,041
141
votes
8 answers

How to install cmake 3.2 on Ubuntu

Default cmake version of 14.04 is 2.8. How can I install cmake 3.2 and replace the default one? Or how can I upgrade 2.8 to 3.2?
ycshao
  • 1,541
122
votes
3 answers

How to upgrade cmake in Ubuntu

CMake Error at CMakeLists.txt:1 (cmake_minimum_required): CMake 3.6.0 or higher is required. You are running version 3.5.1 -- Configuring incomplete, errors occurred! I know Ubuntu uses stable releases that it can support, but some repos require…
Wolf
  • 3,247
52
votes
4 answers

What package do I need to build a Qt 5 & CMake application?

I'm trying to build sdrangelove, which wants Qt 5 and uses CMake for its build system, on Ubuntu 13.10. What package do I need to install to give it the file it's asking for here? There are a lot of *qt5* packages, and I've tried installing the…
Kevin Reid
  • 1,190
42
votes
3 answers

CMAKE Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

I have been building freerpd client for Eclipse in Ubuntu 14.04 but an error is popping up : Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) when I use CMake 2.8. How can I get rid of it?
27
votes
3 answers

Is there a good PPA for cmake backports?

I am looking for a reliable PPA for cmake backports. I need it for both Xenial and Trusty (travis-ci). Ideally I would like to have at least cmake 3.8.
Juan Leni
  • 2,218
  • 5
  • 23
  • 32
17
votes
1 answer

Installing clang 5.0 and using C++17

I have been trying for 3 days to install clang 5.0 on an Ubuntu 16.04 machine. I have tried various guides, but nothing seems to work. When I try to simply grab the latest from SVN and build/install (as detailed here), trying to compile a simple…
Steve D
  • 267
17
votes
4 answers

CMake can not find PythonLibs

I am trying to build inria Graphite on my ubuntu which is running in a VirtualBox simulator, I follow the instructions, and install the python-dev packages, but when I run cmake , still got an error: CMake Error at…
tintin
  • 271
16
votes
5 answers

CMake Error: Could not find CMAKE_ROOT?

I'm trying to build a github project using cmake and I've been having a lot of trouble. I'm creating a build directory and calling cmake like so: cd github_project_directory mkdir build cd build cmake .. This is the error I'm getting: CMake Error:…
ellen
  • 277
15
votes
1 answer

How do I remove CMake after installing it from source?

I wanted to update my cmake version. So I had first uninstalled it and then tried to install as given in this post by teocci. However, it was giving some errors on entering make and now I want to uninstall it and install the previous version of…
14
votes
3 answers

undefined reference to symbol 'exp@@GLIBC_2.2.5'

Similar question has been asked here but is unanswered. I have an implementation of Levenberg-Marquardt (downloaded from somewhere) and I'm trying to compile it but getting the following…
Shashwat
  • 348
14
votes
5 answers

How to build cmake-gui on Linux from source?

I tried downloading https://cmake.org/files/v3.11/cmake-3.11.0.tar.gz and building it, but there is no cmake-gui in ./bin subfolder after build. Is cmake-gui supplied in another source archive?
stiv
  • 535
13
votes
2 answers

Ubuntu 14.04 Qt5 development libraries?

I want to build applications requiring Qt5 via CMake. Which libraries do I have to install to achieve that? What I have tried so far is searching for anything containing qt 5 core and dev, but have turned up empty: apt-cache search qt | grep dev |…
codeling
  • 669
11
votes
2 answers

CMake can't find X11

I'm trying to compile Minetest 0.4.10 on Ubuntu 12.04.3 LTS with CMake, but I get this error: andrew@rasts-tv:~$ cmake \Minetest-0.4.10 -- *** Will build version 0.4.10 *** -- IRRLICHT_SOURCE_DIR = -- IRRLICHT_INCLUDE_DIR =…
10
votes
1 answer

Install latest cmake binary and accept licence automatically

I'm trying to install the latest binary version of cmake, on Ubuntu 16.04 LTS, automatically (via ansible). I have so far done: mkdir ~/tmp cd ~/tmp wget https://cmake.org/files/v3.10/cmake-3.10.0-rc4-Linux-x86_64.sh chmod +x…
Rekovni
  • 223
1
2 3
23 24