Questions tagged [cmake]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
43 views

Creating a Debian package for a Qt application built using CMake

I would like to create a .deb installation package for a GUI based Qt5 application. Most of the links available for this problem are pretty old, so I'm curious if there are more up-to-date solutions ...
1
vote
1answer
48 views

I have an error when instaling latte-dock 0.10

when I try to install latte-dock 0.10 by my own guides I see this error: /home/amir/latte-dock/app/settings/viewsdialog/viewscontroller.cpp:47:10: fatal error: KIO/OpenUrlJob: No such file or ...
1
vote
1answer
57 views

CMake finds incorrect headers for python libs 3.8 under 20.04

I recently upgraded from 18.04 to 20.04 and a project using boost python is no longer building. The issue lies in the following CMake command: find_package(PythonLibs 3) which sets ${...
0
votes
1answer
19 views

No CMAKE_C_COMPILER found while trying to build Clang

I'm trying to build Clang using the steps shown here: https://clang.llvm.org/get_started.html. However, I'm receiving the No CMAKE_C_COMPILER found error. These were my steps: First, I opened ...
0
votes
0answers
20 views

Unable to install gromacs 2018 version from source in ubuntu 18.04LTS

everyone! I have tried to install gromacs in ubuntu 18.04 using windows subsystem linux from the source, but whenever I am trying to download using wget http://...command, it is showing operation not ...
1
vote
1answer
29 views

Errors when installing udunits

I am trying to install udunits. I downloaded udunits-2.2.28.tar.gz from https://artifacts.unidata.ucar.edu/service/rest/repository/browse/downloads-udunits/ lsb_release -a Distributor ID: Ubuntu ...
0
votes
1answer
45 views

How to generate MakeFile from ccmake

I'm trying to install this library: https://github.com/fpeder/XKin I cloned it into an xkin folder then I did the following: cd xkin mkdir build cd build ccmake .. Then a terminal based GUI pops up ...
1
vote
1answer
813 views

Cmake error: — Configuring incomplete, errors occurred!

I have an error when I run cmake ... Could you please help me? Thanks so much I want to build my project. I use mkdir build, cd build/ and cmake ...Then I got this error: CMake Error at /usr/share/...
0
votes
1answer
199 views

Permission denied while running command Cmake

I am using Ubuntu 20.04. While I run command cmake --version I get Permission denied error, as below: : Traceback (most recent call last): File "/usr/local/bin/cmake", line 11, in <...
0
votes
1answer
69 views

How can I speed up my terminal execution of the make command generated by CMake?

I am using Ubuntu 20.04.02 LTS, and have the snap version of CMake (3.19.4) installed. I am using it to build an app written in C++. When I build my solution in the terminal, the make command takes ...
0
votes
0answers
37 views

Unable to install CMake in Ubuntu 16.04 Oracle VM VirtualBox

I proceeded as below : cd cmake-3.13.4 sudo ./bootstrap sudo make sudo make install I received the error : make: 'cmake' is up to date. loading initial cache file /home/agnivo/Desktop/cmake/cmake-...
0
votes
0answers
14 views

Reusing a CMake Build of Software on another system

I want to have insight on which directories should I copy from my one system to another system so that I don't have to build using CMake again. What should be my approach to find a relevant solution ...
1
vote
1answer
47 views

Catkin_make fails while compiling UVC Camera at 25%

I am running Ubuntu 20.04.1 on a Raspberry Pi 3B+ and have ROS Noetic installed and working. I want to use the PiCamera so I plug in the camera and then decide to use UVC_Camera node on ROS so I ...
1
vote
1answer
142 views

CMake for UHD Library can't find Boost

I'm trying to build the UHD library (https://github.com/EttusResearch/uhd.git) on Ubuntu 20.04 and when I run cmake .. from host/build, I get this message: -- Checking for Boost version 1.58 or ...
0
votes
1answer
82 views

Which Ubuntu Boost Package includes the UUID library?

I am building a C++ program using cmake on Ubuntu and which uses the Boost UUID library. I could install the entire Boost suite using either sudo apt install libboost-dev or sudo apt install ...
0
votes
1answer
103 views

Qt Upgrade Problems, Cmake still looking in /usr/lib/x86_64-linux-gnu

I think I'm missing some basic understanding of how to appropriately upgrade Qt via a .run file from qt.io, and how to reference it appropriately when trying to build some code with CMake. Here's what ...
0
votes
0answers
102 views

Issue install armadillo, is it cmake issue with anaconda3

While calling cmake . for installing armadillo I get warnings in addition to unwanted ARMA_HDF5_INCLUDE_DIR = /home/coyote/anaconda3/include (why does it always choose anaconda for this?). Warnings ...
0
votes
1answer
2k views

cmake cannot find c compiler even though gcc and g++ are installed

I am using Ubuntu 18.04 and I am trying to install cmake by executing the command: ./bootstrap But I am getting an error: Error when bootstrapping CMake: Cannot find appropriate C compiler on this ...
1
vote
1answer
427 views

Error when installing opencv (any version) on Ubuntu 18.04

I got an error in make command in opencv. [/usr/bin/ld: /usr/local/lib/libavcodec.a(vc1dsp_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pw_9' can not be used when making a shared object; ...
0
votes
1answer
863 views

Ubuntu 20.04 : error when installing Caffe

I'm trying to install Caffe-Segnet (http://mi.eng.cam.ac.uk/projects/segnet/tutorial.html) on my Ubuntu 20.04 for a project I'm working on, and I encountered many difficulties, even when trying to ...
1
vote
0answers
327 views

arm64 packages not installed into arm64 sysroot, so CMake doesn't find them

I need to cross compile an application, using CMake. I install the toolchain packages and the arm64 versions of my dependencies. Looks like the sysroot is in /usr/aarch64-linux-gnu, which contains ...
1
vote
1answer
816 views

CMake can't find installed package

I often have lots of trouble getting CMake to accept that I do in fact have some package installed and it's because I don't understand what info to give to CMake and/or how to do that. For example, I'...
0
votes
0answers
1k views

“-bash: /usr/bin/cmake: No such file or directory”

I apt-get removed default CMake and build CMake from source and installed the new version into /usr/local . But the cmake comannd does not works. I've tried following commands: $ source ~/.bashrc $ ...
0
votes
1answer
640 views

opencv was not found in the pkg-config

Using cmake and cuda i create opencv , the file was saved in /usr/local/lib/python3.8/dist-packages/cv2/python-3.8/cv2.so now i'm trying to install darknet but i got this error Package opencv was not ...
4
votes
1answer
88 views

pbuilder-dist fails if cmake can't find non-mandatary c++ feature support?

I'm trying to submit a deb to my PPA according to this manual: https://packaging.ubuntu.com/html/packaging-new-software.html I'm able to build my app with bzr builddeb -- -nc -us -uc and to sign it ...
0
votes
1answer
693 views

How to solve alike “linking CXX executable” issues

My attempts to compile to get Gerbera, a popular DLNA server running proved futile. The dependencies seem to be alright. The documentation doesn't mention any make flags needed. So when I try to make, ...
0
votes
2answers
47 views

I have ubuntu xenial 16.04 how to get new versions of packages?

For example the cmake in my repository appears as 3.5 but my professor's appears as 3.16 which I need to run doxygen. How can I get this new version in my old ubuntu?
0
votes
0answers
24 views

old cmake detected althoug new installed

The cmake version was originally 3.10.0. I have successfully installed version 3.17.5 without removing the old one. And when I run command cmake --version 3.17.5 is demonstrated. But when I want to ...
0
votes
0answers
125 views

cmake is unable to find nvcc in ubuntu. is my bashrc file correct?

this is the cmake file i am using. cmake cuda works fine on windows but requires setting the CMAKE_CUDA_COMPILER path on ubuntu to work. cmake_minimum_required(VERSION 3.5) if (UNIX) # cuda ...
1
vote
1answer
284 views

Cannot install cmake

I am new to both Linux and C++, and I am trying to install cmake, when I tried to install it using sudo apt install cmake it installed cmake version 3.10, but here is stated that at least version 3.15 ...
0
votes
1answer
55 views

Software installation, no package after succefull sudo make install

I think this is general question about software installation in Ubuntu (20.04) and I don't understand some obvious things. I need: "CMake 3.17 or higher is required". In repos and software ...
0
votes
0answers
41 views

Satisfy dependency with manual compile and install

I am using Ubuntu 18.04. My coding project needs cmake 3.18 support, so I do a manual compile and install. Now I want to remove version 3.10 that came as a dependency from another package, WITHOUT ...
0
votes
0answers
1k views

/usr/bin/ld: i386 architecture of input file `xxx' is incompatible with i386:x86-64 output collect2: error: ld returned 1 exit status

trying to compile a cmake build for target linux machine(i686) from native linux(x86_64). observed this error: /usr/bin/ld: i386 architecture of input file `CMakeFiles/cmTC_5398f.dir/testCCompiler.c.o'...
1
vote
0answers
718 views

Ubuntu 20.04: Cmake error : Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)

I'm getting strange error in cmake when trying to compile Buildroot system. Since hello package doesn't require ALSA, it seems that cmake crashes on checking whether ALSA is present or not. I have ...
0
votes
1answer
42 views

Latest CMake on Ubuntu 16.04 without removing other packages

I need to use new version of CMake because of cmake_minimum_required usage in the CMakeLists. I have Ubuntu 16.04 and CMake 3.5.2. I performed the steps for "Installing CMake from Source Code&...
1
vote
1answer
1k views

CMake error: Could NOT find GSL (missing: GSL_INCLUDE_DIR)

I am installing a simulator in Ubuntu in 18.04 and I get the following error during the execution of 'cmake ..' command. The C compiler identification is GNU 7.5.0 -- The CXX compiler identification ...
0
votes
1answer
1k views

CMake cannot find libboost

There seems to be a LOT of CMake can't find Boost questions. However, I find none of the solutions worked for me. So perhaps I can print my details and see if someone can spot the issue? I am on ...
1
vote
0answers
2k views

Cannot generate a safe runtime search path for target caffe because files in some directories may conflict with libraries in implicit directories

I am trying to install this code https://github.com/NVlabs/ssn_superpixels but get an error at the cmake .. step CMake Error: The following variables are used in this project, but they are set to ...
2
votes
0answers
154 views

Trying to build with boost filesystem: relocation … can not be used when making a shared object; recompile with -fPIC

Ubuntu 18.04, boost 1.65, g++ 7.5.0, cmake 3.10.2, GNU make 4.1. Pretty much everything at the default version for ubuntu 18.04. I'm trying to port software that uses a number of different boost ...
0
votes
1answer
643 views

cmake - how to set path to CUDA_cublas_LIBRARY?

I am trying to install this https://github.com/NVlabs/ssn_superpixels but get the error below at the step cmake .. CMake Error: The following variables are used in this project, but they are set to ...
0
votes
1answer
72 views

tcl headers not found while installing openSTA

This is what i get after executing cmake .. - TCL library: /usr/lib/x86_64-linux-gnu/libtcl8.6.so -- TCL header: TCL_HEADER-NOTFOUND and after executing "make" fatal error: tcl.h: No such ...
0
votes
0answers
68 views

find_package() for a shared library that was installed with snap

This is my first time using a snap package. I was wondering if it is possible to use a shared library and the headers that were installed using snap inside a normal C++ project? And if so, how would I ...
0
votes
1answer
314 views

2 version of Cmake, needs to remove one

I'm having an issue with Cmake. I'm using Ubuntu 18.04 and have installed the newest version of Cmake (3.18.0). Since I'm kind of new to Linux in general, I thought installing new version will ...
3
votes
1answer
1k views

uninstall cmake in Ubuntu 18.04

I need to uninstall cmake from my Ubuntu machine. I tried via command line as I saw in How can I uninstall software in Ubuntu? sudo apt-get remove cmake sudo apt-get purge cmake sudo apt remove cmake ...
1
vote
0answers
221 views

Have problems about mpi after upgrade to 20.04

I upgraded to 20.04 from 19.10. On 20.04, I encounter the problem that CMAKE cannot find MPI, which was not a problem on 19.10. By using my own makefile, ld cannot find lmpi neither. It seems that at /...
0
votes
0answers
58 views

need command to downgrade hwloc version?

I am using command sudo apt-get install hwloc. For which I get the following output: hwloc is already the newest version (2.1.0+dfsg-4). But some of my programs are throwing errors regarding ...
0
votes
0answers
131 views

/path/to/your/fftw

I am new to ubuntu. I just installed fftw in my home terminal. I have to link it's path to cmake . How can I retrieve path to my fftw library? i tried locate fftw3-dev. And secondly while linking ...
0
votes
0answers
118 views

cmake can't find QtCore even though already installed

I'm trying to install gplates-2.2.0 on Kubuntu (KDE Plasma Version 5.16.5). I installed the required packages, including libqt4-dev (libqt4-dev is already the newest version (4:4.8.7+dfsg-7ubuntu3)). ...
0
votes
0answers
17 views

bionic Release 404 Not Found - Cmake 3.x [duplicate]

I get this error when I try to run sudo -E apt update Ign:1 http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu bionic InRelease Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease ...
0
votes
0answers
138 views

Cmake and Vulkan

I'm trying to install Cmake and Vulkan on the new 20.04 version of Ubuntu. Based on the process of Vulkan installation i need to install CMake and sadly Cmake doesnt create Make file when i try to ...

1
2 3 4 5
7