Giter Site home page Giter Site logo

Comments (7)

EmeraldLoc avatar EmeraldLoc commented on September 16, 2024

Added more linker flags, so fixed most of linking errors. What is the linker flag for these objects
Screen Shot 2022-04-11 at 7 33 22 PM
?

from sm64ex-alo.

PaulGrandperrin avatar PaulGrandperrin commented on September 16, 2024

I'm stuck at the same point. Using an x86_64 macOS.
Those symbols are in sound_data.o.
The issue is the sound_data.o has been assembled using the mingw as which produce a mingw specific object.
The linker then complains about not understanding this object's format and ignores its symbols.

My understanding is that the source ofsound_data.o can only be assembled using GNU as. The as from macOS will fail.
However, I don't understand who using mingw's as has ever been working before.. because of the different output format.

Pinging people who I think worked on this: @AloXado320 @AuroraWright @Hyenadae @GammaTendonNine

from sm64ex-alo.

EmeraldLoc avatar EmeraldLoc commented on September 16, 2024

So I was able to get it to compile, which is nice. It seems to actually come from load.c when you set the data var in audio_init. However, it crashes on launch, more progress :)

from sm64ex-alo.

EmeraldLoc avatar EmeraldLoc commented on September 16, 2024

I don't think adding a linker flag will fix it, and honestly I just wanna know why they made the change, I was able to compile the version right before sound_data.s became a thing. Odd.

from sm64ex-alo.

EmeraldLoc avatar EmeraldLoc commented on September 16, 2024

ITS WORKING!!! I got it compiled lets go! However there is no audio which is a little akward lol. So in load.c lines 106-109 remove the extern part, then it will compile and launch. However remember to build with RENDER_API=GL_LEGACY or else your screen will be black.

from sm64ex-alo.

EmeraldLoc avatar EmeraldLoc commented on September 16, 2024

Making a pr for all fixes done

from sm64ex-alo.

PaulGrandperrin avatar PaulGrandperrin commented on September 16, 2024

I think this issue should be kept open because the PR doesn't really fix the issue of the sound code not linking properly.
The PR replaces the missing sound data with empty arrays so that the linker doesn't complain.. But the real issue is still there and still need fixing.

from sm64ex-alo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.