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

Cannot link to some external libraries #99

Open
sleirsgoevy opened this issue Oct 11, 2020 · 1 comment
Open

Cannot link to some external libraries #99

sleirsgoevy opened this issue Oct 11, 2020 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@sleirsgoevy
Copy link
Contributor

sleirsgoevy commented Oct 11, 2020

It seems that the PS4 loads some set of libraries by default, and trying to link to anything outside that list (e.g. libSceKeyboard ) fails (the library does not get loaded, and invoking functions from it crashes the program).

Manually loading libSceKeyboard from a running app works.

@sleirsgoevy sleirsgoevy changed the title Cannot link to external libraries Cannot link to some external libraries Oct 11, 2020
@sleirsgoevy
Copy link
Contributor Author

sleirsgoevy commented Oct 11, 2020

Found it out. The library needs to be loaded via the Sysmodule mechanism, this will resolve all the yet-unresolved references.

Not closing the issue though, as I think this caveat should be mentioned somewhere.

@kiwidoggie kiwidoggie added the documentation Improvements or additions to documentation label Oct 24, 2020
@Cryptogenic Cryptogenic added this to the V0.6 milestone Nov 21, 2020
@Cryptogenic Cryptogenic self-assigned this Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants