Build: Options and Files¶
Codes that start with A2C:B: are about the build itself: the options you give, the files it
reads and writes, and the tools it runs.
| Numbers | What |
|---|---|
| 0001 to 0099 | Errors |
| 9000 to 9099 | Internal errors |
A2C:B:E:0001 options¶
The options contradict each other or leave something open, such as a Lua file without a target. The message says what to change.
error A2C:B:E:0001: a Lua file needs a target: --target ams8|ams9|suf9-x86|suf9-x64|suf10-x86|suf10-x64
A2C:B:E:0002 module-name¶
The module name isn't valid. It becomes part of the name of a function in the DLL
(luaopen_<name>), so it may only have letters, digits and _, and may not start with a digit.
A2C:B:E:0003 unknown-target¶
A project file names a target autoplay2c doesn't know. The targets are ams8,
ams9, suf9-x86, suf9-x64, suf10-x86 and suf10-x64 (or suf10 for short).
A2C:B:E:0004 data-folder-name¶
The name given for the data folder can't be a folder name.
A2C:B:E:0005 no-compiler¶
The C backend is chosen, but tcc isn't where autoplay2c looks for it. The
installer puts it in the tcc folder beside a2c; name another one with --tcc.
A2C:B:E:0006 file¶
A file can't be read or written. The message names the file and gives the reason Windows (or your system) gave.
A2C:B:E:9000 build-internal¶
An internal error of the build. This is a bug in autoplay2c: please report it, with the project or script and the options you used.