Babelardus wrote:Do you have your own version of Cygwin installed and included in your path? If you are just starting Pachi, without the DLL's in the folder, it'll start searching for them in your path. If you have a different version of Cygwin installed than I have, it will crash. It is indeed complaining about an incompatible version of Cygwin. This probably has something to do with the configuration of your Windows environment and/or DLL/version mixups.
No, of course not. And I added DLL included in your archive to the folder, of course. And I've searched for this DLL in my system, just in case, and didn't find it, of course.
Babelardus wrote:
Note: Pachi has been downloaded 31 times as of today, and I have received no problem reports as of yet. Fuego, especially version r2029, of which no official binary exists (let alone a 64-bit version) outside of mine, is just as popular though.
Still crashes for me. Could that be explained by low-end laptop and CPU used in it (Celeron N2840)? See:
(gdb) run
Starting program: /c/Users/alexey/Applications/pachi_11_0_win32_win64/64-bit/pachi.exe
[New Thread 1444.0x24a8]
[New Thread 1444.0x25bc]
[New Thread 1444.0xd94]
[New Thread 1444.0x2580]
Program received signal SIGILL, Illegal instruction.
0x0000000100421eb5 in time_parse ()
Babelardus wrote:
edit: when compiling Pachi using GCC under MinGW64/MSYS2, I get the same errors as when using the older MinGW64/MSYS from MinGW.org:
Let's do sanity check:
1. git commit I'm compiling is 31612b51d2be48358c0b8eac21f2e6cb546d5683
2.
$ cc --version
cc.exe (Rev5, Built by MSYS2 project) 5.3.0
While I did install "clang" package, I don't think it compiles with it by default;
$ clang --version
clang version 3.8.0 (tags/RELEASE_380/final)
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:\msys64\mingw64\bin
3. What did you change in Makefile? My only changes are uncommented "WIN=1" and added "WIN_HAVE_NO_REGEX_SUPPORT=1" right under that; then I just run 'make' and it works.
4. You do run msys2 by "mingw64" shortcut, not just run shell?
5. Last but not least: Windows 10 Home.
Babelardus wrote:make[1]: Entering directory '/c/users/marcel/desktop/pachi-master/random'
[CC] random.c
<command-line>:0:8: error: expected identifier or '(' before numeric constant
Hmm. See:
alexey@DUVEL MINGW64 /c/Users/alexey/Source/Repos/pachi/random
$ make clean && LANG=C V=1 make
rm -f *.o *.a
cc -I.. -c random.c
ar r random.a random.o
C:\msys64\mingw64\bin\ar.exe: creating random.a
alexey@DUVEL MINGW64 /c/Users/alexey/Source/Repos/pachi/random
$ cc --version
cc.exe (Rev5, Built by MSYS2 project) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Notice that it's not compiled with clang.