jorgegv wrote: ↑Tue Sep 20, 2022 5:26 pm
Well, since your sys, cmp, man and res directories are all at the same level, and you are launching everything from directory build, It seems that all of them should start with the same "./" Or "../" sequence....?
ei Jorge, theoretically all references I have into the "src.lst" have this file as a reference (all paths are relative to this lst "father" file). I guess it's weird for you that I have an exception (@../res/res.lst), due because I have 2 "res" folders, one it's at the project's level to contain the graphical resources, and another at the source's level, were there is the code to manage those resources.
Anyway, I've tested with this other "src.lst" (where the reference would be the compilation dir, I mean "build")
Code: Select all
@../src/sys/sys.lst
@../src/cmp/cmp.lst
@../src/man/man.lst
;@./sys/sys.lst
;@./cmp/cmp.lst
;@./man/man.lst
;@../res/res.lst
;This is the main game & the heap
main.c
heap.asm
Curiously, in this case, the previous error vanishes (Unable to open list file "./sys/sys.lst"), but another much more strange one appears.
C:\mio\soft\dev\z80\wrks\zxspectrum\zx_games\robbnn2>full_build.bat
C:\mio\soft\dev\z80\wrks\zxspectrum\zx_games\robbnn2>cd C:\mio\soft\dev\z80\wrks\zxspectrum\zx_games\robbnn2\build
C:\mio\soft\dev\z80\wrks\zxspectrum\zx_games\robbnn2\build>del *.* /F /Q
C:\mio\soft\dev\z80\wrks\zxspectrum\zx_games\robbnn2\build>zcc +zx -v -startup=31 -compiler=sdcc -create-app @../src/src.lst -o robbnn
PROCESSING The.asm.m4
m4 -I "C:\mio\soft\dev\z80\z88dk\z88dk-20220918\lib\config\..\..\\lib\target\zx\classic" -I "C:\Users\e104119\AppData\Local\Temp\zcc00004940926F42" -I "C:\mio\soft\dev\z80\z88dk\z88dk-20220918\lib\config\..\..\/src/m4" --define=__STARTUP=31 < "The.asm.m4" > "C:\Users\e104119\AppData\Local\Temp\zcc00004940926F2.asm"
The system cannot find the file specified.
C:\mio\soft\dev\z80\wrks\zxspectrum\zx_games\robbnn2\build>cd ..
After reading the Dom comments, I've to say that initially, I had the feeling the problem/change was in the zcc. But, when I've seen this second error it sounds to me like the assembler stage.
Again, I want to highlight that if I use the z88dk versions from before the summer, all works perfectly using my initial setup.