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

OpenGL GLFW build errors OR linking errors

Can someone help me get GLFW working in Visual Studio 2012? I can't get past initial compilation. I keep getting unresolved externals for the GLFW functions. The problem is, I don't know what I'm doing wrong. I could be: Improperly making the…
Adam Lampman
  • 97
  • 1
  • 8
1
vote
0 answers

Combining Qt 5.4.1 with vtk 6.2.0 (using CMake GUI 3.2.1) on Windows

I know almost nothing about CMake. What I'm trying to do is to use VTK with Qt. Unfortunately, I'm stuck at the CMake part. For some reason, when I press "configure", I get the following error: CMake Error at GUISupport/Qt/CMakeLists.txt:58…
asdfasdf
  • 774
  • 11
  • 29
1
vote
1 answer

CMake ~ Managing projects | Syncing updates

I have been taking a look at CMake for a while and I really like the idea of having code without cluttering projectfiles of several IDE's. There's just one thing I fail to understand: You have your project with CMake files and each developing person…
user896326
1
vote
1 answer

using Find*.cmake without adding it to cmake modules folder

I want to use FindAntTweakBar.cmake that it becomes able to find the anttweakbar, but I dont have administration access to the cmake's modules folder, so I cannot copy it there. Is there any way to include it and not copy it in the Modules folder? I…
mmostajab
  • 1,937
  • 1
  • 16
  • 37
1
vote
1 answer

Wrap cache variables of a library when configuring my code in CMake

I have to build a library that is using another library, how can I make variables of that another library not showing in the CMake-Gui and use instead values that are configured by my CMake script? For example when my application is built for…
CoffeDeveloper
  • 7,961
  • 3
  • 35
  • 69
1
vote
1 answer

Error LNK2019: external symbol

I'm verry new at elastix and stuck at the verry beginning. I'm trying to compile a verry basic program in C++ that will make an instantiation of the using elastix library. When I tried to compile the program, I got a linker error: Error LNK2019:…
jorne
  • 894
  • 2
  • 11
  • 23
1
vote
1 answer

CMake - Removing an option from the GUI set in another cmake file

I'm creating a project (let's call it myProject) that includes macros and CMakefiles defined in another project (let's call it otherProject). Of course, myProject depends on libraries created and compiled in otherProject. otherProject has an option…
LarrxX
  • 45
  • 1
  • 7
1
vote
1 answer

cmake option default value if else

I tried to do that, but it doesn't appear on the cmake gui, how have I got to do to change the default value of option depending of S.O, and it appear in the cmake gui? if(UNIX) option(HASH "enable hash" ON) else() option(HASH "enable hash"…
Alex
  • 3,301
  • 4
  • 29
  • 43
0
votes
1 answer

How can I link my CMake project to BOOST::python that using conan?

I have a simple main.cpp that I am trying to utilize boost/python.hpp. All of my current CMake experience so far has used target_include_directories or me having the header or source files. Now I need to utilize Conan to get BOOST however I am…
memelord23
  • 84
  • 1
  • 2
  • 11
0
votes
0 answers

How to generate .elf by using Cmake tool

I am using CMake tool for windows, I am able to generate.exe but I don't know how we can generate .elf. I tried to set the toolchain in main CMakeLists.txt and output file to .elf extension in subdirectory CMakelists.txt. check the image for more…
0
votes
0 answers

Cmake unable to find Python 3 when configuring openCV

So, I'm trying to install openCV with GPU support on my laptop via cmake. I followed every single step from https://thinkinfi.com/install-opencv-gpu-with-cuda-for-windows-10/ and other tutorials from youtube, and cmake wasn't able to find some…
Dylan Mac
  • 55
  • 7
0
votes
0 answers

Cmake-gui is not able to find python3-libraries and install path

I have a question about this error in CMake-GUI in window 10. Last Tuesday, I mistakenly installed a package without paying attention to the conda environment I was using, causing conflicts. I couldn't even open conda, so I uninstalled it and…
app game
  • 1
  • 1
0
votes
2 answers

How to link a library installed by vcpkg using CMake?

I installed a third party library using vcpkg. If I write full path to library in include_directories and etc. commands it works but this is silly. I'm trying to include this library using proper approach but CMake returns an error. I tried advices…
0
votes
0 answers

CMake fails at command line but can manually build makefile

I am attemping to use CMake to configure/build for a very old version of LynxOS (2.2.2) and have gotten to the point where it is generating a makefile however I am getting the following error when running cmake: cmake --debug-trycompile -G "Unix…
Big Guy
  • 33
  • 6
0
votes
0 answers

CMake GUI OpenCV Build incomplete

so I've been trying to set up OpenCV for Python via manual compiling in order to benefit from the usuage of my GPU. After a lot of errors, my current problem is that everytime I try to build it, it does so for around 20 minutes before it just stops.…
Lukas.
  • 1