On Fri, Sep 14, 2012 at 1:34 PM, David Doria <[email protected]> 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@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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to