Answer a question

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?

Answers

cmake is documented (type man cmake and see also cmake.org) 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 derivatives like Ubuntu, you might install the cmake-gui or cmake-qt-gui package then run the cmake-gui command.

And make is often running GCC. Try make -p to understand the default rules of GNU make... So read documentation of GNU make and of GCC (and probably of GDB).

Logo

Ubuntu 社区为您提供最前沿的新闻资讯和知识内容

更多推荐