News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

cpcrslib.lib not recognized by latest z88dk?

Started by Fabrizio, 20:25, 28 September 17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fabrizio

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?

SRS


Fabrizio

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.

jalvarez2000

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