lfreist/hwinfo

Msys2/MinGW build doesn't work on Windows

Closed this issue · 1 comments

Hello @lfreist

I have built successfully hwinfo on Windows 10 using Msys2 using next commands:

git clone https://github.com/lfreist/hwinfo
cd hwinfo
mkdir build
cd build
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make

However running Example.exe no hardware info is displayed. See next picture:
hwinfoOutput
I saw there is a version for Visual Studio however I am working with open source tools.
Can you help me to fix this issue?
Is it possible to use hwinfo with Msys2 environment?

Hi!

HWinfo uses WMI classes for querying hardware information on windows. As far as I know, this is not supported with Msys2...
However, I did not dive into this in depth, so if you manage to make it work with msys, I'd be happy if you let me know!