Hi,
What is the version of GTK used in XBoard ?
Can I use Glade to add graphics to XBoard ?
Search found 255 matches
- Sat Nov 02, 2019 6:25 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: XBoard GTK
- Replies: 14
- Views: 3466
- Wed Oct 30, 2019 7:33 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Ubuntu Shell file
- Replies: 8
- Views: 2891
Re: Ubuntu Shell file
A script cd 'path' ./configure make sudo make install Should work without problems; the effect of the 'cd' would remain valid within the same script. The shell that had executed it would only terminate when it reaches the end of the script. After that the shell from which you invoked the script wou...
- Wed Oct 30, 2019 12:44 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Ubuntu Shell file
- Replies: 8
- Views: 2891
Re: Ubuntu Shell file
What to do ? :~$ source cd_test.sh But why would you want to do that? Thanks , this worked for this file. BTW I want this to easily compile XBoard in case of using terminal and such a shell: cd 'path' && ./configure && make && sudo make install && read -p "Press enter to continue" #keep shell
- Tue Oct 29, 2019 1:29 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Ubuntu Shell file
- Replies: 8
- Views: 2891
Ubuntu Shell file
Hi, I want to change directory in terminal by executing a shell (.sh) file in Ubuntu. Direct method of this works: :~$ cd 'Desktop/Folder/Folder 2/' :~/Desktop/Folder/Folder 2$ But with the cd commands in .sh file , directory is not changed: cd_test.sh cd ~ && cd 'Desktop/Folder/Folder 2/' directory...
- Mon Oct 28, 2019 11:46 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: XBoard compiling
- Replies: 1
- Views: 996
XBoard compiling
Hi,
- Can I create a Code::Blocks project add sources and compile XBoard or I have to follow "INSTALL" file instructions only ?
- Is there any conflict between XBoard package that I installed using "Synaptic package manager" and the ones I may compile on this PC ?
- Sun Oct 27, 2019 10:27 am
- Forum: Computer Chess Club: General Topics
- Topic: Default Stockfish in XBoard
- Replies: 7
- Views: 2702
Re: Default Stockfish in XBoard
Engines would only be registered automatically when the are installed through the proper procedure (make-install or a binary package). Just moving them to an executable location is not enough; XBoard has no way to guess whether a new file you put somewhere (even if it could detect that you did that...
- Sun Oct 27, 2019 9:47 am
- Forum: Computer Chess Club: General Topics
- Topic: Default Stockfish in XBoard
- Replies: 7
- Views: 2702
Re: Default Stockfish in XBoard
After you put the stockfish binary in /usr/games it should be available as a plain command (/usr/games is normally in the shell's search path). So when you register it through the Load 1st Engine menu, you should specify "stockfish" as the engine command (and the directory should be of no importanc...
- Sat Oct 26, 2019 11:38 am
- Forum: Computer Chess Club: General Topics
- Topic: Default Stockfish in XBoard
- Replies: 7
- Views: 2702
Re: Default Stockfish in XBoard
Should I just copy Stockfish 10 to usr/games then in XBoard "Engine" menu "Load new 1st engine" and select that. Or that is something different ?
- Sat Oct 26, 2019 11:10 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Strange XBoard function definitions
- Replies: 4
- Views: 1241
Re: Strange XBoard function definitions
P() is a macro #defined in common.h, as #if defined(__STDC__) || defined(WIN32) || defined(_amigados) #define P(args) args typedef void *VOIDSTAR; #else #define P(args) () typedef char *VOIDSTAR; #endif It seems to be there or compatibility purposes with compilers that do not allow the function pro...
- Fri Oct 25, 2019 11:42 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Strange XBoard function definitions
- Replies: 4
- Views: 1241
Strange XBoard function definitions
Hi,
Why so many such declarations/definitions exist in XBoard-4.9.1 ?
For instance from backend.h :
I did not see such a style even in K&R 2.
Why so many such declarations/definitions exist in XBoard-4.9.1 ?
For instance from backend.h :
Code: Select all
void SetWhiteToPlayEvent P((void));