Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cmake]

The tag has no usage guidance.

0
votes
1answer
16 views

Run 'cmake --help' for more information

I failed to compile the below software: git clone https://github.com/bioinfologics/satsuma2.git cd satsuma2 cmake Usage cmake [options] <path-to-source> cmake [options] <path-to-...
0
votes
0answers
22 views

Problem finding required libraries on ubuntu 16.04

I have used the following command sudo apt-get install coinor-cbc and get the following result coinor-cbc is already the newest version However, when I am building a package which require some non-...
1
vote
0answers
41 views

Error adding symbols: DSO missing from command line while compiling Ogre Meshy

Yes I read many questions for ex. this and this and this and this but nothing works for me. So basicaly Im trying to compile Ogre Meshy but Im getting an error [100%] Linking CXX executable bin/...
1
vote
0answers
84 views

libzip Linux cross-compile configuration

I am trying to cross compile libzip-1.5.1 having previously successfully complied zlib-1.2.11 (these are required by libzip and I have installed in a local home path), but I am experiencing problems ...
1
vote
1answer
63 views

Building shared library which is executable and linkable using Cmake

How to create an executable shared-library using cmake? Something like: libtest.so :: linkable shared library libtest.so :: executable too Note: gcc/g++ options are known to achieve the ...
0
votes
0answers
36 views

“mmap failed for CEN and END part of zip file” && “Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain”

I try to build Dual Boot Patcher apk from Debian 8 Jessie host, a Docker with Fedora Linux guest environment, but I get error, when I do "make apk": mmap failed for CEN and END part of zip file Error:...
1
vote
1answer
237 views

understanding .sh file terminology and cmake

I am trying to use cmake and OpenGL to learn computer graphics, and the tutorial included a run.sh file that is supposed to compile/build the cpp programs. Here is the code: #!/bin/bash #calls cd ...
0
votes
1answer
31 views

Question about installing programs - cmake/make v/s manual(?)

I am on Ubuntu 17 at the moment but this applies to all Linux operating systems. Many times I've ran into applications that are compressed in a tarball for me to install. The first time I ever run ...
1
vote
1answer
105 views

Building XFSTK error on Fedora 28 : /usr/bin/ld: cannot find -lboost_program_options

I downloaded xfstk source and built it. I installed dependencies such as boost, libusb-devel etc... but although I installed boost, I getting error messages, such as the one below, reporting that ...
1
vote
1answer
197 views

run make install twice

Let's suppose I have my sources/ directory and I run cmake from my home folder like this ~]$ cmake /path/to/my/sources/sources and afterwards I do the installation ~]$ make install After it's ...
0
votes
1answer
63 views

Please set them or make sure they are set and tested correctly in the CMake files: PYTHON_LIBRARY (ADVANCED)

For the past day and a bit I have been trying to install CERN's root program on Xubuntu (16.04.1) following their README (https://github.com/root-project/root/blob/master/README.md). I am doing ...
0
votes
0answers
109 views

cmake: How to check existence of an unreadable file

Theoretically, cmake can check for the existence of a file if(EXISTS "/dev/spidev0.0") according to the documentation this should be True if the named file or directory exists. Behavior is well-...
0
votes
1answer
867 views

Cmake can't find X11 libs

I'm trying to compile a GUI-based package on my RHEL 7.2 (XFCE environment). But every time I run cmake .. , it fails with the report: [user@localhost build]$ cmake .. -- BUILD TYPE set to the ...
0
votes
1answer
1k views

Can't link opencv libraries via Cmake in Linux

I used to have OpenCV3 from the Arch Linux pckage manager(pacman) and it worked fine but when I removed it and install OpenCV 3.4.1 and OpenCV-Contrib from source code nothing worked even the old ...
0
votes
2answers
133 views

Can't add symbols to ../../lib/libLLVMSupport.a when building llvm-6.0.0 using llvm-5.0

Here is the information about my system and the compiler I use: Linux version 4.9.0-5-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-1 8) ) #1 SMP Debian 4.9.65-3+...
1
vote
1answer
148 views

How to add dependency to CMakeLists.txt

I am working on an already build shared library. When I run cmake -C $ILCSOFT/ILCSoft.cmake the output says at somepoint: -- Check for FastJet (3.1.2) -- Check for FastJet_LIBRARIES: fastjet -- ...
1
vote
0answers
355 views

Is there an automatic translator from Makefile to CMakeLists.txt?

I have several inherited projects - on RHEL 7, part of which are created using make, and the rest are utilising cmake. I'm wondering: is there an automatic translator that will take a Makefile as ...
0
votes
1answer
63 views

Why does lxqt-build-tools fail to build?

I would like to build LxQt from sources on a Ubuntu xenial derivative system. I followed the oder as described on https://github.com/lxde/lxqt/wiki/Building-from-source and libqtxdg compiled and ...
0
votes
1answer
44 views

imake on fedora 25 doesn't work

I tried to personalize the Makefile.tmpl makefile.rules and since then I can’t get the imake to run anymore under Fedora 25. The command xmkmf -a gets me the following mv -f Makefile Makefile.bak ...
0
votes
1answer
460 views

gmodule-2.0 not found while compiling

I can't figure it out. I seem to have all deps installed, but I'm getting the following error while trying to compile ValaPanel on Xenial: ./configure Will output: -- Looking for RPMTools... - ...
1
vote
0answers
711 views

libstdc++.so.6: cannot open shared object file: No such file or directory

I'm trying to install this library for Ruby so I can work with FITS files, but during brew install sfitsio I encounter this error: Last 15 lines from /home/dachsroot/.cache/Homebrew/Logs/sllib/02....
-1
votes
1answer
97 views

Cmake: is correct this syntax for mandir,sysconfdir,etc? [closed]

On classic configure linux I use ./configure --mandir=/usr/man \ --sysconfdir=/etc \ --localstatedir=/var How to convert it to cmake? I tried.. cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ ...
2
votes
1answer
871 views

What is the Linux equivalent of Inno Setup on Windows?

Looking to create a Linux installer that will work similar to Inno Setup on Windows (which is a great little tool to create installers on Windows). My project is really simple (just a couple of ...
1
vote
0answers
236 views

can't make after doing cmake

Not sure this is the correct place to ask my question, but I'd like to give it a try as some people already managed to help me here in the past. I am trying to run this software on my computer: ...
0
votes
0answers
180 views

make error mediastreamer2

I'm trying to install mediastreamer2 on a Raspberry Pi. When I use make I get the below error. I've installed all the required dependencies. Any idea why I'd be getting these errors or what the mean? ...
1
vote
1answer
550 views

cmake find_package boost fails on Debian Jessie

I have a self-written C++ application that uses cmake as its build tool. The CMakeLists.txt has used worked perfectly on Debian 7 (Wheezy) but not for Debian 8 (Jessie) and it drives me crazy. In ...
3
votes
1answer
701 views

ERROR: Bitbake couldn't find CMakelists.txt after extraction (Yocto)

I am trying to compile Ceres solver on a yocto build (for Intel Aero drone). I earlier tried pulling using the git repository at https://ceres-solver.googlesource.com/ceres-solver/ but could not get ...
2
votes
0answers
78 views

Why find -name DIR -exec rm -rf {} + does not remove directories [duplicate]

I want to cleanup my cmake project and run this command find -name CMakeFiles -o -name CMakeCache.txt -exec rm -rf "{}" + It deletes files CMakeCache.txt but refuses to remove directories. So I have ...
4
votes
0answers
81 views

How to Run ld in Script with A Smaller Memory Footprint?

I'm trying to build Swift 3 on FreeBSD. The last thing I need to do is run the build-script. My problem is that at some point the script runs: Linking CXX executable bin/llvm-lto Which ...
3
votes
2answers
2k views

Building error - how to fix missing header file

I'm trying to build cuneiform from source with imageMagick support, but it looks like the debian package missing a header file. When I'm running make it fails at the very end of the process: [100%] ...
1
vote
1answer
2k views

OBS Studio CMAKE unable to find FFmpeg?

I am trying to install OBS Studio on Debian 8. I tried to follow the official install guide for OBS Studio, but when I try to run cmake -DUNIX_STRUCTURE=1 DCMAKE_INSTALL_PREFIX=/usr .. I get the ...
3
votes
1answer
737 views

dh_install cannot find usr/lib/lib*.a

I am trying to create a .deb package for openCV 3.2 for raspberry pi. My control file is: Source: opencv Priority: optional Maintainer: xxx <xxx@xx.xx> Build-Depends: debhelper (>= 9), ...
0
votes
0answers
188 views

Error compiling LLVM

I am trying to compile LLVM with LLD (I really just want LLD but it requires the rest of LLVM iirc). When I try to run CMake (cmake ..) in my build folder (inside the source folder), I get the ...
-1
votes
1answer
1k views

How do I make FFMPEG check yes while installing OPENCV

I run cmake -D CMAKE_BUILD_TYPE=RELEASE .. to configure opencv and here are some of the check result -- Video I/O: -- DC1394 1.x: NO -- DC1394 2.x: ...
1
vote
1answer
1k views

libcrypto.so.1.0.0: no version information available (required by /opt/Android/Sdk/cmake/3.6.3155560/bin/cmake)

I met this problem only with Android-studio, system cmake works fine. /opt/Android/Sdk/cmake/3.6.3155560/bin/cmake: /usr/lib/libcrypto.so.1.0.0: no version information available (required by /opt/...
0
votes
1answer
367 views

Fedora 24: how to get the wx-config script detected in openSUSE Build Service?

I have this spec file for building a CodeLite package and on Fedora 25 it builds fine. But on Fedora 24 instances of the Open Build Service (OBS) it fails giving the error [ 93s] -- ...
0
votes
1answer
74 views

GUI for a new cmake

I installed Cmake 3.5 and I want to have a GUI for it, as I had before with cmake-qt-gui. But what was installed is only cmake itself. I expected cmake-gui to come with the source of cmake, maybe I ...
1
vote
2answers
5k views

How to Install VTK (with Python Wrapper) on Red Hat Enterprise Linux (RHEL)

A program I need to compile is dependent on VTK v5.4+ with Python Wrapper. VTK is not in the standard YUM repo's. How can I install this dependency? I am running RHEL 7 under developer subscription....
1
vote
1answer
61 views

Use different versions of a program in different directories

I am accessing a server remotely and do not have sudo privileges. To get my work done I need to have a newer version of cmake. The admin will not update cmake globally so I need it to work in my ...
4
votes
1answer
2k views

ld cannot find -lgfortran

I'm trying to compile Knut (a maths program) on Arch Linux with CMake and I'm getting the following error: /usr/bin/ld: cannot find -lgfortran /usr/bin/ld: cannot find -lquadmath collect2: error: ld ...
2
votes
1answer
2k views

Cmake cannot find module Qt5WebEngineWidgets

I want to compile QSyncthingTray (https://github.com/sieren/QSyncthingTray) on my notebook running arch linux x86. I've set $QTDIR to /home/user/.qt/5.5/gcc/ as well as $CMAKE_PREFIX_PATH I've ...
1
vote
0answers
436 views

Making CMake apply -DCMAKE_INSTALL_PREFIX to everything

I'm trying to build this app with CMake, as a non-root user. I've run: cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/opt but during make install, I get -- Installing: /usr/local/share/myapp/data CMake ...
1
vote
1answer
13k views

CMake not found, yet it is installed [closed]

I am attempting to install CMake in a cluster environment running Centos 7.2, by executing: ./bootstrap --prefix=/home/user/opt make make install Compiling doesn't give any errors, yet, ...
1
vote
1answer
654 views

Errors building and installing clBLAS on Ubuntu 16.04 (64bit)

I'm tring to build clBLAS from source on Ubuntu 16.04 (64bit). From the cmake configuration output it appear the dependencies have been satisfied. I'm being guided by instructions from here like so; ...
1
vote
0answers
207 views

Trying to build icecc icemon, cmake can't find Qt5

I'm running Centos 7 and I want Icemon for icecc. If there is a package I can install, great, but I don't know of one, so I'm attempting to build it from scratch and that relies on cmake. My missing ...
0
votes
1answer
247 views

On a KDE4 Debian installation, where does the QtCore library install to?

I have installed every possible package that could have to do with QtCore (I think), but the QtCore library is nowhere to be found. Not in /usr/lib, not in /usr/local/lib, not in usr/include... you ...
1
vote
0answers
30 views

How to force correct name for .desktop file

I'm developing a Qt application using CMake, and am trying to make it difficult to open more than one copy of the app at the same time (as with Mac application packages -- you have to call the ...
0
votes
1answer
338 views

Distcc ld error

I want to compile supertuxkart for notebook on my main computer (v-mint, with distcc daemon). My actions: Clone git+svn repos from official sources. (compile/{stk-code,stk-assets}). cd compile/stk-...
0
votes
1answer
301 views

tigervnc and cmake on hpux: why cannot find zlib?

I use this script to configure tigervnc on hpux cmake is latest 3.4.3 zlib is latest 2.8 But script fail,why? export PATH=$PATH:/opt/cmake/bin/ export CC="/usr/local/bin/gcc" export HPUXLDFLAGS='-L/...
2
votes
1answer
2k views

An error occurs when I try to install ROOT

I' using Ubuntu 14.0. I want to install root. So I followed the instructions: https://root.cern.ch/building-root I'm stuck in the fourth step. I downloaded and unpacked ROOT in the directory ...