From: Michael H. <mi...@ho...> - 2016-03-31 13:19:51
|
Hello, while trying to compile the latest chessx on my ubuntu system I get the following error. What is going on? Do you have a solution? Thanks, Michael --------------------------- error message -------------------------- In file included from src/guess/movelist.h:19:0, from src/guess/guess.h:4, from src/database/board.cpp:17: src/guess/common.h: In function ‘bool Guess::piece_IsSlider(Guess::pieceC)’: src/guess/common.h:333:1: error: redefinition of ‘bool Guess::piece_IsSlider(Guess::pieceC)’ piece_IsSlider(pieceC p) ^ src/guess/common.h:327:1: note: ‘bool Guess::piece_IsSlider(Guess::pieceT)’ previously defined here piece_IsSlider(pieceT p) ^ Makefile:1516: recipe for target 'obj_rel/board.o' failed make: *** [obj_rel/board.o] Error 1 mick@mick-linux:~/Downloads/chessx$ |