Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static build instructions don't seem to work #2

Open
csunday95 opened this issue May 20, 2021 · 0 comments
Open

static build instructions don't seem to work #2

csunday95 opened this issue May 20, 2021 · 0 comments

Comments

@csunday95
Copy link

csunday95 commented May 20, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant