kato-daichi / kuma

UCI chess engine
GNU General Public License v3.0
0 stars 1 forks source link

how to compile on Linux ? #1

Closed tissatussa closed 10 months ago

tissatussa commented 11 months ago

can you give a command to compile on Linux ?

i tried g++ *.cpp -O3 -std=c++11 -lpthread -lm -o kuma and alike, but it gives errors.

e.g.

these are just a few example options .. i have no clue .. different compile lines give differen errors. Best is to include a Makefile for all OS. I'm often able to "repair" code for Windows into code which also compiles on Linux, but this time it's hard.

[ i'm on Xubuntu 22.04 ]

tissatussa commented 10 months ago

same for the newest version v1.2 .. i can not compile its source and there's no makefile .. it would be nice you make it work on Linux .. i guess this won't be too hard, many other chess engine programmers succeed.