Friday 21 June 2013

ccmake installation notes

I could not run cmake-gui or ccmake.  So I googled to fin that I need to install ccmake first.

sudo apt-get install cmake-curses-gui


I am still confused.  It appears that ccmake is sort or cmake, and not GUI.  Or have I missed the parameters to start cmake or cmake GUI?

.END


pi@raspberrypi ~/fongvision/OpenCV-2.3.1/build $ sudo apt-get install cmake-curses-gui

Reading package lists... Done
Building dependency tree
Reading state information... Done
...

The following packages were automatically installed and are no longer required:
  libblas3gf liblapack3gf

Use 'apt-get autoremove' to remove them.
...

After this operation, 16.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
...

pi@raspberrypi ~/fongvision/OpenCV-2.3.1/build $ sudo ccmake

ccmake version 2.8.9

Usage

  ccmake <path-to-source>
  ccmake <path-to-existing-build>

Options

  -C <initial-cache>          = Pre-load a script to populate the cache.
  -D <var>:<type>=<value>     = Create a cmake cache entry.
  -U <globbing_expr>          = Remove matching entries from CMake cache.
  -G <generator-name>         = Specify a makefile generator.
  -Wno-dev                    = Suppress developer warnings.
  -Wdev                       = Enable developer warnings.
  --copyright [file]          = Print the CMake copyright and exit.
  --help,-help,-usage,-h,-H,/?= Print usage information and exit.
  --help-full [file]          = Print full help and exit.
  --help-html [file]          = Print full help in HTML format.
  --help-man [file]           = Print full help as a UNIX man page and exit.
  --version,-version,/V [file]= Show program name/version banner and exit.

Generators

  Ninja                       = Generates build.ninja files (experimental).
  Unix Makefiles              = Generates standard UNIX makefiles.
  CodeBlocks - Ninja          = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
  Eclipse CDT4 - Ninja        = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles
                              = Generates Eclipse CDT 4.0 project files.
  KDevelop3                   = Generates KDevelop 3 project files.
  KDevelop3 - Unix Makefiles  = Generates KDevelop 3 project files.

pi@raspberrypi ~/fongvision/OpenCV-2.3.1/build $ date Fri Jun 21 03:32:24 UTC 2013

.END

No comments:

Post a Comment