Build Notes Bill Forster 12Mar2010 (updated for V2, 7Jan2012) =========== ================================================= Rebuilding Tarrasch from the source code delivery package is not rocket science, but it probably will take some application and patience, even from experienced developers. I have used Microsoft Visual Studio 2010 Express as my C++ compiler and linker. The build package includes solution and project files generated by that version of Visual Studio. It is also necessary to separately download, install and configure the open source WxWidgets GUI library. I have been using V2.8.6 of this library since the inception of this project in mid 2008. It's installed in the default C:\wxWidgets-2.8.6 location. I haven't checked for more recent versions of WxWidgets. I don't expect problems if you do use a more recent version but I can't dismiss the possibility out of hand. In the Tarrasch property pages, the configuration properties explicitly call out specific WxWidgets directories in the Include and Library directories parts of each of the C/C++, the linker and resources sections. If you use a different version of Visual Studio or WxWidgets and you find that gives you problems, I suggest the following two part strategy; 1) Put aside the Tarrasch source code for a while and concentrate on building simple WxWidgets samples and demos. That process should be very well supported, and there is no chance you can build Tarrasch if you can't get that far at least. 2) Once you have confidence in your compiler + WxWidgets development environment, take a suitable demo and start introducing the Tarrasch source files. That basically mirrors the process that spawned Tarrasch in the first place. You should quickly be able to add all the existing source files and effectively you've grown a new Tarrasch solution. The only source files in the package that aren't part of the Tarrasch GUI are ToyEngine.cpp which is the root file in a separate console mode app (the toy engine) and BuildLookupTables.cpp which is the sole file of a separate console mode application to build GeneratedLookupTables.inc (which is included in the package, you don't need to build it yourself). * VERY IMPORTANT * There is one really painful detail that you must get on top of. I have changed the Configuration Properties / C/C++ /Code Generation / Runtime Library field from its default Multi-threaded DLL to Multi-threaded. The reason is that otherwise you don't get a real fully static link. You want a real static link or your version of Tarrasch might fail on a PC with different DLL versions to yours. The catch is that YOU MUST MAKE THE SAME CHANGE IN THE WXWIDGETS LIBRARIES CONFIGURATION AND RECOMPILE THOSE TOO. If you don't you get annoying and otherwise inexplicable link errors. See my question on the programmers site stackoverflow.com for a little more background (search for my name). A note about the icon --------------------- My (admittedly primitive and rather pathetic) method of getting Pawel Koziol's icon to replace the standard wxWidget icon was to replace each of std.ico child.ico mdi.ico in directory; C:\wxWidgets-2.8.6\include\wx\msw with a copy of tarrasch.ico as included in this repository. I can't remember much about this process, but no doubt I tried to do it in more rational ways without success. The main problem with this (apart from the patheticness and primitiveness already alluded too) is that this tends to give every wxWidget app you subsequently create this inappropriate icon. No doubt a much better solution is possible. Finally, I remember that Windows was reluctant to give up on using the standard wxWidgets icon for Tarrasch, it seemed to be cached deep in the OS somewhere, and would come back in vampire like fashion, at least for a while.
Fix bug in app menu causing "Play black" to start game as white. Also, add "Copy game to clipboard" menu action.
fb3711a - Append working to MASTER_VERSION to indicate we are between versions when
b8642ef - Refine fix of slightly truncated right hand side of graphical board problem
70d730c - Fix play game against engine after NULL move bug
1a0960f - Fix bug that stopped single pv engines (eg Strelka) from kibitzing
32f88e9 - Fix bug that could corrupt .pgn files if multiple games were edited between
6490029 - Don't automatically end game for 3 fold repetition, 50 move rule, insufficient
0e9531f - Fix spelling of "repetition" at least as seen by users
312f737 - Fix the truncation of right side of piece issue
e1ebb53 - Add no auto flip to General options Remove orphaned files CtrlEnhancedList.h .cpp from build