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

UnsatisfiedLinkError: SteamFriendsNative.createCallback(SteamFriendsCallbackAdapter) #146

Open
HypeStarF opened this issue Oct 25, 2024 · 0 comments

Comments

@HypeStarF
Copy link

When try to define these basic variables:

steamFriends = new SteamFriends(new SteamFriendsCallback() {});
steamUser = new SteamUser(new SteamUserCallback() {});
steamUtils = new SteamUtils(new SteamUtilsCallback() {});

I get this error message:

Caused by: java.lang.UnsatisfiedLinkError:
 'long com.codedisaster.steamworks.SteamFriendsNative.createCallback(com.codedisaster.steamworks.SteamFriendsCallbackAdapter)'

I have made sure SteamAPI.init() and SteamAPI.loadLibraries has been on startup:

SteamAPI.loadLibraries(new SteamLibraryLoader() {});

SteamAPI.init();

if (!SteamAPI.init()) {
      System.err.println("Failed to initialize Steam API")
 }

Thank in advance 😄

@HypeStarF HypeStarF changed the title UnsatisfiedLinkError: Create Callback UnsatisfiedLinkError: SteamFriendsNative.createCallback(SteamFriendsCallbackAdapter) Oct 25, 2024
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