sm64pc / sm64ex

Fork of https://github.com/sm64-port/sm64-port with additional features.
1.58k stars 487 forks source link

DISCORDRPC causes build failure on eu ROM #394

Open enigma9o7 opened 4 years ago

enigma9o7 commented 4 years ago

src/pc/discord/discordrpc.c: In function 'set_details': src/pc/discord/discordrpc.c:162:22: error: 'LANGUAGE_ENGLISH' undeclared (first use in this function) 162 | case LANGUAGE_ENGLISH: | ^~~~ src/pc/discord/discordrpc.c:162:22: note: each undeclared identifier is reported only once for each function it appears in src/pc/discord/discordrpc.c:163:58: error: 'course_name_table_eu_en' undeclared (first use in this function) 163 | courseNameTbl = segmented_to_virtual(course_name_table_eu_en); | ^~~~~~~ src/pc/discord/discordrpc.c:165:22: error: 'LANGUAGE_FRENCH' undeclared (first use in this function) 165 | case LANGUAGE_FRENCH: | ^~~~~~~ echo >> build/eu_pc/levels/menu/main_menu_seg7.093D0.rgba16.inc.c echo >> build/eu_pc/levels/menu/main_menu_seg7.0A9D0.rgba16.inc.c src/pc/discord/discordrpc.c:166:58: error: 'course_name_table_eu_fr' undeclared (first use in this function) 166 | courseNameTbl = segmented_to_virtual(course_name_table_eu_fr); | ^~~~~~~ echo >> build/eu_pc/levels/menu/main_menu_seg7.077D0.rgba16.inc.c src/pc/discord/discordrpc.c:168:22: error: 'LANGUAGE_GERMAN' undeclared (first use in this function) 168 | case LANGUAGE_GERMAN: | ^~~~~~~ src/pc/discord/discordrpc.c:169:58: error: 'course_name_table_eu_de' undeclared (first use in this function) 169 | courseNameTbl = segmented_to_virtual(course_name_table_eu_de); | ^~~~~~~ src/pc/discord/discordrpc.c: In function 'set_state': src/pc/discord/discordrpc.c:195:26: error: 'LANGUAGE_ENGLISH' undeclared (first use in this function) 195 | case LANGUAGE_ENGLISH: | ^~~~ src/pc/discord/discordrpc.c:196:59: error: 'act_name_table_eu_en' undeclared (first use in this function) 196 | actNameTbl = segmented_to_virtual(act_name_table_eu_en); | ^~~~~~~~ src/pc/discord/discordrpc.c:198:26: error: 'LANGUAGE_FRENCH' undeclared (first use in this function) 198 | case LANGUAGE_FRENCH: | ^~~~~~~ src/pc/discord/discordrpc.c:199:59: error: 'act_name_table_eu_fr' undeclared (first use in this function) 199 | actNameTbl = segmented_to_virtual(act_name_table_eu_fr); | ^~~~~~~~ src/pc/discord/discordrpc.c:201:26: error: 'LANGUAGE_GERMAN' undeclared (first use in this function) 201 | case LANGUAGE_GERMAN: | ^~~~~~~ src/pc/discord/discordrpc.c:202:59: error: 'act_name_table_eu_de' undeclared (first use in this function) 202 | actNameTbl = segmented_to_virtual(act_name_table_eu_de); | ^~~~~~~~ echo >> build/eu_pc/levels/menu/main_menu_seg7_us.0B780.ia8.inc.c echo >> build/eu_pc/levels/menu/main_menu_seg7_us.0B440.ia8.inc.c echo >> build/eu_pc/levels/menu/main_menu_seg7.0A1D0.rgba16.inc.c hexdump -v -e '1/1 "0x%X,"' build/eu_pc/levels/menu/main_menu_seg7_us.0AE00.ia8 > build/eu_pc/levels/menu/main_menu_seg7_us.0AE00.ia8.inc.c hexdump -v -e '1/1 "0x%X,"' build/eu_pc/levels/menu/main_menu_seg7.083D0.rgba16 > build/eu_pc/levels/menu/main_menu_seg7.083D0.rgba16.inc.c hexdump -v -e '1/1 "0x%X,"' build/eu_pc/levels/menu/main_menu_seg7_us.0B580.ia8 > build/eu_pc/levels/menu/main_menu_seg7_us.0B580.ia8.inc.c hexdump -v -e '1/1 "0x%X,"' build/eu_pc/levels/menu/main_menu_seg7_us.0B180.ia8 > build/eu_pc/levels/menu/main_menu_seg7_us.0B180.ia8.inc.c make: *** [Makefile:1034 : build/eu_pc/src/pc/discord/discordrpc.o] Erreur 1

fgsfdsfgs commented 4 years ago

Is that on master or nightly?

enigma9o7 commented 4 years ago

current nightly, and built fine without discordrpc.

(It wasn't me, hence the french "Erreur" message; I just reported, it was a linux user using my build script.)