That is just replacing use of the cmake installed under /mingw64  with that
supplied for windows.  This should work fine for most uses,
 but sometimes cmake  really wants to be started from the tools' same tree
- it may no longer be an issue, but was for me once before,
 in an earlier cmake version.
  If you want to spend the time, building cmake from the bootstrap script
should work - and if it doesn't,
 it might show you what may be wrong about your MSYS/mingw installation.

On Fri, Jul 27, 2018 at 2:18 AM, Harsh Kumar Narula <hunny.i...@gmail.com>
wrote:

> Hi,
> I am sharing a temporary fix that may be helpful for others:
>
> 1. Remove cmake previously installed by pacman
>     pacman -R mingw-w64-x86_64-cmake
>     pacman -R cmake
>
> 2. Download latest "portable" cmake from  https://cmake.org/files/v3.12/
> cmake-3.12.0-win6-x64.zip  and Extract it as C:\msys64\cmake-3.12.0-win64-
> x64
>
> 3. Add the following to line to .bashrc file (Located in
> C:\msys64\home\$USERNAME)
>     export PATH=/cmake-3.12.0-win64-x64/bin:$PATH
>
> 4. Restart the msys2 shell.
>
>
> On Fri, Jul 27, 2018 at 10:24 AM Harsh Kumar Narula <hunny.i...@gmail.com>
> wrote:
>
>> [image: image.gif]
>> Hi,
>>
>> After recent updates, cmake.exe fails to initialize with the following
>> error:
>>
>> C:/msys64/mingw64/bin/cmake.exe: error while loading shared libraries:
>> zlib1.dll: cannot open shared object file: No such file or directory
>>
>> zlib1.dll  certainly exists in "C:\msys64\mingw64\bin" . Please help!
>>
>> --
>> Thanks & Regards,
>> Harsh Kumar Narula
>>
>> *"Happiness was but the occasional episode in a general drama of pain"*
>> =====-----=====-----=====
>>
>>
>> [image: Mailtrack]
>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&;>
>>  Sender
>> notified by
>> Mailtrack
>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&;>
>>  07/27/18,
>> 10:23:24 AM
>>
>
>
> --
> Thanks & Regards,
>
> Harsh Kumar Narula
>
> [image: Mailtrack]
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&;>
>  Sender
> notified by
> Mailtrack
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&;>
>  07/27/18,
> 2:45:58 PM
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Msys2-users mailing list
> Msys2-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/msys2-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to