Page 1 of 1

Help with Pixmaps please

PostPosted: 09 Jun 2013, 12:07
by Jonathan Willcock
Hi

I am a newbie here - albeit that I did run xboard many moons ago. As a 53rd birthday present (!) I was given a Raspberry Pi (32Bit arm) - so I set to work getting it to do something useful. It runs debian wheezy, and I in turn: 1) downloaded and compiled GNU C/C++ (relatively smooth); 2) downloaded and compiled crafty - much more problematical as I had to add an arm entry to the makefile, which meant reminding myself what all the compiler flags were for; and finally 3) downloaded and compiled xboard (4.7.1). This latter took many hours, as I was constantly having to install new packages! Finally I was ready to run - but no pieces. I have scoured the internet for advice, downloaded pixmaps etc but all to no avail. Indeed instructions such as xboard -pixmaps are rejected! I believe it should now be -pieceImageDirectory, but even when I point to a directory containing my downloaded files, it still does not recognise them. After all this effort to fail at the last hurdle is most frustrating. Would someone please therefore give me a link to some images that I can use and tell me the command to get xboard to use them?

Many thanks

Jonathan

Re: Help with Pixmaps please

PostPosted: 09 Jun 2013, 13:19
by H.G.Muller
XBoard 4.7 no longer supports pixmap (.xpm) format. You need either .png or .svg graphics.

The XBoard source package contains a complete set of SVG pieces, and would install it (when you do 'sudo make install') in the place where it belongs and where XBoard searches for it. If you specify a -pieceImageDirectory it would first look there for an SVG file, then, when it doesn't find one, for a PNG file, and if that is to no avail, it finally it would fall back on the default SVG or PNG image in its data directory.

It sounds like it cannot find the default SVG images (perhaps because they are not there). Could also be SVG somehow is not working on your system, in which case you should install PNG pieces by hand. (These are also supplied with the sources, in the directory png, but they don't look so nice on sizing.)

Re: Help with Pixmaps please

PostPosted: 09 Jun 2013, 15:31
by Jonathan Willcock
Hi

Thank you for your fast help - yes I had downloaded the wrong files. But as you said make install sorted me out! - I had just done make!

Thanks again
Jonathan