tag:help.appveyor.com,2012-11-13:/discussions/problems/1385-installing-mingw-with-chocolatey-wont-finishAppVeyor: Discussion 2018-08-25T01:55:12Ztag:help.appveyor.com,2012-11-13:Comment/358111812015-01-19T04:30:35Z2015-01-19T04:30:35ZInstalling mingw with Chocolatey won't finish<div><p>You could just use "unstable" build worker image with MinGW
pre-installed.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358111812015-01-19T17:46:54Z2015-01-19T17:46:54ZInstalling mingw with Chocolatey won't finish<div><p>Thanks for your quick answer :)<br>
But I've tried with unstable without success :( This time the build
hangs when launching CMake:<br>
<a href=
"https://ci.appveyor.com/project/4ian/gd/build/1.0.1">https://ci.appveyor.com/project/4ian/gd/build/1.0.1</a></p>
<p>(I've also deleted the project and created it again to make sure
that it wasn't related to an old setting). I'm a bit stuck because
I've not a single clue of why there isn't any output.</p></div>florian.rivaltag:help.appveyor.com,2012-11-13:Comment/358111812015-01-19T18:14:39Z2015-01-19T18:14:39ZInstalling mingw with Chocolatey won't finish<div><p>If it's stuck most probably it's asking for some input.
Unfortunately, I'm not a specialist in C++ languages, so it's hard
to suggest something specific here. Try to isolate the issue, do
some simple test, etc.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358111812015-01-19T19:03:28Z2015-01-19T19:03:28ZInstalling mingw with Chocolatey won't finish<div><p>I got something working better: <a href=
"https://ci.appveyor.com/project/4ian/gd/build/1.0.3">https://ci.appveyor.com/project/4ian/gd/build/1.0.3</a><br>
Compare it with: <a href=
"https://ci.appveyor.com/project/4ian/gd/build/1.0.2">https://ci.appveyor.com/project/4ian/gd/build/1.0.2</a></p>
<p>I remove the argument specifying to use MinGW and the one that
was deleting a file. Yet it is strange that it make the build stuck
because CMake is never asking for input (and always display at
least some output). And I'm a bit suspicious because when I
encountered the problem for the first time, it was with Chocolatey
which worked before.</p>
<p>Anyway, as the build is using VS2012 I've still to work to get
something working with MinGW, stay tuned :)</p></div>florian.rivaltag:help.appveyor.com,2012-11-13:Comment/358111812015-03-28T12:29:02Z2015-03-28T12:29:02ZInstalling mingw with Chocolatey won't finish<div><p>Hi,</p>
<p>I've had the same problem trying to compile a C++ library, using
the MinGW environment. it seems cmake execution hangs in one of the
two cases:<br>
1) removing sh.exe from path <a href="https://ci.appveyor.com/project/timootei/cegui-dependencies-521/build/28">
https://ci.appveyor.com/project/timootei/cegui-dependencies-521/bui...</a><br>
2) executing cmake 2 times: <a href="https://ci.appveyor.com/project/timootei/cegui-dependencies-521/build/23">
https://ci.appveyor.com/project/timootei/cegui-dependencies-521/bui...</a></p>
<p>Just to be clear, cmake <em>does not</em> require any form of
user input, so it should work just fine.<br>
Is there any way we could troubleshot this? Maybe remote logging to
the vm at that time and inspecting if there's potentially any
crash?</p>
<p>Thanks.</p></div>timtag:help.appveyor.com,2012-11-13:Comment/358111812015-03-28T18:34:04Z2015-03-28T18:34:04ZInstalling mingw with Chocolatey won't finish<div><p>That "RemoteException" error is when app writes to StdErr and
PowerShell considers that as an exception. Run your build commands
as <code>CMD</code>.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358111812015-03-28T21:03:58Z2015-03-28T21:03:59ZInstalling mingw with Chocolatey won't finish<div><p>Hi,</p>
<p>I've tried first PowerShell but in the end, it seems I got this
working with CMD:</p>
<ul>
<li>Environment: MinGW</li>
<li>settings PATH=C:\MINGW\bin\;%PATH%</li>
<li>execute cmake</li>
<li>Works fine!</li>
</ul></div>timtag:help.appveyor.com,2012-11-13:Comment/358111812015-03-29T07:51:33Z2015-03-29T07:51:33ZInstalling mingw with Chocolatey won't finish<div><p>I confirm that I also managed to get CMake and the build running
by tweaking the PATH to add =c:\mingw\bin (and only the paths I
really need). :)</p></div>florian.rivaltag:help.appveyor.com,2012-11-13:Comment/358111812015-03-29T07:55:41Z2015-03-29T07:55:41ZInstalling mingw with Chocolatey won't finish<div><p>Great, thanks for the update!</p>
<p>-Feodor</p></div>Feodor Fitsner