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

Cannot set CMAKE_PREFIX_PATH in ccmake or cmake-gui

I want to use CMAKE_PREFIX_PATH to set a directory (say /usr/local2) for cmake to search for headers and libraries. I tried to use the command line cmake -DCMAKE_PREFIX_PATH=/usr/local2 /path/to/src But cmake does not seem to take that hint (i.e.…
Ying Xiong
  • 4,578
  • 8
  • 33
  • 69
0
votes
1 answer

cmake findboost how to set -g tag of the ABI?

I am having problems finding the boost-log library with the findboost module of cmake. instead of libboost_log-vc120-mt-sgd-1_57 (which is present in my boost lib diretory) cmake searches for: libboost_log-vc120-mt-sd-1_57 which is not present. i…
Daniel Jawna
  • 339
  • 1
  • 3
  • 17
0
votes
1 answer

Why does add_dependencies add a third party lib into my executable project?

I have the following CMake projects: testexe: which depends on shared library testlib testlib: shared library which uses a third party DLL, say test3rd.lib After generating the solution, I found that everything was fine except testexe requires…
Adam Lee
  • 24,710
  • 51
  • 156
  • 236
0
votes
1 answer

CMake FIND_LIBRARY works on Windows but not OS X

The same code ran on Cmake in windows finds the libraries, but on mac it cannot find them.The code finds the Include directories fine just not the libraries Here is a screen of the Cmake output And here is a Screen of the Directory structure here…
DanielCollier
  • 736
  • 2
  • 8
  • 21
0
votes
1 answer

Switch between different build settings

Sorry for the vague title, I'm not sure how to phrase this correctly. I would like to write a cmake script that allows to build a target with different settings for bit width (forced 32 bit, forced 64 bit or native bit width) and static linking. I…
Flogo
  • 1,673
  • 4
  • 20
  • 33
0
votes
1 answer

Have custom Find*.cmake file find different libraries depending on visual studio build type (Debug/Release)

I am creating a few C++ libraries in a project (solution in VS terminology) that needs to be used by two other projects. For this I created a FindDQSAnalyticsInfra.cmake file which is as follows: # DQSAnalyticsInfra # ----- # Find the path to…
john_zac
  • 1,241
  • 2
  • 11
  • 16
0
votes
1 answer

cmake error when building Boost unit tests

I'm working through this tutorial, using VS2012 on a c++ project generated by cmake 3.0.2. http://help.exercism.io/getting-started-with-cpp.html I have a series of boost unit tests that check whether the correct message is returned when given an…
maogenc
  • 203
  • 7
  • 13
0
votes
1 answer

Is there a visual CMake tool?

I'm loking for a purely visual (not a code editor) tool for editing CMake files (i.e., CMakeLists.txt). If you know one, please post here, thanks.
Dmitri Nesteruk
  • 23,067
  • 22
  • 97
  • 166
0
votes
1 answer

MRPT error: cannot find -lmrpt- base

I am trying to run an example from the MRPT library but I am getting the error: cannot find -lmrpt- base I am running ubunut 12.04 64-bit on a laptop. I am using Code::Blocks IDE with the GNU GCC compiler. The CMakeLists.txt file had this…
Metalzero2
  • 531
  • 2
  • 6
  • 17
0
votes
1 answer

What exacly is "buidling" from source and how does it work

So I really cant understand how this work but late me explain. First, just in case you need it, I am running Ubuntu 12.04 64-bit on a laptop. As a building tool am using CMake. I want to load in to my project OpenCV, MRPT (http://www.mrpt.org/) and…
Metalzero2
  • 531
  • 2
  • 6
  • 17
0
votes
1 answer

Running a QT-GUI program on Ubuntu Server

I want to run cmake ( A build tool) which has a QT-GUI on my Ubuntu Server VM. I am currently getting the following error: cmake-gui: cannot connect to X server I would really appreciate any help or guidance on what to do to get it going. I…
Darshan Pandit
  • 178
  • 2
  • 8
-1
votes
1 answer

Exporting cpp code to python using cmake and boost

I have cpp library that I want to use in python. I succeeded in exporting it to python2 using boost.. now I want to make it work with python3.. I Tried using 2to3 and it had problems in the parts where I used the functions that were exported. I…
ilana
  • 11
  • 2
-1
votes
2 answers

cmake: How to write CMakeLists.txt in order to facilitate the transplant on Linux programs to Windows?

I wrote the CMakeLists.txt file with the following file structure on…
H S T
  • 27
  • 5
-1
votes
1 answer

Cross compiling node js on Windows CE using CMake

I am in the process of cross compiling node js on Windows CE6-ARM and I am running into a lot of troubles. I read somewhere that CMake can make the process slightly complicated. I am not able to find any resource on how to compile node js for…
Shaik Syed Ali
  • 3,359
  • 3
  • 17
  • 22
-1
votes
2 answers

CMake reports broken g++ and missing libiconv-2.dll

I have some strange problem with CMake when I press Configure button. It reports me all the time that libiconv-2.dll is missing and fails to finish operation. However, this library is present in MinGW/bin folder. I am using CodeBlocks-MinGW…
sebap123
  • 2,541
  • 6
  • 45
  • 81
1 2 3
17
18