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

OS X: CMake ignores CMAKE_C_COMPILER

I am trying to build Trilinos on my OS X 10.11.6 laptop and keep encountering the following problem: CMake uses Apple's Clang instead of GCC ... Probing the environment ... -- USE_XSDK_DEFAULTS='FALSE' -- CMAKE_BUILD_TYPE='RELEASE' --…
2
votes
1 answer

CMake User String Input

I am attempting to use CMake to convert a generic wrapper into a specific one, via token replacement. I hope that all the user would have to do is input a specific set of strings, have CMake do configure_file, and the wrapper would read in the…
Cullen S
  • 155
  • 1
  • 3
  • 10
2
votes
1 answer

Choose path in cmake-gui when find_package doesn't find the library

I'm using find_package to find the dependencies that I need for my project, as follows: find_package(CURL REQUIRED) if(CURL_FOUND) include_directories(${CURL_INCLUDE_DIRS}) target_link_libraries(${PROJECT_NAME} ${CURL_LIBRARIES}) endif() But, I…
Alex
  • 3,301
  • 4
  • 29
  • 43
2
votes
1 answer

Ogre3D 1.9, cmake, XCode, don't know what to put inside FREETYPE_FT2BUILD_INCLUDE_DIR

I'm trying to build from source, I installed the dependencies through homebrew. In the missing FREETYPE_FT2BUILD_INCLUDE_DIR var, i put /usr/local/include/freetype2 I'm using makefiles. At 83%, it compiles ogre overlay, and I got ld: framework not…
jokoon
  • 6,207
  • 11
  • 48
  • 85
1
vote
0 answers

How can I solve thoses errors in opencv with cuda in python during building CMake?

I’m trying to use the OpenCV with cuda, but i can manage to build the OpenCV through CMake, but the Build processo finishes with many erros like: D:\Program Files\Microsoft Visual…
1
vote
0 answers

MakeBuild - Make Failed: mkdir: /usr/local/aws-sam-cli/1.76.0/dist/libselinux.so.1: no version information available (required by mkdir)

I'm trying to build the sam project with sam build command but getting the error no version information available in sam build stage, need some input on how to pass the version information of mkdir so the build stage would be successful I have tried…
Preetam
  • 19
  • 2
1
vote
1 answer

GPU support error in cmake while configuring the darknet for YOLOv3 and YOLOv4

I've been trying to set up the YOLOv3 with the darknet (according to this tutorial: https://youtu.be/saDipJR14Lc at 11:30). While configuring the darknet with CUDA support, CMake raised CMake Error at CMakeLists.txt:156 (message): CUDA not found,…
Jan
  • 50
  • 6
1
vote
1 answer

Could NOT find Freetype (missing: FREETYPE_LIBRARY) on Cmake

I am trying build the Chlumsky msdfgen library on Windows and I'm using Cmake GUI. No matter what I do I can't get Cmake to configure properly. This library has Freetype as a dependency, and I set the include directories for Freetype, but I…
Zebrafish
  • 11,682
  • 3
  • 43
  • 119
1
vote
1 answer

Building Openvino for Android using Cmake

I tried to build openvino for Android devices (arm64) using Cmake, to do that I followed the following steps: Operating system: Ubuntu 20 1 - I installed OpenJDK 8 using: sudo apt-get install -y openjdk-8-jdk 2 - I downloaded the android NDK for…
1
vote
1 answer

How to set ComputeCpp_DIR properly?

I recently installed ComputeCpp to D:/Programs/Codeplay/ComputeCpp. Then I set ComputeCpp_DIR="D:/Programs/Codeplay/ComputeCpp" in the CMakeLists.txt file for compiling OpenCV. I use cmake-gui.exe to configure build options and to generate the…
Laszlo
  • 769
  • 9
  • 19
1
vote
0 answers

Where is OpenGLConfig.cmake located on mac?

I'm using OpenGL with a C++ project. When I run configure in cmake-gui I get the following error: CMake Error at CMakeLists.txt:18 (find_package): Could not find a package configuration file provided by "OpenGL" with any of the following…
1
vote
1 answer

why can CMake Build files not be generated correctly

I am trying a simple test to see if CMake is working on my windows system correctly. I keep getting a error. Here is the command with the error. cmake . -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044. -- Configuring…
SuperCell
  • 27
  • 1
  • 6
1
vote
1 answer

CMake Error add_subdirectory given source "lib/sfml" which is not an existing directory

This is my very first time using CMake, so please be patient with me. My knowledge is very limited. I'm following a tutorial to recreate space invaders which I've linked below. I used git-bash to set up my repo and now I'm setting up my build using…
john
  • 29
  • 7
1
vote
0 answers

How to install SoPlex solver in Matlab?

I have downloaded SoPlex, but I don't know how to install it so that I can use it in Matlab. The installation says that CMake can be used to install it (https://soplex.zib.de/doc/html/INSTALL.php), but I don't know how to do it on Windows. I get…
Rossi
  • 59
  • 6
1
vote
3 answers

Build VTK with Python Bindings and CUDA, TBB, & MPI on Windows

Problem I cannot load VTK into python on Windows with support for CUDA, MPI, and TBB. Volume rendering is unreasonably slow for production with the default PyPI distribution (hours or more) and I need to leverage my hardware to speed up…
adam.hendry
  • 4,458
  • 5
  • 24
  • 51