Search found 249 matches

by Look
Sat Nov 09, 2019 1:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 3091

Re: XBoard GTK

I am trying to compile XBoard in Code::Blocks IDE . I used ./configure command to generate Makefile . Now trying a rebuild I get : -------------- Clean: all in xboard_fork (compiler: GNU GCC Compiler)--------------- Executing clean command: make -f /home/mehdi/Documents/Code_Blocks_Projects/xboard_f...
by Look
Mon Nov 04, 2019 3:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 3091

Re: XBoard GTK

I have no idea how timers play any role in 'replay analysis'. But Xboard already display two timers, and has a dialog to specify time control that allows you to enter base time and increment. (Not sure how you could do such a thing with a button, though.) For instance imagine user set the training ...
by Look
Mon Nov 04, 2019 11:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 3091

Re: XBoard GTK

How does that need any new graphics? I thought it was just a matter of adding the played move(s) as a (parentheses-enclosed) 'comment' to the moves in training mode, as long as they differ from the move of the main line or from each other. That would be a pure back-end change (and thus work in XBoa...
by Look
Sun Nov 03, 2019 3:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 3091

Re: XBoard GTK

Version 2, IIRC. I don't know Glade. I suppose it is a tool for designing dialogs with GTK. XBoard does not use it; all its dialogs are generated dynamically from tables. It needed a routine to do that anyway for the Engine Settings dialogs, from the table of options it receives from the engine. I ...
by Look
Sat Nov 02, 2019 6:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 3091

XBoard GTK

Hi,

What is the version of GTK used in XBoard ?

Can I use Glade to add graphics to XBoard ?
by Look
Wed Oct 30, 2019 7:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu Shell file
Replies: 8
Views: 2396

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...
by Look
Wed Oct 30, 2019 12:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu Shell file
Replies: 8
Views: 2396

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
by Look
Tue Oct 29, 2019 1:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu Shell file
Replies: 8
Views: 2396

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...
by Look
Mon Oct 28, 2019 11:46 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard compiling
Replies: 1
Views: 888

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 ?
by Look
Sun Oct 27, 2019 10:27 am
Forum: Computer Chess Club: General Topics
Topic: Default Stockfish in XBoard
Replies: 7
Views: 1753

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...