Skip to main content

Questions tagged [cmake]

Questions specific for CMake build tool.

0 votes
3 answers
118 views

Does CMake/make have the ability to make my Linux operating system unstable?

30 years ago, I've started C++. Mostly under DOS, Windows 3.1 and 95. I've wrote some for 10 years. Then Java replaced it at work, for about 20 years. Now C++ in coming back in the front of the scene. ...
Marc Le Bihan's user avatar
0 votes
1 answer
284 views

How can uninstall a built package completely?

I install taskwarrior this way: tar xzf task-3.3.0.tar.gz cd task-3.3.0 cmake -S . -B build -DCMAKE_BUILD_TYPE=Release . cmake --build build ...
showkey's user avatar
  • 571
0 votes
1 answer
280 views

CMake against Conda environment

I am trying to build some project (crocoddyl) against the conda environment using CMake. Build command is: cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX ${CMAKE_ARGS} -S . -B build I have all the ...
m8dotpie's user avatar
0 votes
1 answer
299 views

CMake error: In the make step, compiler is unable to see header file that does exist. Exporting pasth to CPATH doesn't help

On Pop!_OS 22.04 LTS x86_64, I am trying to install libLAS-1.8.1 from source (downloaded as a targz2)(as a dependency of ESRI - 3DForests. I am following the official? tutorial but am stuck. "...
ChiggyClaus's user avatar
3 votes
1 answer
2k views

fatal error: bsd/string.h: No such file or directory

According to the answer I need to include -lbsd to the gcc command. But I have no idea where I am supposed to insert it here. I'm using Ubuntu 24.04, Linux vivobook16-m1605xa-mb089 6.8.0-31-generic #...
chipichippichappachapppa's user avatar
1 vote
2 answers
91 views

Specifying a toplevel installation directory

I am building the lean prover system git clone https://github.com/leanprover/lean4 --recurse-submodules cd lean4 mkdir -p build/release cd build/release cmake ../.. make But rather than using a ...
Vera's user avatar
  • 1,373
4 votes
1 answer
1k views

How can I find the cmake variable that holds the path to a package

Let's say I used find_package(SDL REQUIRED) now I need to link to this library through target_link_libraries what would be the name of the variable to pass to target_link_libraries? In general is ...
SGriffeth's user avatar
0 votes
1 answer
1k views

CMake build can't find Qt6 library in /usr/local

I have an Orange Pi 5, an arm64 SBC running Joshua Riek's Ubuntu 22.04.4 for RK3588 (link to project). I'm trying to build Duckstation, a PS1 emulator, which depends on Qt 6.6.2. The latest arm64 Qt ...
eeliale's user avatar
  • 11
0 votes
0 answers
27 views

Terminal does not use .bashrc variables, but recognized them [duplicate]

I have installed the latest Pop!_OS version on my new computer and wanted to set the following environment variables: CC=/usr/bin/clang CXX=/usr/bin/clang++ CMAKE_GENERATOR=Ninja Instead of typing ...
mxHuber's user avatar
0 votes
1 answer
503 views

How do I make vcpkg install packages system wide

My system package manager dnf (Im using fedora Linux) doesn't have an imgui package or an assimp package so I decided to use vcpkg for installing imgui and assimp. The problem I think is that ...
SGriffeth's user avatar
0 votes
1 answer
57 views

Error "undefined reference to" when building package seafile-client on manjaro

My seafile-client on Manjaro stopped working. So, I removed it and tried to reinstall it. However, when I tried to build the seafile-client from AUR, the installation always aborts. The installation ...
YukiJ's user avatar
  • 101
1 vote
1 answer
121 views

What's overriding my .vimrc tabstop size setting for CMake files?

In my ~/.vim/vimrc, I have: set shiftwidth=4 set tabstop=4 and when I edit a plain text file, that is respected. However, when I edit a CMake file - these both becomes 8. I tried looking for the ...
einpoklum's user avatar
  • 11k
0 votes
0 answers
54 views

Cannot compile critic2 using libxc. cmake says different compiler

$ cmake -DCMAKE_BUILD_TYPE=Release -DLIBXC_DIR=/usr/lib/x86_64-linux-gnu/libxc.so .. -- A library with BLAS API found. -- Could NOT find NUMDIFF (missing: NUMDIFF_EXE) -- Found libxc (lib=/usr/local/...
Kamalesh Roy's user avatar
3 votes
1 answer
137 views

Where should test executables be installed?

I am packaging a component that will also have test executables packaged with it (ideally in a separate package from the runtime package). Ideally, I don't want to package them in /usr/bin since the ...
Paul Fultz II's user avatar
1 vote
1 answer
342 views

building Debian package from Buster fails on Bookworm

I need to use older version of linphone on Debian 12. The version in bookworm is 4.4.10-3, and I actually need 3.12.0, which is available in Buster. On my bookworm build machine, I changed the sources,...
Martin Vegter's user avatar

15 30 50 per page
1
2 3 4 5
10