Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [cmake]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

Revert a make install due to installing PCL before VTK

I'm following the steps of a repository and to sample some dataset, PCL and VTK are needed. I had a lot of issues before regarding broken packages and had to delete and install again Ubuntu (18.04), ...
user avatar
  • 111
0 votes
0 answers
57 views

How to upgrade cmake version to 3.15 or above in ubuntu 18.04?

I am trying to install a software in ubuntu for which i need cmake 3.15 or higher version but currently i have cmake 3.13 version installed in my ubuntu system. I tried removing or uninstalling the ...
user avatar
0 votes
0 answers
27 views

How to solve QT Make File 5 error

My OS is Ubuntu Desktop 18.04. QMake version 3.1 I'm using Qt version 5.9.5 in /usr/lib/aarch64-linux-gnu . When I build the project I get the qt Makefile 5 error. How can I solve this? makefile:248: ...
user avatar
1 vote
1 answer
60 views

How to git clone (done), Cmake build (almost done) and run a C++ Project in Ubuntu

This is my first day in Ubuntu (20.04.4 LTS) for C++ development. Previously I only used Windows, and find something new to work with. I would appreciate your support. After cloning a github repo, I ...
user avatar
  • 111
0 votes
0 answers
52 views

Problem with cmake ../ gazebo in Ubuntu

I have used this instruction: How to upgrade cmake in Ubuntu And after providing last step when I write this in other terminal: cmake --version I have had this error: bash: /usr/bin/cmake: No such ...
user avatar
0 votes
0 answers
88 views

Cmake cannot find boost_python and boost_numpy

I'm trying to install a software which requires Boost. So I downloaded boost by running this command wget https://sourceforge.net/projects/boost/files/boost/1.65.1/boost_1_65_1.tar.gz and then ...
user avatar
  • 101
0 votes
0 answers
62 views

Does readelf return RPATH as RUNPATH?

I have written a simple program/lib combo using cmake, named "PrintFive". Running from the CLI: readelf -d PrintFive Dynamic section at offset 0x2d60 contains 30 entries: Tag Type ...
user avatar
  • 101
0 votes
0 answers
23 views

Is there a package manager that offers recent boost/clang/cmake versions AND creates references and env. variables? (18.04)

I need at least clang 7+, boost 1.77+, cmake 3.11+ on Ubuntu 18.04 and I am too dumb to install them manually because I do not know where to install, what to link and which env. variables to set. ...
user avatar
0 votes
0 answers
23 views

Cmake error when installing [duplicate]

I installed Ubuntu in VirtualBox for trying a software made only for Linux. I'm getting this error when trying to install the software. Not sure if it's an error in the steps of the installation or a ...
user avatar
  • 101
2 votes
1 answer
158 views

CMake problem when building video driver for Intel AlderLake-S GT1

I am trying to get a video driver to support my CPU supported video output (specifically the Intel AlderLake-S GT1). Here is the output from inxi Graphics: Device-1: Intel AlderLake-S GT1 driver: N/...
user avatar
  • 33
1 vote
1 answer
24 views

Different CMAKEs, unable to remove one of them

I have two cmake commands, one has a path /usr/local/bin/cmake, which I would like to uninstall. I tried running apt remove cmake but it gives Package 'cmake' is not installed, so not removed. The ...
user avatar
  • 29
0 votes
0 answers
228 views

Could not find a configuration file for package "OpenCV" that is compatible with requested version "3.0"

CMake Error at CMakeLists.txt:88 (find_package): Could not find a configuration file for package "OpenCV" that is compatible with requested version "3.0". The following ...
user avatar
1 vote
1 answer
77 views

cmake give me ECMFindQmlModule when complileing plasma-bigscreen

This is the output. Note, I do have extra-cmake-modules installed. ubuntu 21.10 rpi 4 CMake Error at CMakeLists.txt:16 (include): include could not find load file: ECMFindQmlModule Installing ...
user avatar
  • 404
0 votes
0 answers
62 views

Compile the project combined C and objective C by using cmake

My project contains both C and Objective-C source code, and I am going to generate makefile using cmake. Basically it was built in MacOS, but now it's going to be used in ubuntu. So I have installed ...
user avatar
0 votes
0 answers
117 views

Cmake cannot work Conan GTest on Ubuntu

I've created a very simple code for GTest using Conan: https://github.com/FTamas77/Demo On a host there is a Windows, I installed the Conan package and everything works fine. I've create an Ubuntu ...
user avatar
  • 1
3 votes
1 answer
1k views

Installing Avogadro 1.2.0 From Source Ubuntu 20.04

Package downloaded as avogadro-1.2.0.tar.gz and put in the home/src folder; extracted to the same folder. I got as far as step 2 from the INSTALL folder, here ... Requirements ============ -- CMake ...
user avatar
0 votes
1 answer
1k views

how to install the cmake with specific version on WSL ubuntu 20.04

I am currently trying to link my CLion to WSL, but CLion only supported the Cmake of version 3.20.x, not the latest version, so I wonder how to downgrade my Cmake (version 3.21.3) to 3.20.x on Ubuntu ...
user avatar
  • 3
0 votes
0 answers
766 views

Cmake can't find gcc compiler

I have Ubuntu 18.04.6 LTS and I am trying to install and run gcc v8 (a v7 version is the default). I have done: sudo apt-get install build-essential sudo apt-get install gcc-8 To try to get the v8 to ...
user avatar
  • 1
2 votes
1 answer
98 views

wxLua caused collect2: error: ld returned 1 exit status

I try to get zerobrane studio running. Unfortunately, I missing wxLua. Therefore, I did the following steps: $ sudo apt install libwxgtk3.0-dev cmake libwxgtk-media3.0-gtk3-dev libwxgtk-media3.0-dev ...
user avatar
0 votes
0 answers
47 views

make install error when compiling from source

When I attempt to install dgraph from source I get the following error messages: I have virtually no experience with C or make and I'm afraid to screw with this. I looked everything that looked like ...
user avatar
  • 3
0 votes
0 answers
291 views

How to force cmake search already installed readline in Ubuntu?

04 64bit and trying to compile something and in my sources is this macro: if( UNIX ) # find Readline (terminal input library) includes and library # # READLINE_INCLUDE_DIR - where the directory ...
user avatar
0 votes
1 answer
372 views

Is it possible to compile SDRPlusPlus on Ubuntu 18.04 LTS?

Currently new SDR related software named SDRPlusPlus is available as deb-packages only for Ubuntu 20.04 LTS and newer versions. Is it possible to compile SDRPlusPlus on Ubuntu 18.04 LTS?
user avatar
  • 88.9k
0 votes
1 answer
1k views

What is build directory?

I'm trying to build Audacity following the instructions in https://github.com/audacity/audacity/blob/master/BUILDING.md And the second last step: $ cd <build directory> what does this means? ...
user avatar
0 votes
0 answers
155 views

Cmake fails to build an executable

Trying to build a program with Cmake Results in: me@ubuntu-20-04:~/Downloads/UxPlay/build$ cmake .. -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:3 (project): No ...
user avatar
  • 21
0 votes
0 answers
145 views

i have installed cmake to /usr/local but when i use it ,return

bash cmake-3.18.6-Linux-x86_64.sh --skip-license --prefix=/usr/local i use cmake --version return bash: /usr/bin/cmake: No such file or directory
user avatar
1 vote
2 answers
3k views

bad cmake executable vscode

I've recently freshly installed Ubuntu 20.04, and VSCode, meant for c++. I added the C/C++, CMake and CMake Tools extensions. Then I cloned one of my old github repos for testing and tried to Cmake:...
user avatar
0 votes
0 answers
151 views

Cmake Error: Problem with archive_write_finish_entry(): Write to restore size failed

I'm getting this error when running cmake ..; ... {more warnings, all unkown} cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning CMake ...
user avatar
0 votes
1 answer
148 views

Can't compile project in c++, regardless of IDEs

I have been having problems with running c++ programs on ubuntu 20.04. The problem is, that even I write legit code that the compiler can understand, the same error occurs saying that "Error: ...
user avatar
0 votes
0 answers
24 views

I am trying to run code of HELIOS-r2 software from github

I am trying to run code of HELIOS-r2 software from github, but I receive this error message: [ 10%] Built target helios_r_cuda [ 43%] Built target fastchem [ 45%] Linking CXX executable ../helios-r /...
user avatar
1 vote
1 answer
718 views

I am getting error about X11 library

when I run cmake build I get this error: CMake Error at cmake/Macros.cmake:296 (message): Missing item in X11_X11_LIB;X11_Xrandr_LIB Call Stack (most recent call first): src/SFML/Window/CMakeLists....
user avatar
0 votes
1 answer
146 views

add_executable Error - CMake

I created a package and source file in my Ubuntu 20.04 computer. My goal is to visualize dummy sensors and objects in Rviz2. To do that I followed the How to visualize sensor data in ROS2 article. ...
user avatar
  • 1
0 votes
1 answer
1k views

main.cpp:1:10: fatal error: Sort.h: No such file or directory

I want to write makefile to compile my C++ codes. The tree of my files is this: . ├── include │   └── Sort.h ├── lib │   └── Sort.cpp └── src ├── main.cpp ├── makefile └── obj And this is ...
user avatar
  • 43
0 votes
1 answer
950 views

Why cant I get libevdev-dev package on Ubuntu 20.04? [duplicate]

I'm new to Linux and I'm having a hard time with a package. I've been trying to run the ''cmake .'' and I can't because I don't have the libevdev package. ~/joycond$ cmake . -- Checking for module '...
user avatar
0 votes
0 answers
125 views

How to solve "make" issue while cross-compiling on the ubuntu

I am trying to cross-compile this (ultralytics/yolov5) project on my ubuntu machine. Since I am compiling it for my another machine "raspberry Pi" so I already installed the toolchain which ...
user avatar
2 votes
2 answers
4k views

Cannot find appropriate C compiler on this system

i got this error when using ./bootstrap command for installing cmake --------------------------------------------- CMake 3.18.0, Copyright 2000-2020 Kitware, Inc. and Contributors ---------------------...
user avatar
  • 71
1 vote
0 answers
229 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 ...
user avatar
1 vote
1 answer
333 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 ...
user avatar
1 vote
1 answer
368 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 ${...
user avatar
  • 11
0 votes
1 answer
177 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 ...
user avatar
1 vote
1 answer
78 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 ...
user avatar
0 votes
1 answer
129 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 ...
user avatar
  • 1
3 votes
1 answer
9k 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/...
user avatar
0 votes
1 answer
2k 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 <...
user avatar
0 votes
1 answer
337 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 ...
user avatar
0 votes
0 answers
114 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-...
user avatar
0 votes
0 answers
21 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 ...
user avatar
1 vote
1 answer
104 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 ...
user avatar
2 votes
1 answer
517 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 ...
user avatar
0 votes
1 answer
418 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 ...
user avatar
  • 103
0 votes
1 answer
232 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 ...
user avatar

1
2 3 4 5
7