Compiling Cfish
Moderators: Elijah, Igbo, timetraveller
-
- Forum Contributions
- Points: 33 999,00
- Posts: 2585
- Joined: 05/02/2020, 10:42
- Status: Offline (Active 1 Month, 3 Days, 7 Hours, 1 Minute ago)
- Medals: 2
- Topics: 194
- Reputation: 7481
- Has thanked: 6579 times
- Been thanked: 6863 times
-
- Forum Contributions
- Points: 6 010,00
- Posts: 1411
- Joined: 31/10/2019, 21:37
- Status: Offline (Active 3 Weeks, 3 Days, 20 Hours, 37 Minutes ago)
- Topics: 115
- Reputation: 597
- Location: Usa
- Has thanked: 338 times
- Been thanked: 636 times
Compiling Cfish
As we spoke in private the tutorial and related posts were moved to this new topic.janus wrote:Work-In-Progress
The goal was not to let the topic get "buried" under future compilations.
I hope I didn't miss any related post
-
- Forum Contributions
- Points: 33 999,00
- Posts: 2585
- Joined: 05/02/2020, 10:42
- Status: Offline (Active 1 Month, 3 Days, 7 Hours, 1 Minute ago)
- Medals: 2
- Topics: 194
- Reputation: 7481
- Has thanked: 6579 times
- Been thanked: 6863 times
Compiling Cfish
Scorpio wrote:As we spoke in private the tutorial and related posts were moved to this new topic.janus wrote:Work-In-Progress
The goal was not to let the topic get "buried" under future compilations.
I hope I didn't miss any related post
No I think we're OK - and a good idea !!
-
- Inactive User
- Points: 50,00
- Posts: 3
- Joined: 06/11/2019, 18:52
- Status: Offline (Active 3 Days, 4 Hours, 5 Minutes ago)
- Topics: 0
- Reputation: 0
- Has thanked: 40 times
- Been thanked: 2 times
Compiling Cfish
This is my first attempt to compile Cfish. I am working on Windows 10. I want to run a "make pgo" or “make help” in MSYS2/MINGW64 but following error comes up: “bash: make: command not found”. From where to get it and where to install?
Thanks in advance
Thanks in advance
-
- Forum Contributions
- Points: 6 000,00
- Posts: 130
- Joined: 23/11/2019, 19:48
- Status: Offline (Active 1 Year, 7 Months, 2 Weeks, 5 Days, 16 Hours, 16 Minutes ago)
- Topics: 2
- Reputation: 196
- Has thanked: 16 times
- Been thanked: 204 times
Compiling Cfish
Save Cfish-master in this foldergens wrote:This is my first attempt to compile Cfish. I am working on Windows 10. I want to run a "make pgo" or “make help” in MSYS2/MINGW64 but following error comes up: “bash: make: command not found”. From where to get it and where to install?
Thanks in advance
C:\msys64\home\Hazsan88(your pc name)
----
open MSYS2 terminal
type>>> LS
Enter>>>>
If 'Cfish-master' is visible
type>>> cd Cfish-master/src
Enter>>>>
type>>> make help
Enter>>>>
This one will be visible
► Show Spoiler
-
- Forum Contributions
- Points: 33 999,00
- Posts: 2585
- Joined: 05/02/2020, 10:42
- Status: Offline (Active 1 Month, 3 Days, 7 Hours, 1 Minute ago)
- Medals: 2
- Topics: 194
- Reputation: 7481
- Has thanked: 6579 times
- Been thanked: 6863 times
Compiling Cfish
Try thisgens wrote:This is my first attempt to compile Cfish. I am working on Windows 10. I want to run a "make pgo" or “make help” in MSYS2/MINGW64 but following error comes up: “bash: make: command not found”. From where to get it and where to install?
Thanks in advance
Go to ezwinports, https://sourceforge.net/projects/ezwinports/files/
Download make-4.2.1-without-guile-w32-bin.zip (get the version without guile)
Extract zip
Copy the contents to C:\ProgramFiles\Git\mingw64\ merging the folders, but do NOT overwrite/replace any exisiting files.
You're using Powershell right and your $PATH setup is OK ?
then type >> pacman -Syu
follow directions - should be OK now so unzip Cfish on desktop , cd into it and type -- make pgo
-
- Inactive User
- Points: 50,00
- Posts: 3
- Joined: 06/11/2019, 18:52
- Status: Offline (Active 3 Days, 4 Hours, 5 Minutes ago)
- Topics: 0
- Reputation: 0
- Has thanked: 40 times
- Been thanked: 2 times
Compiling Cfish
Thank you very much. There was no "make.exe" file, now everything works.
One more question, Why my Cfish is 535KB while the others are around 200KB. Does it matter ?
One more question, Why my Cfish is 535KB while the others are around 200KB. Does it matter ?
-
- Forum Contributions
- Points: 33 999,00
- Posts: 2585
- Joined: 05/02/2020, 10:42
- Status: Offline (Active 1 Month, 3 Days, 7 Hours, 1 Minute ago)
- Medals: 2
- Topics: 194
- Reputation: 7481
- Has thanked: 6579 times
- Been thanked: 6863 times
Compiling Cfish
Nope I dont think so (was the binary stripped ?) - just make sure the nnue file is in the same folder as the binary - make a habit of always dumping the nnue in the folder - saves a lot of hassle later - and not just for Cfish.gens wrote:Thank you very much. There was no "make.exe" file, now everything works.
One more question, Why my Cfish is 535KB while the others are around 200KB. Does it matter ?
Glad it works !
-
- Forum Contributions
- Points: 6 010,00
- Posts: 1411
- Joined: 31/10/2019, 21:37
- Status: Offline (Active 3 Weeks, 3 Days, 20 Hours, 37 Minutes ago)
- Topics: 115
- Reputation: 597
- Location: Usa
- Has thanked: 338 times
- Been thanked: 636 times
Compiling Cfish
gens wrote:Thank you very much. There was no "make.exe" file, now everything works.
One more question, Why my Cfish is 535KB while the others are around 200KB. Does it matter ?
About the stripping, try this:
Code: Select all
strip cfish.exe
-
- Inactive User
- Points: 50,00
- Posts: 3
- Joined: 06/11/2019, 18:52
- Status: Offline (Active 3 Days, 4 Hours, 5 Minutes ago)
- Topics: 0
- Reputation: 0
- Has thanked: 40 times
- Been thanked: 2 times
Compiling Cfish
224 kB. ThanksScorpio wrote:gens wrote:Thank you very much. There was no "make.exe" file, now everything works.
One more question, Why my Cfish is 535KB while the others are around 200KB. Does it matter ?
About the stripping, try this:It will reduce the size by roughly half.Code: Select all
strip cfish.exe
-
- Inactive User
- Points: 50,00
- Posts: 9
- Joined: 12/07/2020, 9:23
- Status: Offline (Active 2 Years, 4 Months, 3 Weeks, 4 Days, 15 Minutes ago)
- Topics: 0
- Reputation: 0
- Been thanked: 1 time
Compiling Cfish
► Show Spoiler
./cfish bench 16 1 15 default depth nnue > /dev/null
make: *** [Makefile:857: profile-build] Error 1
i got this error xrf03 help me