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
1
vote
1 answer

How to configure cmake for msys2

I'm using external cmake with msys2, since cmake-gui provided by msys2 won't run (invalid win32 application). Now the problem is there's only so much I can configure using cmake-gui. I downloaded OpenALSoft today and when I ran make install it…
1
vote
1 answer

Installing OpenCV and Extra modules on Windows 10 Visual Studio 2015

I've been trying to install OpenCV extra modules to use the tracking algorithms. I have downloaded all the files and CMake by following this tutorial…
DonnellyOverflow
  • 3,981
  • 6
  • 27
  • 39
1
vote
1 answer

Qt5 libraries mistakenly deleted

I mistakenly deleted all qt5 related files in /usr/lib/x86_64-linux-gnu. So, I installed qt5 again using sudo apt-get install qt5-default sudo apt-get install qtdeclarative5-dev But, applications that use qt5 complains that somethings are…
foothill
  • 483
  • 3
  • 8
  • 18
1
vote
1 answer

CMAKE 3.8, imported targets not available for Boost version

I'm on Windows 10 and got this error when generating solution using CMake-GUI: CMake Warning at C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:765 (message): Imported targets not available for Boost version Call Stack (most recent…
EyeQ Tech
  • 7,198
  • 18
  • 72
  • 126
1
vote
1 answer

Why can't Cmake find the library using include_directories?

I am trying to configure a project for Visual Studio 2017 in CMake and gives me the error: microhttpd NOT found This was the only problem while configuring it, I tried it turning the flag off and worked. I included these two…
Andy
  • 186
  • 1
  • 4
  • 23
1
vote
1 answer

How can I create a file during CMake install process?

I have a WiX installer for my library and I want to create the PACKAGE-config-version.cmake file during the install process, since it uses the ${PROJECT_VERSION} variable which is contained in my top level CMake file, which also contains all the…
hechth
  • 95
  • 11
1
vote
1 answer

How to tell CMake where to find pthread.h on Windows

EDIT: NEVERMIND - I had already successfully fixed this problem by putting a copy of the header where the compiler would find it. However, other build errors in cmake-gui kept referring me to the old error log file with the old build error, making…
hoodaticus
  • 3,772
  • 1
  • 18
  • 28
1
vote
0 answers

The C compiler "cl" is not able to compile a simple test program

I am having a trouble building ITK library (InsightToolkit-4.1.0) with cmake-gui (cmake-2.8.8-win32-x86) under Windows 7 using Visual Studio 2010, as mentioned here: https://itk.org/Wiki/ITK/Configuring_and_Building/VisualStudio . I have done…
Khaled
  • 81
  • 1
  • 14
1
vote
1 answer

"No compiler could be found" error in cmake GUI

I am using VS 2015 and cmake 3.8. While configuring in the cmake GUI, I am getting these errors "No CMAKE_CXX_COMPILER could be found" "No CMAKE_C_COMPILER could be found" What could the reason be and how can I fix it?
1
vote
2 answers

CMake Error: Could Not Find OpenSSL

My Objective: I'm trying to configure Mosquitto broker to use websockets. The Warnings and Errors: https://docs.google.com/document/d/1HJ75NO1wBsnNfFFszeXP4p8re7m4gTE_CMbFoSswJJs/edit?usp=sharing Software: Windows 10 x64 libwebsockets-master Cmake…
Jnr
  • 1,504
  • 2
  • 21
  • 36
1
vote
1 answer

Modifying variables in cmake-gui

Here is said that to run cmake for each builds (debug and release) it is recommended to pass CMAKE_BUILD_TYPE as an argument to cmake, e.g. cmake -DCMAKE_BUILD_TYPE=Release .. or cmake -DCMAKE_BUILD_TYPE=Debug .. What is the equivalent of this in…
Wakan Tanka
  • 7,542
  • 16
  • 69
  • 122
1
vote
1 answer

How to preserve single quotes in a CMake cached variable?

I have a variable SET(CODE_COVERAGE_EXCLUSION_LIST "" CACHE STRING "List of resources to exclude from code coverage analysis") It must contain a list of expressions such as : 'tests/*' '/usr/*' When trying to set the default value to the above…
Barth
  • 15,135
  • 20
  • 70
  • 105
1
vote
2 answers

Configuring cmake version that ccmake uses

I have a software that needs to use cmake 3.3 or higher, so I built and installed cmake-3.4.1 from source. I also installed the Cmake GUI (ccmake) from Ubuntu repositories, but when I execute it, it says that I have CMake Version 3.2.2. instead of…
Dau
  • 419
  • 1
  • 5
  • 20
1
vote
2 answers

CMakeGUI doesn't show output Log

I'm using CMakeGUI 3.3.2 under Windows 8.1 x64. It worked well until a blackout happened (while I was installing PCL libraries) that powered off the computer. After this, CmakeGUI doesn't show any more the output section as can be seen in the…
1
vote
2 answers

cmake add_subdirectory error only with cmake command line but not cmake-gui on windows (with source checked out at root of a drive letter)

I'm working on 3dtk which uses CMake to build. You can find its CMakeLists.txt here: https://sourceforge.net/p/slam6d/code/HEAD/tree/trunk/CMakeLists.txt In several places it uses the add_subdirectory directive and never supplies a second argument…
josch
  • 6,716
  • 3
  • 41
  • 49