# Error building STRATA on MSYS2

**URL:** https://discourse.cmake.org/t/error-building-strata-on-msys2/2810
**Category:** Usage
**Created:** [February 22, 2021, 5:31am UTC](https://discourse.cmake.org/t/error-building-strata-on-msys2/2810 "2021-02-22T05:31:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Adrian\_Duncan](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/a/7ba0ec/32.png) [@Adrian\_Duncan](https://discourse.cmake.org/u/Adrian_Duncan)
#### Post date: [February 22, 2021, 5:31am UTC](https://discourse.cmake.org/t/error-building-strata-on-msys2/2810/1 "2021-02-22T05:31:40Z")

</div>

Hello

I am following instructions on installing a program called STRATA, which is found on this website:

[https://github.com/arkottke/strata#building](https://github.com/arkottke/strata#building)

I am using windows, and I am using MSYS2 as recommended on the website.

I have followed all instructions, but I get the following error when I use the following code:

dadrian@94YZHX2 MINGW64 ~/strata/build

$ cmake … -DCMAKE\_BUILD\_TYPE=Release

System is unknown to cmake, create:

Platform/MINGW64\_NT-10.0-18363 to use this system, please post your config file on [discourse.cmake.org](http://discourse.cmake.org) so it can be added to cmake

Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please post that file on [discourse.cmake.org](http://discourse.cmake.org).

CMake Error at /usr/share/cmake-3.19.3/Modules/FindPackageHandleStandardArgs.cmake:218 (message):

Could NOT find Qwt (missing: QWT\_LIBRARY) (found version “6.1.6”)

Call Stack (most recent call first):

/usr/share/cmake-3.19.3/Modules/FindPackageHandleStandardArgs.cmake:582 (\_FPHSA\_FAILURE\_MESSAGE)

cmake/Modules/FindQwt.cmake:104 (find\_package\_handle\_standard\_args)

CMakeLists.txt:64 (find\_package)

– Configuring incomplete, errors occurred!

See also “/home/dadrian/strata/build/CMakeFiles/CMakeOutput.log”.

Can you help with this?

Thank you

[CopyOfCMakeCache.txt](https://discourse.cmake.org/uploads/short-url/y3vEnhfG8LWe1WyHr6Gxr4Pqzax.txt) (17.4 KB)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [February 22, 2021, 1:28pm UTC](https://discourse.cmake.org/t/error-building-strata-on-msys2/2810/2 "2021-02-22T13:28:31Z")

</div>

Hmm. Seems either platform detection is failing or there’s a new configuration to consider.

Cc: @brad.king

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [February 22, 2021, 2:07pm UTC](https://discourse.cmake.org/t/error-building-strata-on-msys2/2810/3 "2021-02-22T14:07:51Z")

</div>

> I am using MSYS2 as recommended on the website

Assuming that you are following [strata’s instructions](https://github.com/arkottke/strata#building-on-windows), the `cmake` installation you are using comes from a MSYS2 package. That is not maintained by upstream CMake developers and has some extra patches.

> create … Platform/MINGW64\_NT-10.0-18363 to use this system

The MSYS2 version of CMake on your system is somehow misidentifying the system name. It shouldn’t have the platform version number in it.

I suggest asking for help from strata first, since their instructions indicate they have experience building on MSYS2. Or, ask over on an appropriate forum for MSYS2 since they maintain the `cmake` package in question.

---

<div class="post-metadata">

### Author: ![Adrian\_Duncan](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/a/7ba0ec/32.png) [@Adrian\_Duncan](https://discourse.cmake.org/u/Adrian_Duncan)
#### Post date: [February 22, 2021, 2:41pm UTC](https://discourse.cmake.org/t/error-building-strata-on-msys2/2810/4 "2021-02-22T14:41:10Z")

</div>

Thank you!

Duncan
