Questions tagged [cmake-gui]

cmake-gui is CMake's bundled GUI wrapper for its command line interface. One can use this program for configure a CMake project and edit settings of such configuration. Use this tag for questions specifically about usage of the cmake-gui program.

From the reference documentation:

The cmake-gui executable is the CMake GUI. Project configuration settings may be specified interactively. Brief instructions are provided at the bottom of the window when the program is running.

Use this tag for questions specifically about usage of the cmake-gui program and not for questions about usage of CMake in general.

261 questions
0
votes
0 answers

CMake GUI can't specify vcpkg toolchain using %VCPKG_ROOT%

Using the CMake GUI on Windows, if I select "Specify toolchain file for cross-compiling" I can then provide the explicit path to my vcpkg.cmake file, and my project will Configure, Generate, build and run. If I instead provide the path using the…
user2023370
  • 10,488
  • 6
  • 50
  • 83
0
votes
2 answers

Does cmake set INTERNAL apply FORCE?

From the CMake set() command's documentation: If is INTERNAL, the cache variable is marked as internal, and will not be shown to the user in tools like cmake-gui. This is intended for values that should be persisted in the cache, but which users…
Matt Stokes
  • 4,618
  • 9
  • 33
  • 56
0
votes
1 answer

Cannot rebuild CMake after I have moved folders down one directory

I have moved my entire CMake projects down one directory to be inside a new directory called resources/.... Doing so, I now received this error. CMake Error: The source "C:/.../CMake_tutorial/resources/CMakeLists.txt" does not match the source…
Joe
  • 153
  • 9
0
votes
1 answer

how to remove or delete other meshlab plugin functions from source code?

I have imported QT5 C++ project from GitHub here is the screenshot of MeshLab plugin and many of the plugin functions I have already deleted and other I want to delete from application so how to remove these functions from source code. I just want…
0
votes
0 answers

How to get cmake command line arguments from running GUI

I managed to set up my project using cmake GUI. Is there a way to find the cmake command line to produce equivalent results (so that I don't have to run GUI every time)? Something like "When you clicked generate button the following was run: cmake…
Serge
  • 1,027
  • 14
  • 21
0
votes
0 answers

i'm trying to install cutefish os on my ubuntu which is the version is 22.04 kinetic, but when i followed the tutorial, i get error

based on the following tutorial https://github.com/cutefish-ubuntu/cutefish-desktop-ubuntu when at the step 3, which is the instruction cd ~/Downloads/cutefish git clone https://github.com/cutefishos/kwin-plugins cd kwin-plugins dpkg-buildpackage…
Rogan
  • 1
  • 1
0
votes
0 answers

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

I am trying to configure my project via the Cmake GUI. Sadly CMake throws me this error: CMake Error at CMakeLists.txt:11 (find_package): Could not find a configuration file for package "Qt6" that is compatible with requested version "". The…
LoveAndMercy
  • 27
  • 1
  • 1
  • 6
0
votes
0 answers

Why is cmake-gui not setting environment variables like it should?

I'm trying to compile M2aia (look it up on GitHub), which is based on MITK and I get the cmake-error: [ 1%] Performing update step for 'MITK-Data' [ 1%] No patch step for 'MITK-Data' [ 1%] No configure step for 'MITK-Data' [ 2%] No build step…
L0ren2
  • 123
  • 1
  • 1
  • 9
0
votes
0 answers

Is there a direct way to return the git commit hash in Visual Studio 2015 header file without using a CMake file and bash setup?

I know there are already resources of printing or returning a git commit hash in VS/C++ with the use of some kind of make based files and some script setup. But I was wondering if there is a direct way of getting the hash number from git command to…
CodeNoob
  • 3
  • 5
0
votes
1 answer

Generating build files for different visual studio versions

I recently moved to VS2022 and uninstalled VS2019. However, I need to generate some build files in VS2019. When I try to do so, I get this error CMake Error at CMakeLists.txt:2 (project): Generator Visual Studio 16 2019 could not find any…
dobby
  • 7
  • 3
0
votes
0 answers

Cmake: command not found on macOS while I installed cmake-gui

I've installed cmake-GUI, but when I want to use cmake instruction in terminal, the terminal told me that cmake command not found. How can I get cmake instruction work in terminal? Should I use brew install cmake or use some configurations to make…
RiverFlows
  • 31
  • 4
0
votes
1 answer

CMake can not find Boost Python

I'm trying to build 3d party application using CMake 3.17.5. I have boost installed by vcpkg (on Windows). I checked I have boost-python installed by vcpkg. I got the following error in CMake GUI: CMake Error at C:/Program Files…
0
votes
0 answers

No SOURCES given to target: MyProject ? (OpenSceneGraph Basics)

I am new to the CMake environment and I am trying to learn it for OpenSceneGraph. I am following the instructions from the book "OpenSceneGraph 3.0 Beginners Guide". I am getting an error when I try to create the "Hello World" project in Chapter…
0
votes
0 answers

What does this CMake error mean? And how could I go about resolving it?

I get this error, which I've been trying to understand for some time now but getting nowhere. add_library cannot create target "Plugin" because another target with the same name already exists. The existing target is a shared library created in…
B_M
  • 23
  • 5
0
votes
0 answers

Installing LAPACK using CMake on Windows

I would like to install LAPACK on my Windows.I am using CMake 3.21.0 GUI for my installation and the LAPACK version is 3.9.1. I encountered the following error message: CMake Error: Cannot open file for write: C:/Program…
Mario Lorenzo
  • 19
  • 1
  • 3