Questions tagged [cmake]

CMake is a tool to manage building of source code, mainly used for the C and C++ languages.

67 questions
48
votes
2 answers

Could not find a configuration file for package "ECM" that is compatible with requested version 1.5.0

I tried to download "ECMConfig.cmake" from repository, but terminal gives me an error: "question's title + The following configuration files were considered but not accepted: ECMConfig.cmake : version is unknowed. I tried to search on Google, but…
28
votes
4 answers

Can CMake stop at the first error?

When cmake encounters an error, sometimes it does not stop instantly but continues to process all CMake files. It is only at the end of the treatment that we learn that there is an error, so we have to go back up the whole log to see where it is…
louisiuol
  • 381
13
votes
4 answers

Emacs 24: Loading a package installed via ELPA

I have just installed the cmake-mode package in Emacs 24 using: M-x package-install cmake-mode I can see the package at: ~/.emacs.d/elpa/cmake-mode-20110824, and I can load it using the instruction at Commentary: section of…
Chen Levy
  • 1,685
6
votes
1 answer

ERROR: Dependency "mount" not found, tried pkgconfig and cmake Linux while trying to install glib-2.60.0

Runing the following command from a terminal: sudo python3 meson _build : **The Meson build system** Version: 0.50.0 .... Checking for function "ngettext" : YES Checking for function "bind_textdomain_codeset" : YES Dependency mount found: NO (tried…
4
votes
1 answer

cygcheck: track_down: could not find cygnettle-4.dll

I'm trying to use cmake in cygwin. When doing so I get the following: ~> cmake --version /usr/bin/cmake.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory when I run cygcheck it seems to be…
4
votes
1 answer

How to force `yum reinstall` to overwrite changed files in a `/var` sub-directory?

I have a software package[1] that is already being used by multiple users. Its RPM is created with Cmake. For historical reasons, the software package installs some files in a subdirectory of /opt. Consequently, if any of these files is…
boardrider
  • 1,213
3
votes
0 answers

Filtering `catch` tests by label when running with `ctest`

I am currently using ctest to run tests written with the Catch framework. I would like to be able to filter which tests I run based on the internal Catch tags; for instance, I would like to be easily prevent any tests tagged [FUTURE] from…
Kyle Strand
  • 1,916
3
votes
0 answers

How to create symbol versioned functions in an so file in Fedora?

Due to the following bug in Fedora: http://forums.fedoraforum.org/showthread.php?t=296524 I decided to compile my own versions of zlib and libpng. But after doing so, I realized that libcairo could not link to my new libpng version. Some…
3
votes
0 answers

Conda gcc/g++ did not replace system (linux) gcc

I'm using a Linux system (in which I don't have sudo access) which already had gcc installed. I have to run some software, which requires stuff like cmake, bison and flex, and I installed them with Anaconda. Since the cmake version I need also…
Kelthar
  • 33
3
votes
1 answer

Having trouble building gcc (libiberty obstack.c won't compile)

I'm running openSUSE 11.4, which is kinda old, so I'm trying to build some updated dependencies for another thing I want to build. I've downloaded the source for gcc-6.4.0 (also tried the latest - didn't work). I'm running ../gcc-6.4.0/configure…
Kayson
  • 219
3
votes
1 answer

gentoo - Disable parallel build for llvm

I have Gentoo installed on computer with relatively small amount of RAM (1 GB). When I install llvm (emerge -a llvm), the computer always goes out of memory. All 4 cc1plus processes are using about 25 % of RAM when the system is unusable. I think…
jiwopene
  • 360
2
votes
1 answer

Debian Packaging: Different configuration per subpackage

I have a CMake-based project with a static library (by default) where I need to provide deb-packages. I want to make it nice and provide a shared and a static library in different packages. Then: How can I pass different configuration-options from…
2
votes
2 answers

BOOSTROOT for cmake on ubuntu

I installed boost through: sudo apt-get install libboost-all-dev Now I need to set BOOST_ROOT for cmake to be able to find Boost library. Where should this path be set to?
Dzung Nguyen
  • 135
  • 2
  • 10
2
votes
1 answer

How to install CMake from binary distribution on Linux

I've downloaded an already compiled binary distribution of CMake from this link. The package contains a bin, doc, man and share folders. I can unpack them and use them directly from a specific folder, but I'd rather install it globally. What's the…
2
votes
0 answers

CMAKE_SYSTEM_INCLUDE_PATH - has just one path, for X11?

Running on Ubuntu 18.04, cmake version 3.18.0-rc2. From documentation I expect CMAKE_SYSTEM_INCLUDE_PATH to hold a list of directories including /usr/include, /usr/local/include, etc. : Semicolon-separated list of directories specifying a search…
Tomasso
  • 143
  • 4
1
2 3 4 5