CPCWiki forum

General Category => Programming => Topic started by: Fabrizio on 20:25, 28 September 17

Title: cpcrslib.lib not recognized by latest z88dk?
Post by: Fabrizio on 20:25, 28 September 17
Hi everyone,


I am trying to improve graphics and add some little sounds in my little "universal" 8-bit game CROSS CHASE
https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases
which runs on almost any 8 bit computer and is compiled with Z88DK (for Z80 targets) and CC65 (for 6502 targets).

Before resorting to Assembly I wanted to try cpcrslib but it seems that the latest cpcrslib is not recognized by any recent Z88DK
at linking time.

I have tried to put the lib and h files insize the Z88DK folder at the expected places (include, lib, etc...) but I always get the
following error:

Error: file 'cpcrslib.lib' not a library file
1 errors occurred during assembly

Is there a way to fix it?
Title: Re: cpcrslib.lib not recognized by latest z88dk?
Post by: SRS on 16:57, 30 September 17
Did you follow the example build process from her : https://sourceforge.net/projects/cpcrslib/files/cpcrslib_z88dk/cpcrslib_z88dk_SCROLL.zip/download ?
Title: Re: cpcrslib.lib not recognized by latest z88dk?
Post by: Fabrizio on 21:50, 11 October 17
That is not the version I have used. I used the plain (no scroll) version.

No special build instructions.


The problem has been solved by patching cpcrslib with sed in order to make it compatible with some recent Z88DK versions. The very latest versions of Z88DK may be fully compatible with unpatched versions of CPCRSLIB due to a fix applied by the Z88DK developers after I opened an issue to them about this problem.
Title: Re: cpcrslib.lib not recognized by latest z88dk?
Post by: jalvarez2000 on 02:03, 11 January 18
Can you let me know how you have used the "SED" command? I have the same problem.


I tried to compile by myself the latest version of z80asm but I get this error: "extern symbol reg8Id not resolved", and I can“t find any idea about how I can fix this problem.
Powered by SMFPacks Menu Editor Mod