cmake-gui

rint() issue after creating VS Project using CMake

本小妞迷上赌 提交于 2019-12-02 07:55:50
I'm having an issue compiling code - specifically METIS - Serial Graph Partitioning and Fill-reducing Matrix Ordering . I've successfully managed to make Visual Studio 2013 Project out of the source files two ways: using CMake GUI (version 3.4.3) and using Command Line. However, in both cases when I try to build the created project in Visual Studio, I'm getting an error: Error C2059: syntax error : '(' on line _CRTIMP double __cdecl rint(_In_ double _X); where _CRTIMP is defined this way: #define _CRTIMP __declspec(dllimport) Is this issue caused in the process of creating Visual Studio

Where is the CMake GUI for Linux?

£可爱£侵袭症+ 提交于 2019-12-01 02:46:29
I have CMake installed on my Ubuntu Linux. Trying to run CMake GUI in Linux. I found it works in Windows, but where to get it and how to run in Linux? cmake is documented (type man cmake ) as being a command, so it should not have any GUI interface: DESCRIPTION The "cmake" executable is the CMake command-line interface. It may be used to configure projects in scripts. Project configuration settings may be specified on the command line with the -D option. And it is just generating a Makefile (to be used by the make command). I don't understand what kind of GUI are you expecting. On Debian and

Where is the CMake GUI for Linux?

Deadly 提交于 2019-11-30 21:43:32
问题 I have CMake installed on my Ubuntu Linux. Trying to run CMake GUI in Linux. I found it works in Windows, but where to get it and how to run in Linux? 回答1: cmake is documented (type man cmake ) as being a command, so it should not have any GUI interface: DESCRIPTION The "cmake" executable is the CMake command-line interface. It may be used to configure projects in scripts. Project configuration settings may be specified on the command line with the -D option. And it is just generating a

What is the difference between “option” and “set CACHE BOOL” for a CMake variable?

梦想与她 提交于 2019-11-30 08:06:49
Is there any difference between the following two? set(FOO true CACHE BOOL "description") option(FOO "description" ON) Documentation: set - option Background: Even if I have been using CMake for a while, I only noticed the option command today and I have therefore always been using set : I was wondering if it is safe/worth to replace the first with the second. usr1234567 In your example, there is no difference. But there can be differences: Option has a default value of OFF . You can make an option dependent on other options with CMakeDependentOption Set accepts types other than BOOL ,

What is the difference between “option” and “set CACHE BOOL” for a CMake variable?

我的未来我决定 提交于 2019-11-29 10:37:38
问题 Is there any difference between the following two? set(FOO true CACHE BOOL "description") option(FOO "description" ON) Documentation: set - option Background: Even if I have been using CMake for a while, I only noticed the option command today and I have therefore always been using set : I was wondering if it is safe/worth to replace the first with the second. 回答1: In your example, there is no difference. But there can be differences: Option has a default value of OFF . You can make an option

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

你说的曾经没有我的故事 提交于 2019-11-28 13:08:35
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 (find_package): By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Widgets", but CMake did not find one. Could not find a package configuration file provided by "Qt5Widgets" with any of the following names: Qt5WidgetsConfig.cmake qt5widgets-config.cmake Add the

MSBuild.exe has stopped cmake error

≡放荡痞女 提交于 2019-11-28 12:10:59
问题 I was able to compile zlib yesterday with CMake but the only possible change was installing Windows 10 SDK 10.0.14393.33 and now that I configure it with the same choice (Visual Studio 14 2015 win64) I get the following error: Any idea what could have gone wrong and how to fix it? The C compiler identification is unknown CMake Error: Could not find cmake module file: C:/Users/mona/playing-for-data/renderdoc/renderdoc/3rdparty/zlib/build /CMakeFiles/3.7.1/CMakeCCompiler.cmake CMake Error at

Ignore warnings in external modules when using CMake

旧时模样 提交于 2019-11-28 05:06:32
问题 I am using CMake GUI (no version) with CMake 3.6.1. I am using an external module with add_subdirectory that shows me some warnings that I do not like (because of the annoying pollution): CMake Warning (dev) at D:/Sources/.../external/g3log/latest/Build.cmake:11 (IF): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

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

孤街醉人 提交于 2019-11-27 06:30:32
问题 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 (find_package): By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Widgets", but CMake did not find one. Could not find a package configuration file provided by