[CMake] 'make' does nothing in msys?

David Doria daviddoria at gmail.com
Fri Sep 14 16:57:30 EDT 2012


On Fri, Sep 14, 2012 at 1:34 PM, David Doria <daviddoria at gmail.com> wrote:

> I am trying to build ITK using MinGW. (I'm writing some guides on how to
> build ITK with different toolchains).
>
> Here is what I've come up with so far:
> http://www.itk.org/Wiki/ITK/Configuring_and_Building/MinGW
>
> Up until this point, everything seems to go smoothly (configure and
> generate complete successfully). However, when I run 'make' from the msys
> shell in the ITK build directory (after generating with the "MinGW"
> generator), it does nothing. There are no errors, but it just immediately
> returns me to the terminal. The one thing that does happen is that the
> 'user at machine ~' is green and yellow, but after running 'make' everything
> changes to white.
>
> I'm assuming this has something to do with CMake, that is why I'm asking
> here :)
>
> Any clues?
>
> Thanks,
>
> David
>

I found and used the MSYS generator, and after adding msys/bin to PATH, it
worked as I expected. I also found that with the MinGW generator, it worked
properly by running 'mingw32-make' rather than just 'make'. I am still
confused as to why it didn't complain that 'make' was not found (no such
file, etc), but these two methods seem to work:

http://www.itk.org/Wiki/ITK/Configuring_and_Building/MinGW

If anyone can comment about this lingering question, verify that these two
techniques are reasonable, or explain the difference between the two, that
would be great :)

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120914/bc8f1805/attachment.htm>


More information about the CMake mailing list