Questions tagged [cmake]

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

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

cmake Not Detecting Library Files Within Conda Environment

I am trying to work with the Conda installation instructions for Geant https://geant4-userdoc.web.cern.ch/UsersGuides/InstallationGuide/html/index.html#conda-on-linux-macos # Basic steps to setup ...
jamboNum5's user avatar
  • 130
0 votes
0 answers
63 views

Boost files in /usr/lib/ still being found by cmake while non-existent

I am trying to install Boost 1.65 from source on Ubuntu 22.04. This is working fine, the libraries are installed into /usr/local/lib as expected. However, when I run CMake on my project using ...
clocksw's user avatar
0 votes
0 answers
312 views

The C compiler "/usr/bin/cc" is not able to compile a simple test program. flutter

####@flash:~/Documents/app_dev/test_one$ dart run jni:setup -p jni -s src/calculation selecting source directories: [src/calculation, /home/####/.pub-cache/hosted/pub.dev/jni-0.7.2/src] Target newer ...
bot_one's user avatar
6 votes
1 answer
2k views

A binary file exists but shell says no such file

I'm using the Ubuntu in UserLAnd on an android. I just installed from the Android SDK Manager sdkmanager cmake 3.18.1. Now, I can see the cmake executable from its directory cmake/3.18.1/bin byls, ...
wicstas's user avatar
  • 79
1 vote
1 answer
385 views

Why am I getting a cmake error while installing latte-dock from git?

I am using kubuntu(wayland). I started following the installation documentation on github to install latte-dock: sudo add-apt-repository ppa:kubuntu-ppa/backports sudo apt update sudo apt dist-upgrade ...
Sagnik Taraphdar's user avatar
1 vote
1 answer
530 views

Remove cmake from Ubuntu 22.04.3

I needed updating my cmake program on Ubuntu 22.04.3 version amd64, but wrongly downloaded the aarch64 version of cmake using this method (https://www.golinuxcloud.com/install-cmake-on-ubuntu/#Method-...
Franky's user avatar
  • 163
1 vote
0 answers
835 views

How to solve cmake "Could NOT find Threads" issue on Jenkins

I'm trying to create a Jenkins job that need to build a project with CMake, but keep getting an error Could NOT find Threads (missing: Threads_FOUND) I've installed both libpthread-stubs0-dev and ...
JaSON's user avatar
  • 123
2 votes
1 answer
4k views

How to install clang-15 or higher? (16 preferably)

I am currently trying to build a project using cmake, and the error that occurs reads: CMake Error at cmake/tools.cmake:33 (message): Compilation with Clang version 14.0.0 is unsupported, the ...
Rajatt's user avatar
  • 23
0 votes
0 answers
77 views

GNU RISC-V Make Trying to Access File in Directory it just Created

I'm trying to run xv6-riscv. I'm on Ubuntu 22.04.2 LTS, so I needed to build the gnu-riscv-toolchain. Following these instructions, I ran sudo make. Eventually, make produced the following output: rm -...
VanceR's user avatar
  • 1
0 votes
0 answers
345 views

Using Ubuntu 22.04 for ROS2 Humble, Ceres-Solver, PCL and Octomap

I am trying to use Ubuntu 22.04 for ROS2 Humble, Ceres-solver, PCL and Octomap. I keep on running issues with these programs. I downloaded ROS2 Humble as a debian and I think it works correctly but ...
Tony Kwon's user avatar
1 vote
1 answer
259 views

Syntax error in object.h file from python3.10-dev package

I am writing a code to edit Sqlite database from c++ and then using PyBind11 to use the program with python. I installed PyBind11, built it till here no issue but when I am building the code it shows ...
Raghav's user avatar
  • 11
0 votes
1 answer
317 views

Getting "Could not find curses error" while installing mariadb from mariadbserver in ubuntu

I am installing MariaDB in my ubuntu based on the following readme file. My ubuntu version is 22.04 and I am using the MariaDB branch 11.0. I have followed the starting the steps and they are running ...
Waleed Ahmed Shahid's user avatar
0 votes
1 answer
858 views

CMake: "ERROR: Package [...] build failed", error in m4 build() method

I am trying to install a custom piece of software for my job. I downloaded the source, went inside the folder and typed $ cmake ... After reading AskUbuntu answers, I deduced the problem comes from my ...
C. Crt's user avatar
  • 131
0 votes
1 answer
489 views

Compiling with make gives me the error: cc1plus: error: unrecognized argument to ‘-flto=’ option: ‘auto -ffat-lto-objects -flto=auto’

I'm trying to compile this code whith the procedure that apears in the site. I make a new "build" folder and i use the command "cmake .." after i enter the folder, but when i use ...
Dokalozu's user avatar
-1 votes
1 answer
630 views

How to check if a package is installed while installing with make

Lets say I want to install a package like kenlm. I have used this link to install it and it got installed without raising any error. Now how can I check where in my machine it has been installed? ...
sariii's user avatar
  • 101
0 votes
1 answer
395 views

Best way of building a Ubuntu CMake app as cross platform on Visual Studio 2022 Community Ed. c++?

Questions: Are there CMake differences between Ubuntu 22.04 and Visual Studio 2019 Comm Windows 10/11? Aside from CMake version minimum 3.20 for VS2019, I had been using 3.23 on Ubuntu. Qt required ...
Sildeag's user avatar
  • 153
1 vote
1 answer
6k views

How to install the program gr-gsm?

I am trying to install a program named gr-gsm on my system. So, I followed the official guide from here but when I entered the command cmake .. (while following the installation guide) it returns this ...
Mahir's user avatar
  • 395
0 votes
1 answer
81 views

cmake project involving UseLATEX.cmake builds but fails to create output PDF. What am I doing wrong?

In manual folder on Ubuntu 22.04 I have files manual.tex, A.tex, B.tex, C.tex, D.tex (the chapters), UseLATEX.cmake, and CMakeLists.txt. CMakeLists.txt contains: cmake_minimum_required(VERSION 3.22) ...
Sildeag's user avatar
  • 153
1 vote
1 answer
713 views

/usr/bin/ld: cannot find -lpython3.9d

I have this error on ubuntu 20.04 while running cmake then make [100%] Linking CXX executable ./tmp/DearPyGuiDearSandbox/DearSandbox /usr/bin/ld: cannot find -lpython3.9d collect2: error: ld returned ...
Rasule's user avatar
  • 13
0 votes
0 answers
172 views

cmake Error and libcurl version is not provided

I'm getting following error while running cmake command and also whenever it runs fine it give error libcurl version is not available Getting this error cmake -version cmake: error while loading ...
aman jindal's user avatar
0 votes
2 answers
164 views

Could NOT find Discount (missing: Discount_LIBRARIES)

I tried to compile Okular from source. cmake complains that many things are missing. I manually search via Google for each error, or also via apt search and try to figure out the right Ubuntu package (...
Albert's user avatar
  • 2,577
1 vote
1 answer
103 views

How would I convert a cmake kde package to a deb source format

So I want to convert the package plank-player to Debian source to be easily compiled, the package uses CMake. Note I do not know what else to put in here so yay if your info ask
lnee's user avatar
  • 796
0 votes
1 answer
608 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), ...
M.K's user avatar
  • 117
1 vote
1 answer
843 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 ...
bim's user avatar
  • 111
0 votes
0 answers
411 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 ...
Dmitriy Ogureckiy's user avatar
0 votes
0 answers
1k 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 ...
Siamaster's user avatar
  • 101
2 votes
1 answer
1k 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 ...
iwarv's user avatar
  • 121
0 votes
0 answers
51 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. ...
user3808217's user avatar
0 votes
0 answers
26 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 ...
Pablo's user avatar
  • 101
2 votes
1 answer
1k 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/...
Mestrio's user avatar
  • 43
1 vote
1 answer
269 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 ...
A J's user avatar
  • 41
1 vote
1 answer
208 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 ...
lnee's user avatar
  • 796
3 votes
1 answer
7k 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 ...
DarrenRhodes's user avatar
0 votes
1 answer
4k 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 ...
LuCC's user avatar
  • 3
0 votes
0 answers
5k 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 ...
Robb's user avatar
  • 1
2 votes
1 answer
168 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 ...
user977828's user avatar
0 votes
0 answers
207 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 ...
tem's user avatar
  • 3
0 votes
1 answer
2k 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?
N0rbert's user avatar
  • 99.8k
1 vote
1 answer
7k 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? ...
matthew's user avatar
  • 13
0 votes
0 answers
390 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 ...
puma's user avatar
  • 21
0 votes
0 answers
302 views

Cmake returning bash cmake-3.18.6-Linux-x86_64.sh --skip-license --prefix=/usr/local

I have installed cmake to /usr/local but when I use it, receive this: bash cmake-3.18.6-Linux-x86_64.sh --skip-license --prefix=/usr/local I run cmake --version, but: bash: /usr/bin/cmake: No such ...
user10736820's user avatar
2 votes
2 answers
8k 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:...
yomag1234's user avatar
0 votes
0 answers
478 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 ...
Bean Time's user avatar
0 votes
1 answer
316 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: ...
Ibrokhim Bakhtiyorov's user avatar
1 vote
1 answer
3k 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....
Amar Brkić's user avatar
0 votes
1 answer
623 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. ...
mfatih's user avatar
  • 1
0 votes
1 answer
3k 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 ...
Milad's user avatar
  • 163
0 votes
1 answer
4k 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 '...
1rstLegend's user avatar
0 votes
0 answers
333 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 ...
Jaskirat Singh's user avatar
1 vote
2 answers
13k 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 ---------------------...
prog 's user avatar
  • 69

1
2 3 4 5
7