Skip to content

Build failure on modern devkitPro (libogc 2.x/3.x) - Undefined references and header conflicts #79

Description

@mctominay8

Hello,
I am attempting to compile the launcher on macOS Sonoma (Intel) and via the official devkitpro/devkitppc:latest Docker image, but the build fails due to several incompatibilities with the current devkitPro environment.
Main issues encountered:
Multiple Definition of inet_ntop / inet_pton: Conflict between libogc (v3.0.3+) and libwiisocket provided by the install-libs.sh script.
Undefined reference to gettime and diff_msec: These functions seem to be missing or named differently in the current libogc headers, causing linking errors in main.c, shutdown.c, and update.c.
Missing Headers: Compilation of runtime-ext fails because io/fat.h and io/fat-sd.h are not found in the standard include paths of the latest libfat-ogc.
SSL Certificate Errors: The install-libs.sh script fails on macOS because wget cannot verify the GitHub certificates without the --no-check-certificate flag.
Environment:
OS: macOS Sonoma 14.x (Intel) / Docker (Debian Bookworm)
devkitPPC: r45 / GCC 15.2.0
libogc: 2.x / 3.x
Could you please update the Makefile and the source code to support the latest devkitPro releases, or provide a pre-compiled .dol in the Releases section?
Thank you for your work on Retro Rewind!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions