gaintpd / cutechess

Cute Chess is a graphical user interface, command-line interface and a library for playing chess. This Repo cantains the xiangqi, minixiangqi and manchu variant support
GNU General Public License v3.0
4 stars 3 forks source link

Issue when installing Cuteches Xiangqi in Windows 10 #16

Closed Belzedar94 closed 3 years ago

Belzedar94 commented 3 years ago

Hello,

I wanted to install your xiangqi-enabled Cutechess in my computer and I can't get the exe to run. I followed all the steps as described for Windows (https://github.com/cutechess/cutechess/wiki/Building-from-source).

First I installed Qt 5.15.2 - 64 bit. Then I downloaded your master.zip and unzipped it in a folder in Program Files (x86). Then I launched Qt as admin, browsed to the directory and executed the qmake and the mingw32-make commands. Uploading the installation log:

Installation log.txt

Then when I go to the GUI project (C:\Program Files (x86)\Cutechess Xiangqi\projects\gui), I can see a Cutechess.exe file has been generated, but when trying to run it, 4 error pop up asking for some .dll files:

Do you know where can I find them? Maybe there was any error during the installation and the needed files were not generated?

Thanks for your help.

Best regards

gaintpd commented 3 years ago

Hi, I am not familiar with the install script, as I use the Qtcreator and launch the exe file in it directly. As a workaroud, you may need to use the tool windeployqt.exe, the specific way may be:

/path/windeployqt.exe C:\Program Files (x86)\Cutechess Xiangqi\projects\gui

the windeployqt.exe will copy all the needed files for you

Belzedar94 commented 3 years ago

It worked as a charm!

Many thanks for your help. I proceed to close the issue.