<div class="gmail_quote">On Fri, Sep 14, 2012 at 1:34 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I am trying to build ITK using MinGW. (I'm writing some guides on how to build ITK with different toolchains).</div><div><br></div><div>Here is what I've come up with so far:</div><a href="http://www.itk.org/Wiki/ITK/Configuring_and_Building/MinGW" target="_blank">http://www.itk.org/Wiki/ITK/Configuring_and_Building/MinGW</a><br clear="all">
<br>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 "<span style="line-height:19px;font-size:13px;font-family:sans-serif">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.</span><div>
<br></div><div>I'm assuming this has something to do with CMake, that is why I'm asking here :)</div><div><br></div><div>Any clues?</div><div><br></div><div>Thanks,</div><div><br>David<br>
</div>
</blockquote></div><div><br></div>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:<div>
<br><div><a href="http://www.itk.org/Wiki/ITK/Configuring_and_Building/MinGW">http://www.itk.org/Wiki/ITK/Configuring_and_Building/MinGW</a><br clear="all"><br>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 :)</div>
<div><br>David<br></div></div>