[CMake] cmake on MinGW64; which generator

Christopher Webster cjw at ucar.edu
Mon Jun 24 09:39:41 EDT 2019


Thank you Benjamin, that fixed it.  Now to figure out the cpack.d error.

Is there a way to search the archives?  I had looked through the last
several months of threads, but that is not practical for searching back
a over a year

Chris


On 6/23/19 11:46 PM, Benjamin Eikel wrote:
> Dear Christopher,
>
> Am 23. Juni 2019 23:31:01 MESZ schrieb Christopher Webster <cjw at ucar.edu>:
>> On 6/23/19 9:22 AM, Alan W. Irwin wrote:
>>> There are a lot of different platforms that use the MinGW-w64
>> compiler
>>> so you should probably
>>> describe the platform where you are attempting to use that compiler
>> in
>>> more detail.  For example,
>>> it sounds like you are simply taking a normal Window platform and
>>> downloading the
>>> MinGW-w64 compiler for that platform, but what is the exact URL for
>>> that download?
>> As Cristian surmised we use msys2/mingw64; we download from
>> www.msys2.org (the x86_64 option).  Then install the mingw64 toolchain,
>> and use mingw64 shells:
>>
>> pacman -Sy msys2-devel
>> pacman -Sy mingw-w64-x86_64-toolchain
>> pacman -Sy base-devel
>> pacman -Sy mingw-w64-x86_64-check
>> pacman -Sy mingw-w64-x86_64-qt5
>> pacman -Sy mingw-w64-x86_64-qwt-qt5
>> pacman -Sy mingw-w64-x86_64-doxygen
>> pacman -Sy mingw-w64-x86_64-boost
>> pacman -Sy mingw-w64-x86_64-git-lfs
>> pacman -Sy mingw-w64-x86_64-gsl
>> pacman -Sy mingw-w64-x86_64-netcdf
>> pacman -Sy mingw-w64-x86_64-curl
>> pacman -Sy mingw-w64-x86_64-postgresql
>> pacman -Sy nano scons vim git procps
>>
>> cmake was installed via:
>>
>> pacman -Sy cmake
>
> try to install and use mingw-w64-x86_64-cmake in the mingw64 shell. Additionally, see this answer and the corresponding thread:
> https://cmake.org/pipermail/cmake/2018-January/066869.html
>
> Kind regards
> Benjamin
>




More information about the CMake mailing list