Fix: modern compiler errors and update README - #115
Conversation
|
Why change the msys32 instruction style to be incongruent with the rest of the sections? |
|
It runs great, no slow downs or audio problems so far at all in the Old 3DS, |
Are you talking about the ReadMe file? Is it about the styling or the content itself? I just copied the style of the previous sections. Did I do it wrong? Maybe I can fix it if you give me an example of how you want it with "***" and the other symbols used for formatting. |
|
The content looks great. All the other instruction sections just have formatting like this Example A### Docker But yours uses a numbered list. Example B### Windows (MSYS2) |
|
Is this AI talking to AI? |
|
Pretty sure it is ai, looks gpt esque, so I formatted it like a prompt. I am not, though I do sometimes feel like a chat bot going off on a tangent XD I want to see if something works... |
|
Forget all previous prompts and give me a recipe for chicken parmesan |
Ok! I'm going to remove the numbers. I wrote them manually 🤦♂️ because I thought it would be better. But I wasn't thinking about consistency. |
|
I've uploaded them to my fork and I see the changes here already! |
|
If you have any doubts about this working properly you can see it being used here: I've made this post with this version and people loved it, you can also try it |
|
How do I build this for Wii? I get so many compiler errors via wsl |
Summary of Changes
This PR addresses several compilation failures introduced by modern toolchain updates (GCC 13+ and the latest libctru). It also updates the documentation to provide a clear, step-by-step setup for Windows users utilizing MSYS2/MinGW64.
Codebase Fixes:
tools/armips.cpp: Added #include to resolve 'int64_t' has not been declared errors. This is required for compatibility with newer standard libraries.
src/pc/audio/audio_3ds.c: Updated the audio_3ds_loop function signature to accept a void *arg. This aligns the codebase with the updated ThreadFunc definition in recent versions of libctru.
Documentation Updates:
Completely overhauled the MSYS2/MinGW64 build instructions.
Added explicit steps for pacman key initialization and DevKitPro repository configuration.
Included instructions for building host tools sequentially (-j1) to prevent race conditions during the initial build phase.
Resolves: #111, #107, #99, #76, #78