Questions tagged [cmake]
68 questions
43
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…
pushandpop
- 585
- 2
- 6
- 13
26
votes
2 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
- 361
- 1
- 3
- 6
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,625
- 1
- 18
- 24
5
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…
cam zilla
- 53
- 1
- 4
3
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…
bambino350
- 33
- 5
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,686
- 2
- 13
- 37
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…
Dov Grobgeld
- 131
- 3
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
- 1
- 3
3
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,055
- 6
- 20
- 36
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
- 199
- 10
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
- 351
- 3
- 16
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
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
2
votes
1 answer
tar on windows fails to extract symlink out of archive
While trying to install GTK with vcpkg it fails to extract libexpat-libexpat-R_2_2_6.tar.gz:
Building package expat[core]:x64-windows...
-- Downloading https://github.com/libexpat/libexpat/archive/R_2_2_6.tar.gz...
-- Extracting source…
Ian678
- 31
- 8
2
votes
0 answers
Building using CMake within Conda environment
I have a resource constrained lab machine (thats not controlled by me), which basically only allows me to write to an external hdd.
I need to compile my class project using boost and pcl. My procedure has been to create a conda environment inside…
Misguided
- 165
- 1
- 7