em00k / NextBuild

NextBuild : A suite of tools based on Boriel's ZX Basic Compiler targetting the ZX Spectrum Next
63 stars 6 forks source link

MyFirstTest.bas doesn't compile on Ubuntu 20.10 #15

Open jj-0 opened 3 years ago

jj-0 commented 3 years ago

MyFirstTest.bas doesn't compile:

  1. The "'!org=32767 Set the start address" confuses nextbuild.py ('nextbuild.py: error: Invalid --org option '32767 Set the start address '', if I change this to just "'!org=32767" it does compile OK
  2. ./data/font3.spr is missing causing '##ERROR - Failed to find file :./data/font3.spr'. If I copy it from another directory then it works of course
em00k commented 3 years ago

Thanks for the info, will get it fixed.

Xalior commented 3 years ago

@jj-0 The problem is caused by the fact the new version of the builder seems to not like comments after directives (the 'org=32767 thing) so if you remove everything after the number ( the part that reads 'Set the start address) you will be able to compile that code, until David has chance to investigate properly that should get you going again.

-Dx

em00k commented 3 years ago

Fixed duplicate folders.

em00k commented 3 years ago

Actually this is more about splitting the directives, so I will re-open.

em00k commented 3 years ago

It will be fixed in the next update, for now avoid putting a command on the precompiler directive lines. thanks