Search code examples
windowscygwin

ccmake. in cygwin & Windows 7 (64bit)


I have only used Mac in the past to compile, so I am a little lost with the following issue.

I am trying to compile a program in Windows 7 through cygwin. Svn co to get the source code works, but upon $ ccmake. the error "command not found" appears. I have the devel. tools from the cygwin setup, as well as cmake and MinGW-64 installed. Where can be the bug? Is ccmake. command supported at all in cygwin?

Any hints are appreciated.


Solution

  • If you are using Cygwin, you should install Cmake using Cygwin as well. The package should be called "cmake". Once that is done you should find ccmake at

    /usr/bin/ccmake
    

    AKA

    C:\cygwin\bin\ccmake.exe
    

    and you should make sure your PATH contains /usr/bin

    ref