# Incompatible version of cygwin

#### doublebeep7

11 Dec, 2018 04:44 PM

Hi,

I am trying to compile Stockfish project on github. I tried first to do it manually, by RDP. I went to `C:\msys64\usr\bin`, set path to this folder, went on `C:\Projects`, cloned stockfish project went to src and typed `make build ARCH=x86-64-bmi2 COMP=mingw COMPCXX=g++`. It threw me an error saying that cygwin version was incompatible. I don't know C++, so can you explain me why this happens? In my computer I have installed `MSYS2` (same folder `C:\msys64`) and it is compiling well.

Output:

``````C:\projects\Stockfish\src>make help
2 [main] uname (332) C:\Program Files\Git\usr\bin\uname.exe: *** fatal error - cygheap base mismatch detected - 0x18031F410/0x180318410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
2 [main] uname (4984) C:\Program Files\Git\usr\bin\uname.exe: *** fatal error - cygheap base mismatch detected - 0x18031F410/0x180318410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
2 [main] uname (2692) C:\Program Files\Git\usr\bin\uname.exe: *** fatal error - cygheap base mismatch detected - 0x18031F410/0x180318410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
2 [main] uname (2712) C:\Program Files\Git\usr\bin\uname.exe: *** fatal error - cygheap base mismatch detected - 0x18031F410/0x180318410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
2 [main] uname (4128) C:\Program Files\Git\usr\bin\uname.exe: *** fatal error - cygheap base mismatch detected - 0x18031F410/0x180318410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.

Help how to compile Stockfish...
...
...
...```
```
1. doublebeep7 closed this discussion on 14 Dec, 2018 03:34 PM.

Comments are currently closed for this discussion. You can start a new one.

# Keyboard shortcuts

### Generic

? Show this help Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use `Command ⌘` instead of `Control ^` on Mac

## Recent Discussions

 27 Jun, 2019 11:17 AM ubuntu1804 update issue 27 Jun, 2019 06:56 AM Cannot add project from Bitbucket repository 27 Jun, 2019 06:15 AM Maximum allowed artifact storage size of 50000 Mb will be exceeded 27 Jun, 2019 05:10 AM Branch filter priority 26 Jun, 2019 11:59 PM File permission set to "nothing" after Elastic Beanstalk deply
 26 Jun, 2019 07:42 PM Can't add project from github 26 Jun, 2019 07:32 PM R install failure 26 Jun, 2019 06:03 AM The license for Visual Studio has expired. 26 Jun, 2019 06:01 AM Build error after Linux image update 25 Jun, 2019 09:36 PM MFC is missing from latest Visual Studio 2019 image 25 Jun, 2019 06:05 PM Visual Studio 2019 vstest.console not found, /logger:Appveyor not found