Comments (11)
It seems like it gets an error on the last stages of building looking at the 00_sound_player.s
build failure.
Can you build with make VERBOSE=1? macOS seems to have a weird assembler that Windows or Linux has no issues with.
from sm64ex-alo.
This log is with VERBOSE=1
Assembling: sound/sequences/00_sound_player.s -> build/us_pc/sound/sequences/00_sound_player.o
gcc-13 -c -I include -I build/us_pc -I build/us_pc/include -I src -I . -DVERSION_US=1 -DF3DEX_GBI_2E=1 -DOSX_BUILD=1 -DLIBULTRA_VERSION=9 -DLIBULTRA_REVISION=0 -DLIBULTRA_STR_VER=\"L\" -DNON_MATCHING=1 -DAVOID_UB=1 -D_LANGUAGE_ASSEMBLY -x assembler-with-cpp -MMD -MF build/us_pc/sound/sequences/00_sound_player.d -o build/us_pc/sound/sequences/00_sound_player.o sound/sequences/00_sound_player.s
sound/sequences/00_sound_player.s:3:17: error: unexpected token in '.section' directive
.section .rodata
^
<instantiation>:1:7: error: out of range literal value
.byte 720000 >> 8, 720000 & 0xff
^
sound/sequences/00_sound_player.s:8015:1: note: while in macro instantiation
envelope_line 7 20000
^
<instantiation>:2:12: error: unknown token in expression
.byte >> 8, & 0xff
^
sound/sequences/00_sound_player.s:8015:1: note: while in macro instantiation
envelope_line 7 20000
^
<instantiation>:1:7: error: out of range literal value
.byte 632700 >> 8, 632700 & 0xff
^
from sm64ex-alo.
Can you add me on Discord as aloxado320
? I might have ideas to fix the errors but i need you to test them since i don't have a macOS system.
from sm64ex-alo.
Thanks, I added you :)
from sm64ex-alo.
im getting the same errors, anu updates?
from sm64ex-alo.
Commit 7a97f0c should address those errors, however it seems like there's a problem with tabledesign according to @Traace.
from sm64ex-alo.
oh, okay.
from sm64ex-alo.
well, it still does not work.
Converting: build/us_pc/textures/intro_raw/sparkle_4.rgba16 -> build/us_pc/textures/intro_raw/sparkle_4.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/sparkle_5.rgba16 -> build/us_pc/textures/intro_raw/sparkle_5.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_0.rgba16 -> build/us_pc/textures/intro_raw/white_star_0.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_2.rgba16 -> build/us_pc/textures/intro_raw/white_star_2.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_1.rgba16 -> build/us_pc/textures/intro_raw/white_star_1.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_3.rgba16 -> build/us_pc/textures/intro_raw/white_star_3.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_4.rgba16 -> build/us_pc/textures/intro_raw/white_star_4.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_6.rgba16 -> build/us_pc/textures/intro_raw/white_star_6.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_7.rgba16 -> build/us_pc/textures/intro_raw/white_star_7.rgba16.inc.c
Converting: build/us_pc/textures/intro_raw/white_star_5.rgba16 -> build/us_pc/textures/intro_raw/white_star_5.rgba16.inc.c
Compiling: src/pc/crash_screen_pc.c -> build/us_pc/src/pc/crash_screen_pc.o
Generating: build/us_pc/sound/sequences.bin
Compiling: src/goddard/renderer.c -> build/us_pc/src/goddard/renderer.o
Assembling: sound/sound_data.s -> build/us_pc/sound/sound_data.o
{standard input}: Assembler messages:
{standard input}:1: Warning: attempt to redefine pseudo-op `.section' ignored
{standard input}:4: Warning: attempt to redefine pseudo-op `.global' ignored
ld: warning: ignoring file build/us_pc/sound/sound_data.o, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x4C 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x0C 0x01 0x00 0x00 0x0E 0x00 0x00 0x00 )
Undefined symbols for architecture arm64:
"_gBankSetsData", referenced from:
_audio_init in load.o
"_gMusicData", referenced from:
_audio_init in load.o
"_gSoundDataADSR", referenced from:
_audio_init in load.o
"_gSoundDataRaw", referenced from:
_audio_init in load.o
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:1822: build/us_pc/sm64.us.f3dex2e] Error 1
built with gmake EXTERNAL_DATA=1 OSX_BUILD=1 TARGET_ARCH=aarch64-apple-darwin TARGET_BITS=64 -j8
from sm64ex-alo.
@Traace thanks for the help, commit 0ae8205 should fix remaining errors on macOS, let me know if it works @ezntek
from sm64ex-alo.
works like a charm :)
from sm64ex-alo.
builds just fine now. @AloXado320 thanks for your hard work :)
closed
from sm64ex-alo.
Related Issues (20)
- Sound menu button breaks when NUM_SAVE_FILES is defined to lower values than 4 HOT 1
- Cant compile on Linux HOT 1
- Cannot Compile on LInux HOT 1
- EXTERNAL_DATA=1 Builds will not run HOT 1
- Wii U Version Cannot Build HOT 1
- Star road doesn't work
- Crash while Mario sliding in Bob-omb Battlefield HOT 4
- bettercam.c - Compile error HOT 1
- Crash On Selecting "Display" Option HOT 2
- Building 32 bit on android doesn't work HOT 1
- Arch Linux w/ devkitPPC r44.2-2: Unrecognized command-line option when building tools (Wii U target) HOT 2
- 60 fps patch for wii u? HOT 2
- lockup on build for Wii U
- coins (red and yellow) reset when walking into cabin on cool, cool mountain, wii u 60fps
- Failing to build for Switch on macOS
- [F.Req] PKGBUILD for the AUR.
- Can't run on Android
- Switch Build Broken HOT 2
- Black level on Boo Haunt (Wii U) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sm64ex-alo.