How can I use make command(MSYS) to build DCMTK?

206 Views Asked by At

I have used CMAKE to configure and generate DCMTK source code. Now I am trying to build libs using make command in msys. But as soon as I am passing make command, I am getting this:

212715008@G5CG7324856E /c/Ashish/dcmtkans
$ make
> Microsoft Windows [Version 10.0.16299.726] (c) 2017 Microsoft
> Corporation. All rights reserved.

Why I am getting this

Microsoft Windows [Version 10.0.16299.726] (c) 2017 Microsoft Corporation. All rights reserved.

after passing make command? I am unable to build libs. How can I solve this issue?

1

There are 1 best solutions below

0
On BEST ANSWER

If you need MSYS make, then you should install base-devel packages and use make command, otherwise, if you want to use MINGW under MSYS, then you should install mingw related packages (see the list there: https://github.com/msys2/msys2/wiki/Packages) and use mingw32-make (For some reason they named differently, there some thoughts/answers on that Does mingw32-make be renamed to make?)