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
2
votes
1 answer

CMake can not find Python 3

The following is my error upon compiling: CMake Error at /Applications/CMake.app/Contents/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find PythonInterp: Found unsuitable version "2.7.16", but required is…
Gordon
  • 21
  • 1
  • 5
2
votes
2 answers

No matching distribution found for pptk in anaconda

I am trying to install pptk in an anaconda environment by pip install pptk But everytime it returns the same error ERROR: Could not find a version that satisfies the requirement pptk (from versions: none) ERROR: No matching distribution found for…
Tawhidul Islam
  • 69
  • 1
  • 2
  • 8
2
votes
0 answers

cmake-gui missing GUI elements

When I run cmake-gui.exe most of the GUI elements are hidden: the only elements I can see are the SourceDirectory line, the BinaryDirectory line and the Output panel. There are no cache values or search options displayed. There is however a…
2
votes
2 answers

Error building opencv with cmake on raspberry pi

I'm trying to build opencv-3.4.0 (with opencv_contrib-3.4.0) on Raspberry Pi. I'm getting a cmake build error after a 99 % , what should I change? After I tried "make -j4" in the opencv-3.4.0/build folder, it successfully completed its process until…
efedoganay
  • 133
  • 2
  • 11
2
votes
1 answer

CMake GUI with Ninja on macOS

I'm trying to create Ninja build files using CMake GUI. I've tried to install Ninja on macOS using Brew and manually. Both times I made sure that ninja is available on the PATH but CMake GUI was never able to find ninja. CMake Error: CMake was…
Thor_Bux
  • 1,137
  • 12
  • 26
2
votes
3 answers

cmake windows x64 builds

Is there a way to use the cmake gui to specify a x64 build, since by default cmake on windows creates a 32-bit Visual Studio solution. From the command line, folks say to do this: C:\projectx\build> cmake ..\make -G "Visual Studio 10 Win64" but how…
Dr.YSG
  • 7,171
  • 22
  • 81
  • 139
2
votes
0 answers

Using Android NDK in Cmake

I put you in a situation to know what I need. I have some source code to make a tracking system based on ORB. I have 3 folders that I have to generate libraries. At the same time I have another carp that is responsible for calling the functions of…
2
votes
2 answers

Cmake Could not find wxWigets

I want to compile a source code on windows using CMake, it uses wxWigets library. I downloaded the wxWigets from the page: https://www.wxwidgets.org/ After building by Visual Studio, I got the library /lib file. I have already set PATH for…
Karim
  • 252
  • 1
  • 4
  • 17
2
votes
1 answer

Cmake gui resets parameter. How do I set parameter in cmake gui?

I am trying to build cmake after vtk has been built. I see that WITH_VTK is checked, so I try to change VTK_PATH inplace: Unfortunately I get this message VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK in log…
Stepan Yakovenko
  • 8,670
  • 28
  • 113
  • 206
2
votes
0 answers

How to make a Qt App for iOS & android using CMakeLists.txt

I have a pure C++ console app which runs on OSX & I need to extend it as cross-platform (iOS+Android+OSX) with a simple UI for which I am planning to use commercial Qt. The app's code compiles on g++ as well as clang++. I verified it by making a…
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
2
votes
2 answers

Using HDF5 Libraries with CMake on Windows (Error: "Could NOT find HDF5")

I want to use the HDF5 libraries in my C++ program. I am using the VS 2010 x64 compiler and CMake 3.8.0rc2 on Windows 7. The HDF5 version I installed is 1.8.10 (installed by running the official "Installer"). In my CMakeLists file, I added the…
j9dy
  • 2,029
  • 3
  • 25
  • 39
2
votes
1 answer

Clear the "Where to build the binaries" history in cmake gui

It's a simple question, yet for the life of me, can't find a simple answer to this question.
2
votes
1 answer

not found in CMake in Win10

I am using CMake GUI for renderdoc and I get these messages. How should I fix them? The C compiler identification is MSVC 19.0.24215.1 Check for working C compiler: D:/VS15/VC/bin/x86_amd64/cl.exe Check for working C compiler:…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
2
votes
1 answer

No CMAKE_C_COMPILER could be found

I get this error for Visual Studio Enterprise 2015 and CMake 3.7.1 On Windows 10 Home Edition 64 bit. Instruction is: Use CMake to build zlib /renderdoc/renderdoc/3rdparty/zlib And I did this (not sure if that's the correct way to do it…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
2
votes
0 answers

Error in configuration process,projects files may be invalid error when building Opencv 3.1.0 and Opencv_Extra_module for Android from source?

I am building Opencv 3.1.0 and Opencv_Extra_module for Android from source using the following procedures using CMake and mingw start cmake-gui and select the opencv source code folder and the folder where binaries will be built (the 2 upper forms…
Yirga
  • 881
  • 1
  • 12
  • 31