Skip to content

static build instructions don't seem to work #2

@csunday95

Description

@csunday95

I was attempting to follow the Using (wut - static library) instructions in the README, but I ran into some trouble. It seems that the currently configured cmake include for WUT doesn't have any knowledge of a /opt/devkitpro/wut/usr directory. Not sure if this was the case in the past, but the only way I could get it to build was by copying the includes from /opt/devkitpro/wut/usr/include to /opt/devkitpro/wut/include and /opt/devkitpro/wut/usr/lib/libiosuhax.a to /opt/devkitpro/wut/lib/stubs. I feel this probably isn't the proper solution, but I couldn't seem to get CMAKE/building to function otherwise. Using target_link_libraries(iosuhax) would result in -liosuhax being included in the compilation as expected, but it could never seem to find the library no matter what library path variables I tried to change in my CMakeLists.txt. Any advice on how to do this more cleanly would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions