[CMake] MinGW and sh.exe

J Decker d3ck0r at gmail.com
Sun Jun 19 22:12:50 EDT 2016


I was searching for 'cmake disable check sh.exe' which is not a problem
(anymore?)

If I do
cmake -G "MinGW Makefiles" /some/path
it complains; then the same command again succeeds; so it's not a
problem... it only causes a stutter in startup; which is a problem; and the
project builds and installs just fine. (it doesn't do find required system
libraries to pull in the libgcc-sjlj-something-threads library and
potentially others on 'findrequiredsystemlibraries?'  but that's a side
issue.


sh.exe comes with git.exe  there's just no two ways about it.

and not in MSYS; just an installed mingw64 from sourceforge and cmake


On Wed, Jun 17, 2015 at 1:25 AM, Jörg Kreuzberger <j.kreuzberger at procitec.de
> wrote:

> Hi!
>
> i get an error at cmake configure step on windows with -G "MinGW
> Makefiles", if the OpenSSH bin folder is in the PATH environment cause
> cmake detects sh.exe and then throws an error. This seems to be intended
> due to this link
> http://www.cmake.org/Wiki/CMake_MinGW_Compiler_Issues
> But if i now configure a second time, everything is fine and the generated
> MinGW Makefiles are generated properly and could be build normaly with
> mingw32-make wihtout any msys or sh environment.
>
> So is the first cmake error an error? The link ist quite old (2006)
>
> Thanks for any help.
> Joerg
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160619/fce8dba9/attachment.html>


More information about the CMake mailing list