NextBuild icon indicating copy to clipboard operation
NextBuild copied to clipboard

MyFirstTest.bas doesn't compile on Ubuntu 20.10

Open jj-0 opened this issue 4 years ago • 5 comments

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

jj-0 avatar Mar 01 '21 10:03 jj-0

Thanks for the info, will get it fixed.

em00k avatar Mar 01 '21 10:03 em00k

@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

Xalior avatar Mar 01 '21 11:03 Xalior

Fixed duplicate folders.

em00k avatar Mar 01 '21 13:03 em00k

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

em00k avatar Mar 01 '21 13:03 em00k

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

em00k avatar Mar 01 '21 13:03 em00k