jojobear13 / shinpokered

Mostly-vanilla hack of Pokémon Red/Blue focused on bugfixes and trainer ai
218 stars 43 forks source link

Bug: Can't compile, constants.asm might be the culprit #242

Closed JagobaRiscado closed 1 year ago

JagobaRiscado commented 1 year ago

Hi, I'm trying to compile the lite branch to maybe make a hack with it as a base. The problem is that I can't compile it, and since the file that is named the most, constants.asm, seems to be the culprit, I can't find anything online. Any ideas?

$ make

rgbasm -D _RED -h -o audio_red.o audio.asm
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(2): [-Wobsolete]
    `lb: MACRO` is deprecated; use `MACRO lb`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(6): [-Wobsolete]
    `homecall: MACRO` is deprecated; use `MACRO homecall`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(18): [-Wobsolete
]
    `callbs: MACRO` is deprecated; use `MACRO callbs`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(26): [-Wobsolete
]
    `callba: MACRO` is deprecated; use `MACRO callba`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(32): [-Wobsolete
]
    `callab: MACRO` is deprecated; use `MACRO callab`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(38): [-Wobsolete
]
    `jpba: MACRO` is deprecated; use `MACRO jpba`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(44): [-Wobsolete
]
    `jpab: MACRO` is deprecated; use `MACRO jpab`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(50): [-Wobsolete
]
    `validateCoords: MACRO` is deprecated; use `MACRO validateCoords`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(63): [-Wobsolete
]
    `coord: MACRO` is deprecated; use `MACRO coord`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(75): [-Wobsolete
]
    `aCoord: MACRO` is deprecated; use `MACRO aCoord`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(87): [-Wobsolete
]
    `Coorda: MACRO` is deprecated; use `MACRO Coorda`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(99): [-Wobsolete
]
    `dwCoord: MACRO` is deprecated; use `MACRO dwCoord`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(112): [-Wobsolet
e]
    `overworldMapCoord: MACRO` is deprecated; use `MACRO overworldMapCoord`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(117): [-Wobsolet
e]
    `dn: MACRO` is deprecated; use `MACRO dn`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(122): [-Wobsolet
e]
    `dbw: MACRO` is deprecated; use `MACRO dbw`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(127): [-Wobsolet
e]
    `dba: MACRO` is deprecated; use `MACRO dba`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(131): [-Wobsolet
e]
    `dwb: MACRO` is deprecated; use `MACRO dwb`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(136): [-Wobsolet
e]
    `dab: MACRO` is deprecated; use `MACRO dab`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(140): [-Wobsolet
e]
    `dbbw: MACRO` is deprecated; use `MACRO dbbw`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(146): [-Wobsolet
e]
    `predef_const: MACRO` is deprecated; use `MACRO predef_const`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(150): [-Wobsolet
e]
    `add_predef: MACRO` is deprecated; use `MACRO add_predef`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(156): [-Wobsolet
e]
    `predef_id: MACRO` is deprecated; use `MACRO predef_id`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(160): [-Wobsolet
e]
    `predef: MACRO` is deprecated; use `MACRO predef`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(165): [-Wobsolet
e]
    `predef_jump: MACRO` is deprecated; use `MACRO predef_jump`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(170): [-Wobsolet
e]
    `tx_pre_const: MACRO` is deprecated; use `MACRO tx_pre_const`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(174): [-Wobsolet
e]
    `add_tx_pre: MACRO` is deprecated; use `MACRO add_tx_pre`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(178): [-Wobsolet
e]
    `db_tx_pre: MACRO` is deprecated; use `MACRO db_tx_pre`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(182): [-Wobsolet
e]
    `tx_pre_id: MACRO` is deprecated; use `MACRO tx_pre_id`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(186): [-Wobsolet
e]
    `tx_pre: MACRO` is deprecated; use `MACRO tx_pre`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(191): [-Wobsolet
e]
    `tx_pre_jump: MACRO` is deprecated; use `MACRO tx_pre_jump`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(196): [-Wobsolet
e]
    `ldPal: MACRO` is deprecated; use `MACRO ldPal`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(3): [-Wobsolete
]
    `const_def: MACRO` is deprecated; use `MACRO const_def`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(7): [-Wobsolete
]
    `const: MACRO` is deprecated; use `MACRO const`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(16): [-Wobsolet
e]
    `bcd2: MACRO` is deprecated; use `MACRO bcd2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(21): [-Wobsolet
e]
    `bcd3: MACRO` is deprecated; use `MACRO bcd3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(33): [-Wobsolet
e]
    `EVENT_DISP: MACRO` is deprecated; use `MACRO EVENT_DISP`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(38): [-Wobsolet
e]
    `FLYWARP_DATA: MACRO` is deprecated; use `MACRO FLYWARP_DATA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(45): [-Wobsolet
e]
    `EMAP: MACRO` is deprecated; use `MACRO EMAP`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(55): [-Wobsolet
e]
    `IMAP: MACRO` is deprecated; use `MACRO IMAP`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(67): [-Wobsolet
e]
    `tileset: MACRO` is deprecated; use `MACRO tileset`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(79): [-Wobsolet
e]
    `RGB: MACRO` is deprecated; use `MACRO RGB`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(101): [-Wobsole
te]
    `object: MACRO` is deprecated; use `MACRO object`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(125): [-Wobsole
te]
    `warp: MACRO` is deprecated; use `MACRO warp`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(132): [-Wobsole
te]
    `sign: MACRO` is deprecated; use `MACRO sign`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(139): [-Wobsole
te]
    `warp_to: MACRO` is deprecated; use `MACRO warp_to`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(148): [-Wobsole
te]
    `NORTH_MAP_CONNECTION: MACRO` is deprecated; use `MACRO NORTH_MAP_CONNECTION`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(169): [-Wobsole
te]
    `SOUTH_MAP_CONNECTION: MACRO` is deprecated; use `MACRO SOUTH_MAP_CONNECTION`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(193): [-Wobsole
te]
    `WEST_MAP_CONNECTION: MACRO` is deprecated; use `MACRO WEST_MAP_CONNECTION`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(214): [-Wobsole
te]
    `EAST_MAP_CONNECTION: MACRO` is deprecated; use `MACRO EAST_MAP_CONNECTION`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(233): [-Wobsole
te]
    `tmlearn: MACRO` is deprecated; use `MACRO tmlearn`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(14): [-Wobsolet
e]
    `TX_RAM: MACRO` is deprecated; use `MACRO TX_RAM`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(21): [-Wobsolet
e]
    `TX_BCD: MACRO` is deprecated; use `MACRO TX_BCD`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(34): [-Wobsolet
e]
    `TX_NUM: MACRO` is deprecated; use `MACRO TX_NUM`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(58): [-Wobsolet
e]
    `TX_FAR: MACRO` is deprecated; use `MACRO TX_FAR`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(71): [-Wobsolet
e]
    `TX_MART: MACRO` is deprecated; use `MACRO TX_MART`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(12): [-Wobsole
te]
    `audio: MACRO` is deprecated; use `MACRO audio`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(30): [-Wobsole
te]
    `pitchenvelope: MACRO` is deprecated; use `MACRO pitchenvelope`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(40): [-Wobsole
te]
    `squarenote: MACRO` is deprecated; use `MACRO squarenote`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(51): [-Wobsole
te]
    `noisenote: MACRO` is deprecated; use `MACRO noisenote`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(62): [-Wobsole
te]
    `C_: MACRO` is deprecated; use `MACRO C_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(66): [-Wobsole
te]
    `C#: MACRO` is deprecated; use `MACRO C#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(70): [-Wobsole
te]
    `D_: MACRO` is deprecated; use `MACRO D_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(74): [-Wobsole
te]
    `D#: MACRO` is deprecated; use `MACRO D#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(78): [-Wobsole
te]
    `E_: MACRO` is deprecated; use `MACRO E_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(82): [-Wobsole
te]
    `F_: MACRO` is deprecated; use `MACRO F_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(86): [-Wobsole
te]
    `F#: MACRO` is deprecated; use `MACRO F#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(90): [-Wobsole
te]
    `G_: MACRO` is deprecated; use `MACRO G_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(94): [-Wobsole
te]
    `G#: MACRO` is deprecated; use `MACRO G#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(98): [-Wobsole
te]
    `A_: MACRO` is deprecated; use `MACRO A_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(102): [-Wobsol
ete]
    `A#: MACRO` is deprecated; use `MACRO A#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(106): [-Wobsol
ete]
    `B_: MACRO` is deprecated; use `MACRO B_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(111): [-Wobsol
ete]
    `snare1: MACRO` is deprecated; use `MACRO snare1`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(116): [-Wobsol
ete]
    `snare2: MACRO` is deprecated; use `MACRO snare2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(121): [-Wobsol
ete]
    `snare3: MACRO` is deprecated; use `MACRO snare3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(126): [-Wobsol
ete]
    `snare4: MACRO` is deprecated; use `MACRO snare4`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(131): [-Wobsol
ete]
    `snare5: MACRO` is deprecated; use `MACRO snare5`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(136): [-Wobsol
ete]
    `triangle1: MACRO` is deprecated; use `MACRO triangle1`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(141): [-Wobsol
ete]
    `triangle2: MACRO` is deprecated; use `MACRO triangle2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(146): [-Wobsol
ete]
    `snare6: MACRO` is deprecated; use `MACRO snare6`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(151): [-Wobsol
ete]
    `snare7: MACRO` is deprecated; use `MACRO snare7`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(156): [-Wobsol
ete]
    `snare8: MACRO` is deprecated; use `MACRO snare8`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(161): [-Wobsol
ete]
    `snare9: MACRO` is deprecated; use `MACRO snare9`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(166): [-Wobsol
ete]
    `cymbal1: MACRO` is deprecated; use `MACRO cymbal1`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(171): [-Wobsol
ete]
    `cymbal2: MACRO` is deprecated; use `MACRO cymbal2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(176): [-Wobsol
ete]
    `cymbal3: MACRO` is deprecated; use `MACRO cymbal3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(181): [-Wobsol
ete]
    `mutedsnare1: MACRO` is deprecated; use `MACRO mutedsnare1`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(186): [-Wobsol
ete]
    `triangle3: MACRO` is deprecated; use `MACRO triangle3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(191): [-Wobsol
ete]
    `mutedsnare2: MACRO` is deprecated; use `MACRO mutedsnare2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(196): [-Wobsol
ete]
    `mutedsnare3: MACRO` is deprecated; use `MACRO mutedsnare3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(201): [-Wobsol
ete]
    `mutedsnare4: MACRO` is deprecated; use `MACRO mutedsnare4`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(207): [-Wobsol
ete]
    `rest: MACRO` is deprecated; use `MACRO rest`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(212): [-Wobsol
ete]
    `notetype: MACRO` is deprecated; use `MACRO notetype`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(217): [-Wobsol
ete]
    `dspeed: MACRO` is deprecated; use `MACRO dspeed`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(221): [-Wobsol
ete]
    `octave: MACRO` is deprecated; use `MACRO octave`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(225): [-Wobsol
ete]
    `toggleperfectpitch: MACRO` is deprecated; use `MACRO toggleperfectpitch`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(230): [-Wobsol
ete]
    `vibrato: MACRO` is deprecated; use `MACRO vibrato`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(236): [-Wobsol
ete]
    `pitchbend: MACRO` is deprecated; use `MACRO pitchbend`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(242): [-Wobsol
ete]
    `duty: MACRO` is deprecated; use `MACRO duty`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(247): [-Wobsol
ete]
    `tempo: MACRO` is deprecated; use `MACRO tempo`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(253): [-Wobsol
ete]
    `stereopanning: MACRO` is deprecated; use `MACRO stereopanning`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(258): [-Wobsol
ete]
    `volume: MACRO` is deprecated; use `MACRO volume`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(263): [-Wobsol
ete]
    `executemusic: MACRO` is deprecated; use `MACRO executemusic`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(267): [-Wobsol
ete]
    `dutycycle: MACRO` is deprecated; use `MACRO dutycycle`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(273): [-Wobsol
ete]
    `callchannel: MACRO` is deprecated; use `MACRO callchannel`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(279): [-Wobsol
ete]
    `loopchannel: MACRO` is deprecated; use `MACRO loopchannel`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(285): [-Wobsol
ete]
    `endchannel: MACRO` is deprecated; use `MACRO endchannel`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(3): [-Wobsolet
e]
    `CheckEvent: MACRO` is deprecated; use `MACRO CheckEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(21): [-Wobsole
te]
    `CheckEventReuseA: MACRO` is deprecated; use `MACRO CheckEventReuseA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(32): [-Wobsole
te]
    `CheckEventAfterBranchReuseA: MACRO` is deprecated; use `MACRO CheckEventAfterBranchReuseA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(45): [-Wobsole
te]
    `EventFlagBit: MACRO` is deprecated; use `MACRO EventFlagBit`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(55): [-Wobsole
te]
    `EventFlagAddress: MACRO` is deprecated; use `MACRO EventFlagAddress`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(61): [-Wobsole
te]
    `CheckEventHL: MACRO` is deprecated; use `MACRO CheckEventHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(68): [-Wobsole
te]
    `CheckEventReuseHL: MACRO` is deprecated; use `MACRO CheckEventReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(79): [-Wobsole
te]
    `CheckEventForceReuseHL: MACRO` is deprecated; use `MACRO CheckEventForceReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(86): [-Wobsole
te]
    `CheckEventAfterBranchReuseHL: MACRO` is deprecated; use `MACRO CheckEventAfterBranchReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(97): [-Wobsole
te]
    `CheckAndSetEvent: MACRO` is deprecated; use `MACRO CheckAndSetEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(105): [-Wobsol
ete]
    `CheckAndResetEvent: MACRO` is deprecated; use `MACRO CheckAndResetEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(113): [-Wobsol
ete]
    `CheckAndSetEventA: MACRO` is deprecated; use `MACRO CheckAndSetEventA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(121): [-Wobsol
ete]
    `CheckAndResetEventA: MACRO` is deprecated; use `MACRO CheckAndResetEventA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(129): [-Wobsol
ete]
    `SetEvent: MACRO` is deprecated; use `MACRO SetEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(136): [-Wobsol
ete]
    `SetEventReuseHL: MACRO` is deprecated; use `MACRO SetEventReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(147): [-Wobsol
ete]
    `SetEventAfterBranchReuseHL: MACRO` is deprecated; use `MACRO SetEventAfterBranchReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(159): [-Wobsol
ete]
    `SetEventForceReuseHL: MACRO` is deprecated; use `MACRO SetEventForceReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(167): [-Wobsol
ete]
    `SetEvents: MACRO` is deprecated; use `MACRO SetEvents`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(176): [-Wobsol
ete]
    `ResetEvent: MACRO` is deprecated; use `MACRO ResetEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(183): [-Wobsol
ete]
    `ResetEventReuseHL: MACRO` is deprecated; use `MACRO ResetEventReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(194): [-Wobsol
ete]
    `ResetEventAfterBranchReuseHL: MACRO` is deprecated; use `MACRO ResetEventAfterBranchReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(206): [-Wobsol
ete]
    `ResetEventForceReuseHL: MACRO` is deprecated; use `MACRO ResetEventForceReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(214): [-Wobsol
ete]
    `ResetEvents: MACRO` is deprecated; use `MACRO ResetEvents`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(224): [-Wobsol
ete]
    `dbEventFlagBit: MACRO` is deprecated; use `MACRO dbEventFlagBit`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(234): [-Wobsol
ete]
    `dwEventFlagAddress: MACRO` is deprecated; use `MACRO dwEventFlagAddress`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(244): [-Wobsol
ete]
    `SetEventRange: MACRO` is deprecated; use `MACRO SetEventRange`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(305): [-Wobsol
ete]
    `ResetEventRange: MACRO` is deprecated; use `MACRO ResetEventRange`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(373): [-Wobsol
ete]
    `CheckBothEventsSet: MACRO` is deprecated; use `MACRO CheckBothEventsSet`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(408): [-Wobsol
ete]
    `CheckEitherEventSet: MACRO` is deprecated; use `MACRO CheckEitherEventSet`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(437): [-Wobsol
ete]
    `AdjustEventBit: MACRO` is deprecated; use `MACRO AdjustEventBit`
error: audio.asm(6) -> constants.asm(9) -> constants/misc_constants.asm(35):
    syntax error, unexpected set
error: audio.asm(6) -> constants.asm(9) -> constants/misc_constants.asm(36) -> macros/data_macros.as
m::const(8):
    Expected constant expression: 'const_value' is not constant at assembly time
error: audio.asm(6) -> constants.asm(9) -> constants/misc_constants.asm(36) -> macros/data_macros.as
m::const(9):
    Expected constant expression: 'const_value' is not constant at assembly time
warning: audio.asm(6) -> constants.asm(13) -> constants/trainer_constants.asm(1): [-Wobsolete]
    `trainer_const: MACRO` is deprecated; use `MACRO trainer_const`
warning: audio.asm(6) -> constants.asm(24) -> constants/map_constants.asm(1): [-Wobsolete]
    `mapconst: MACRO` is deprecated; use `MACRO mapconst`
warning: audio.asm(6) -> constants.asm(28) -> constants/music_constants.asm(42): [-Wobsolete]
    `music_const: MACRO` is deprecated; use `MACRO music_const`
warning: audio.asm(402) -> audio/engine_1.asm(23): [-Wobsolete]
    ld optimization will stop being the default; pass `-l` to opt into it
error: Assembly aborted (3 errors)!
make: *** [Makefile:55: audio_red.o] Error 1
jojobear13 commented 1 year ago

You might have to use rgbasm 0.5.2 to compile the regular lite branch. The lite_dev branch has been updated to use rgbasm 0.6.0.

I've found that constantly switching my global rgbasm version to be annoying. Fortunately the pokered folks have instructions to compile with a project-specific version: https://github.com/pret/pokered/blob/master/INSTALL.md#build-with-a-local-rgbds-version

JagobaRiscado commented 1 year ago

Hi again, I reinstalled everything from scratch and everything goes better now, but I'm getting this error now:

rgbgfx  -d1 -o gfx/minimized_mon_sprite.1bpp gfx/minimized_mon_sprite.png
FATAL: Image height (5 pixels) is not a multiple of 8!
Conversion aborted after 1 error
make: *** [Makefile:164: gfx/minimized_mon_sprite.1bpp] Error 1
ThoshHub commented 1 year ago

I'm getting the same

You might have to use rgbasm 0.5.2 to compile the regular lite branch. The lite_dev branch has been updated to use rgbasm 0.6.0.

I've found that constantly switching my global rgbasm version to be annoying. Fortunately the pokered folks have instructions to compile with a project-specific version: https://github.com/pret/pokered/blob/master/INSTALL.md#build-with-a-local-rgbds-version

I'm getting the same error trying to compile the master beta version on macos using rgbds 0.60


shinpokered git:(master) ✗ make RGBDS=rgbds-0.6.0

rgbasm -D _RED -h -o audio_red.o audio.asm
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(2): [-Wobsolete]
    `lb: MACRO` is deprecated; use `MACRO lb`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(6): [-Wobsolete]
    `homecall: MACRO` is deprecated; use `MACRO homecall`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(18): [-Wobsolete]
    `callbs: MACRO` is deprecated; use `MACRO callbs`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(26): [-Wobsolete]
    `callba: MACRO` is deprecated; use `MACRO callba`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(32): [-Wobsolete]
    `callab: MACRO` is deprecated; use `MACRO callab`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(38): [-Wobsolete]
    `jpba: MACRO` is deprecated; use `MACRO jpba`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(44): [-Wobsolete]
    `jpab: MACRO` is deprecated; use `MACRO jpab`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(50): [-Wobsolete]
    `validateCoords: MACRO` is deprecated; use `MACRO validateCoords`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(63): [-Wobsolete]
    `coord: MACRO` is deprecated; use `MACRO coord`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(75): [-Wobsolete]
    `aCoord: MACRO` is deprecated; use `MACRO aCoord`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(87): [-Wobsolete]
    `Coorda: MACRO` is deprecated; use `MACRO Coorda`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(99): [-Wobsolete]
    `dwCoord: MACRO` is deprecated; use `MACRO dwCoord`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(112): [-Wobsolete]
    `overworldMapCoord: MACRO` is deprecated; use `MACRO overworldMapCoord`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(117): [-Wobsolete]
    `dn: MACRO` is deprecated; use `MACRO dn`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(122): [-Wobsolete]
    `dbw: MACRO` is deprecated; use `MACRO dbw`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(127): [-Wobsolete]
    `dba: MACRO` is deprecated; use `MACRO dba`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(131): [-Wobsolete]
    `dwb: MACRO` is deprecated; use `MACRO dwb`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(136): [-Wobsolete]
    `dab: MACRO` is deprecated; use `MACRO dab`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(140): [-Wobsolete]
    `dbbw: MACRO` is deprecated; use `MACRO dbbw`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(146): [-Wobsolete]
    `predef_const: MACRO` is deprecated; use `MACRO predef_const`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(150): [-Wobsolete]
    `add_predef: MACRO` is deprecated; use `MACRO add_predef`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(156): [-Wobsolete]
    `predef_id: MACRO` is deprecated; use `MACRO predef_id`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(160): [-Wobsolete]
    `predef: MACRO` is deprecated; use `MACRO predef`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(165): [-Wobsolete]
    `predef_jump: MACRO` is deprecated; use `MACRO predef_jump`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(170): [-Wobsolete]
    `tx_pre_const: MACRO` is deprecated; use `MACRO tx_pre_const`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(174): [-Wobsolete]
    `add_tx_pre: MACRO` is deprecated; use `MACRO add_tx_pre`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(178): [-Wobsolete]
    `db_tx_pre: MACRO` is deprecated; use `MACRO db_tx_pre`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(182): [-Wobsolete]
    `tx_pre_id: MACRO` is deprecated; use `MACRO tx_pre_id`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(186): [-Wobsolete]
    `tx_pre: MACRO` is deprecated; use `MACRO tx_pre`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(191): [-Wobsolete]
    `tx_pre_jump: MACRO` is deprecated; use `MACRO tx_pre_jump`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(1) -> macros/asm_macros.asm(196): [-Wobsolete]
    `ldPal: MACRO` is deprecated; use `MACRO ldPal`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(3): [-Wobsolete]
    `const_def: MACRO` is deprecated; use `MACRO const_def`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(7): [-Wobsolete]
    `const: MACRO` is deprecated; use `MACRO const`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(16): [-Wobsolete]
    `bcd2: MACRO` is deprecated; use `MACRO bcd2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(21): [-Wobsolete]
    `bcd3: MACRO` is deprecated; use `MACRO bcd3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(33): [-Wobsolete]
    `EVENT_DISP: MACRO` is deprecated; use `MACRO EVENT_DISP`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(38): [-Wobsolete]
    `FLYWARP_DATA: MACRO` is deprecated; use `MACRO FLYWARP_DATA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(45): [-Wobsolete]
    `EMAP: MACRO` is deprecated; use `MACRO EMAP`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(55): [-Wobsolete]
    `IMAP: MACRO` is deprecated; use `MACRO IMAP`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(67): [-Wobsolete]
    `tileset: MACRO` is deprecated; use `MACRO tileset`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(79): [-Wobsolete]
    `RGB: MACRO` is deprecated; use `MACRO RGB`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(101): [-Wobsolete]
    `object: MACRO` is deprecated; use `MACRO object`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(125): [-Wobsolete]
    `warp: MACRO` is deprecated; use `MACRO warp`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(132): [-Wobsolete]
    `sign: MACRO` is deprecated; use `MACRO sign`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(139): [-Wobsolete]
    `warp_to: MACRO` is deprecated; use `MACRO warp_to`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(148): [-Wobsolete]
    `NORTH_MAP_CONNECTION: MACRO` is deprecated; use `MACRO NORTH_MAP_CONNECTION`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(169): [-Wobsolete]
    `SOUTH_MAP_CONNECTION: MACRO` is deprecated; use `MACRO SOUTH_MAP_CONNECTION`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(193): [-Wobsolete]
    `WEST_MAP_CONNECTION: MACRO` is deprecated; use `MACRO WEST_MAP_CONNECTION`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(214): [-Wobsolete]
    `EAST_MAP_CONNECTION: MACRO` is deprecated; use `MACRO EAST_MAP_CONNECTION`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(2) -> macros/data_macros.asm(233): [-Wobsolete]
    `tmlearn: MACRO` is deprecated; use `MACRO tmlearn`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(14): [-Wobsolete]
    `TX_RAM: MACRO` is deprecated; use `MACRO TX_RAM`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(21): [-Wobsolete]
    `TX_BCD: MACRO` is deprecated; use `MACRO TX_BCD`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(34): [-Wobsolete]
    `TX_NUM: MACRO` is deprecated; use `MACRO TX_NUM`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(58): [-Wobsolete]
    `TX_FAR: MACRO` is deprecated; use `MACRO TX_FAR`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(3) -> macros/text_macros.asm(71): [-Wobsolete]
    `TX_MART: MACRO` is deprecated; use `MACRO TX_MART`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(12): [-Wobsolete]
    `audio: MACRO` is deprecated; use `MACRO audio`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(30): [-Wobsolete]
    `pitchenvelope: MACRO` is deprecated; use `MACRO pitchenvelope`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(40): [-Wobsolete]
    `squarenote: MACRO` is deprecated; use `MACRO squarenote`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(51): [-Wobsolete]
    `noisenote: MACRO` is deprecated; use `MACRO noisenote`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(62): [-Wobsolete]
    `C_: MACRO` is deprecated; use `MACRO C_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(66): [-Wobsolete]
    `C#: MACRO` is deprecated; use `MACRO C#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(70): [-Wobsolete]
    `D_: MACRO` is deprecated; use `MACRO D_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(74): [-Wobsolete]
    `D#: MACRO` is deprecated; use `MACRO D#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(78): [-Wobsolete]
    `E_: MACRO` is deprecated; use `MACRO E_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(82): [-Wobsolete]
    `F_: MACRO` is deprecated; use `MACRO F_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(86): [-Wobsolete]
    `F#: MACRO` is deprecated; use `MACRO F#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(90): [-Wobsolete]
    `G_: MACRO` is deprecated; use `MACRO G_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(94): [-Wobsolete]
    `G#: MACRO` is deprecated; use `MACRO G#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(98): [-Wobsolete]
    `A_: MACRO` is deprecated; use `MACRO A_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(102): [-Wobsolete]
    `A#: MACRO` is deprecated; use `MACRO A#`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(106): [-Wobsolete]
    `B_: MACRO` is deprecated; use `MACRO B_`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(111): [-Wobsolete]
    `snare1: MACRO` is deprecated; use `MACRO snare1`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(116): [-Wobsolete]
    `snare2: MACRO` is deprecated; use `MACRO snare2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(121): [-Wobsolete]
    `snare3: MACRO` is deprecated; use `MACRO snare3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(126): [-Wobsolete]
    `snare4: MACRO` is deprecated; use `MACRO snare4`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(131): [-Wobsolete]
    `snare5: MACRO` is deprecated; use `MACRO snare5`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(136): [-Wobsolete]
    `triangle1: MACRO` is deprecated; use `MACRO triangle1`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(141): [-Wobsolete]
    `triangle2: MACRO` is deprecated; use `MACRO triangle2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(146): [-Wobsolete]
    `snare6: MACRO` is deprecated; use `MACRO snare6`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(151): [-Wobsolete]
    `snare7: MACRO` is deprecated; use `MACRO snare7`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(156): [-Wobsolete]
    `snare8: MACRO` is deprecated; use `MACRO snare8`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(161): [-Wobsolete]
    `snare9: MACRO` is deprecated; use `MACRO snare9`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(166): [-Wobsolete]
    `cymbal1: MACRO` is deprecated; use `MACRO cymbal1`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(171): [-Wobsolete]
    `cymbal2: MACRO` is deprecated; use `MACRO cymbal2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(176): [-Wobsolete]
    `cymbal3: MACRO` is deprecated; use `MACRO cymbal3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(181): [-Wobsolete]
    `mutedsnare1: MACRO` is deprecated; use `MACRO mutedsnare1`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(186): [-Wobsolete]
    `triangle3: MACRO` is deprecated; use `MACRO triangle3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(191): [-Wobsolete]
    `mutedsnare2: MACRO` is deprecated; use `MACRO mutedsnare2`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(196): [-Wobsolete]
    `mutedsnare3: MACRO` is deprecated; use `MACRO mutedsnare3`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(201): [-Wobsolete]
    `mutedsnare4: MACRO` is deprecated; use `MACRO mutedsnare4`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(207): [-Wobsolete]
    `rest: MACRO` is deprecated; use `MACRO rest`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(212): [-Wobsolete]
    `notetype: MACRO` is deprecated; use `MACRO notetype`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(217): [-Wobsolete]
    `dspeed: MACRO` is deprecated; use `MACRO dspeed`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(221): [-Wobsolete]
    `octave: MACRO` is deprecated; use `MACRO octave`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(225): [-Wobsolete]
    `toggleperfectpitch: MACRO` is deprecated; use `MACRO toggleperfectpitch`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(230): [-Wobsolete]
    `vibrato: MACRO` is deprecated; use `MACRO vibrato`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(236): [-Wobsolete]
    `pitchbend: MACRO` is deprecated; use `MACRO pitchbend`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(242): [-Wobsolete]
    `duty: MACRO` is deprecated; use `MACRO duty`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(247): [-Wobsolete]
    `tempo: MACRO` is deprecated; use `MACRO tempo`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(253): [-Wobsolete]
    `stereopanning: MACRO` is deprecated; use `MACRO stereopanning`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(258): [-Wobsolete]
    `volume: MACRO` is deprecated; use `MACRO volume`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(263): [-Wobsolete]
    `executemusic: MACRO` is deprecated; use `MACRO executemusic`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(267): [-Wobsolete]
    `dutycycle: MACRO` is deprecated; use `MACRO dutycycle`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(273): [-Wobsolete]
    `callchannel: MACRO` is deprecated; use `MACRO callchannel`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(279): [-Wobsolete]
    `loopchannel: MACRO` is deprecated; use `MACRO loopchannel`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(4) -> macros/audio_macros.asm(285): [-Wobsolete]
    `endchannel: MACRO` is deprecated; use `MACRO endchannel`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(3): [-Wobsolete]
    `CheckEvent: MACRO` is deprecated; use `MACRO CheckEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(21): [-Wobsolete]
    `CheckEventReuseA: MACRO` is deprecated; use `MACRO CheckEventReuseA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(32): [-Wobsolete]
    `CheckEventAfterBranchReuseA: MACRO` is deprecated; use `MACRO CheckEventAfterBranchReuseA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(45): [-Wobsolete]
    `EventFlagBit: MACRO` is deprecated; use `MACRO EventFlagBit`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(55): [-Wobsolete]
    `EventFlagAddress: MACRO` is deprecated; use `MACRO EventFlagAddress`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(61): [-Wobsolete]
    `CheckEventHL: MACRO` is deprecated; use `MACRO CheckEventHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(68): [-Wobsolete]
    `CheckEventReuseHL: MACRO` is deprecated; use `MACRO CheckEventReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(79): [-Wobsolete]
    `CheckEventForceReuseHL: MACRO` is deprecated; use `MACRO CheckEventForceReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(86): [-Wobsolete]
    `CheckEventAfterBranchReuseHL: MACRO` is deprecated; use `MACRO CheckEventAfterBranchReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(97): [-Wobsolete]
    `CheckAndSetEvent: MACRO` is deprecated; use `MACRO CheckAndSetEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(105): [-Wobsolete]
    `CheckAndResetEvent: MACRO` is deprecated; use `MACRO CheckAndResetEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(113): [-Wobsolete]
    `CheckAndSetEventA: MACRO` is deprecated; use `MACRO CheckAndSetEventA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(121): [-Wobsolete]
    `CheckAndResetEventA: MACRO` is deprecated; use `MACRO CheckAndResetEventA`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(129): [-Wobsolete]
    `SetEvent: MACRO` is deprecated; use `MACRO SetEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(136): [-Wobsolete]
    `SetEventReuseHL: MACRO` is deprecated; use `MACRO SetEventReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(147): [-Wobsolete]
    `SetEventAfterBranchReuseHL: MACRO` is deprecated; use `MACRO SetEventAfterBranchReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(159): [-Wobsolete]
    `SetEventForceReuseHL: MACRO` is deprecated; use `MACRO SetEventForceReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(167): [-Wobsolete]
    `SetEvents: MACRO` is deprecated; use `MACRO SetEvents`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(176): [-Wobsolete]
    `ResetEvent: MACRO` is deprecated; use `MACRO ResetEvent`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(183): [-Wobsolete]
    `ResetEventReuseHL: MACRO` is deprecated; use `MACRO ResetEventReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(194): [-Wobsolete]
    `ResetEventAfterBranchReuseHL: MACRO` is deprecated; use `MACRO ResetEventAfterBranchReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(206): [-Wobsolete]
    `ResetEventForceReuseHL: MACRO` is deprecated; use `MACRO ResetEventForceReuseHL`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(214): [-Wobsolete]
    `ResetEvents: MACRO` is deprecated; use `MACRO ResetEvents`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(224): [-Wobsolete]
    `dbEventFlagBit: MACRO` is deprecated; use `MACRO dbEventFlagBit`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(234): [-Wobsolete]
    `dwEventFlagAddress: MACRO` is deprecated; use `MACRO dwEventFlagAddress`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(244): [-Wobsolete]
    `SetEventRange: MACRO` is deprecated; use `MACRO SetEventRange`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(305): [-Wobsolete]
    `ResetEventRange: MACRO` is deprecated; use `MACRO ResetEventRange`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(373): [-Wobsolete]
    `CheckBothEventsSet: MACRO` is deprecated; use `MACRO CheckBothEventsSet`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(408): [-Wobsolete]
    `CheckEitherEventSet: MACRO` is deprecated; use `MACRO CheckEitherEventSet`
warning: audio.asm(6) -> constants.asm(1) -> macros.asm(5) -> macros/event_macros.asm(437): [-Wobsolete]
    `AdjustEventBit: MACRO` is deprecated; use `MACRO AdjustEventBit`
error: audio.asm(6) -> constants.asm(9) -> constants/misc_constants.asm(35):
    syntax error, unexpected set
error: audio.asm(6) -> constants.asm(9) -> constants/misc_constants.asm(36) -> macros/data_macros.asm::const(8):
    Expected constant expression: 'const_value' is not constant at assembly time
error: audio.asm(6) -> constants.asm(9) -> constants/misc_constants.asm(36) -> macros/data_macros.asm::const(9):
    Expected constant expression: 'const_value' is not constant at assembly time
warning: audio.asm(6) -> constants.asm(13) -> constants/trainer_constants.asm(1): [-Wobsolete]
    `trainer_const: MACRO` is deprecated; use `MACRO trainer_const`
warning: audio.asm(6) -> constants.asm(24) -> constants/map_constants.asm(1): [-Wobsolete]
    `mapconst: MACRO` is deprecated; use `MACRO mapconst`
warning: audio.asm(6) -> constants.asm(28) -> constants/music_constants.asm(42): [-Wobsolete]
    `music_const: MACRO` is deprecated; use `MACRO music_const`
warning: audio.asm(402) -> audio/engine_1.asm(23): [-Wobsolete]
    ld optimization will stop being the default; pass `-l` to opt into it
error: Assembly aborted (3 errors)!
make: *** [audio_red.o] Error 1```

any ideas  on why I'm getting this error?
jojobear13 commented 1 year ago

Local building is broken...for some reason. I'm not sure why.

Try using 0.6.0 globally and see if that works.

jojobear13 commented 1 year ago

Here's how I compile locally with the current _dev branches.

make RGBDS=rgbds-0.6.0/

image

ThoshHub commented 1 year ago

what is in the rgbds-0.6.0 folder? does it look like this for you?

image
jojobear13 commented 1 year ago

Those are dll files. They aren’t supposed to be there and got uploaded by accident.