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
6
votes
2 answers

Using Cmake-gui and vcpkg

I am testing vcpkg for my project and I came across a problem with cmake-gui I have installed vcpkg, with the help of vcpkg Boost libraries were installed. When I compile via command line, everything works as it should. I use command cmake ..…
JoeFromVienna
  • 71
  • 1
  • 3
6
votes
1 answer

Ignore warnings in external modules when using CMake

I am using CMake GUI (no version) with CMake 3.6.1. I am using an external module with add_subdirectory that shows me some warnings that I do not like (because of the annoying pollution): CMake Warning (dev) at…
Liviu
  • 1,859
  • 2
  • 22
  • 48
6
votes
5 answers

CMake error while configuring "install TARGETS given no RUNTIME DESTINATION for executable target "assimp_simpletexturedogl"."

I'm trying to use CMake to configure assimp's samples but there are some error while configuring I've tried lot's of method but no one works. CMake Error at CMakeLists.txt:41 (INSTALL): install TARGETS given no RUNTIME DESTINATION for…
CloudL
  • 201
  • 1
  • 5
  • 16
6
votes
2 answers

Setting a cross-compiler file using the CMake GUI

I'm trying set-up my cross-compile build using CMake. So far I'm setting the cross compiler file calling CMake like this from the command line: #Call cmake with the given options cmake -D CMAKE_TOOLCHAIN_FILE=$cross_cmp_file \ -D…
El Marce
  • 3,144
  • 1
  • 26
  • 40
6
votes
0 answers

How do i set Qt5Config.cmake path in fedora 20?

I have already installed Qt5. I get the following error when I run cmake on the build files of an application. CMake Error at CMakeLists.txt:12 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to…
Souvik Das
  • 335
  • 1
  • 4
  • 14
6
votes
1 answer

Cannot find python libraries for CMake in Opencv3.0.0

Trying to build Opencv3.0.0 (dev), cmake finds the binary and python 2 locations but isn't able to include python libraries. I use cmake-gui for makefile generation. While configuring cmake, it gives this piece of info along with other various…
navderm
  • 799
  • 2
  • 11
  • 33
5
votes
2 answers

Could NOT find Glog (missing: GLOG_INCLUDE_DIR GLOG_LIBRARY)

I am trying to install openpose in Ubuntu 20.04 using CMAKE and I get the following error: Could NOT find Glog (missing: GLOG_INCLUDE_DIR GLOG_LIBRARY) I am following the instructions here (unfortunately, the screenshots are not available but I…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
5
votes
1 answer

How do I tell CMake where to find libusb?

I'm trying to build logger1, which collects data from a Kinect for off-line SLAM by ElasticFusion. I'm building on Windows. I'm trying to build for x64 with VS10 (I have VS12 as well but some of the dependencies come pre-configured to VS10 so to…
Kevin
  • 1,179
  • 7
  • 18
5
votes
1 answer

CMake and VisualStudio: Group files in solution explorer

To finish a long coding session on a project, I wanted to test if my CPP project is compilable on an arrangement of OS'es. I've been working in Win10 all the time. Compiles fine. I've tried a Raspberry Pi. Compiles fine. I re-download a seperate…
MrKickkiller
  • 501
  • 10
  • 22
5
votes
2 answers

CMake : C and CXX compiler identification is unknown Win10 CMakeGUI

So I am trying to configure a file based on this tutorial on youtube which is very simple : https://www.youtube.com/watch?v=gYmgbqGfv-8 I use CMake GUI in Windows 10 and I have a running Visual Studio 2015 which is able to build c++ projects already…
Aldo aldo
  • 382
  • 1
  • 2
  • 10
4
votes
1 answer

why original project directory structure is not maintained after cmake build (seen in Xcode Project File .xcodeproj)

The following is my directory structure and I want to generate a cmake file (.xcodeproj / codeBlock project file for ubuntu or just a simple make file) using CMake. ├── ExternalLibs │   ├── license.txt │   ├── rapidxml.hpp │   ├──…
Tanmoy Mondal
  • 449
  • 1
  • 6
  • 12
4
votes
1 answer

determine whether cmake is executing from terminal or gui

In CMakeLists.txt, is there a way to know whether the file was executed from a terminal or via a gui (of some form, e.g. ccmake or cmake-gui)? CMAKE_COMMAND and CMAKE_EDIT_COMMAND are both populated regardless of whether I am running cmake or…
svenevs
  • 833
  • 9
  • 24
4
votes
1 answer

Proper way to compile project with debug symbols and cmake

Here is recommended to pass CMAKE_BUILD_TYPE as an argument to cmake when I want to obtain debug or release project builds. I'm trying to compile libharu with cmake and I would like to compile it with debug symbols. I've searched CMakeLists.txt…
Wakan Tanka
  • 7,542
  • 16
  • 69
  • 122
4
votes
2 answers

CMake with VIsual Studio 2015 and Clang

I'm a beginner in CMake and just recently migrated my current project from a Visual Studio 2015 solution to a CMake project. It took me a few days, but now I'm at the point where my project is fully migrated and the generated Visual Studio solution…
4
votes
0 answers

Building OpenImage IO on windows

I want to build OpenImageIO on windows using cmake but I am stuck with the following problem: cmake stops the project generation process because it cannot find the third party libraries required by OpenImageIO. Here is what I did (I followed the…
Rafael Pasquay
  • 328
  • 4
  • 11
1
2
3
17 18