Bug in source 2 Jul 2012
Chris Hall (132) 3558 posts |
When building the SDFSFiler for the BCM2835 environment [in ‘castle.RISCOS.Sources.FileSys.ADFS.ADFSFiler’] it looks for a file ‘.Resources.SDFS.Sprites’ in ‘.SDFS.Sprites’ and fails to find it. Relevant part of log:
I have tried altering the line in the ‘castle.RISCOS.Sources.FileSys.ADFS.ADFSFiler.MakeFile’ from
to
to see if that would work… |
Chris Hall (132) 3558 posts |
Well that overcomes one problem – I no longer get a message on start up ‘file Sprites not found’ from the SDFS. However the (much improved) SDFS routines are so much better, just one problem (not present in the pre-built ROM) the USB side of things has stopped working. There doesn’t seem to be an error in the USBDriver or DWCDriver bits of the build (that wasn’t there before) but no light on the mouse, keyboard ignored. Any ideas please? |
Ben Avison (25) 445 posts |
The InstRes tool is part of the (glacial) move towards supporting cross-compilation of the sources. The -I switch specifies an include path (so it doesn’t rely on RISC OS’s OS-level support for file search paths) so the file it was trying to pick up was actually ADFSFiler.Resources.SDFS.Sprites, so your altered version is looking in the wrong place. There are deliberately multiple sprites files in the resources for this component, because it’s used to build ADFSFiler, SCSIFSFiler and SDFSFiler (and potentially others in future), and each has different sprites. The file Resources.SDFS.Sprites is present in CVS, but it sounds like it’s missing from your source tree. Please check it it’s there, and is correctly named. |
Chris Hall (132) 3558 posts |
The file Resources.SDFS.Sprites is present in CVS, but it sounds like it’s missing from your source tree. Please check it it’s there, and is correctly named. It is there and correctly named [‘castle.RISCOS.Sources.FileSys.ADFS.ADFSFiler.Resources.SDFS.Sprites’]. Suspect an issue on Virtual Risc PC with !Perl? So am having more success going back to the Iyonix and hoping to avoid disc errors (which have just started appearing…) Many thanks for the help. |
Ben Avison (25) 445 posts |
Odd, RPCEmu manages it fine (that’s how the autobuilder runs). Sounds like a bug in Virtual Risc PC’s implementation of HostFS then. |