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

libwooting_analog_wrapper.so No such file or directory #62

Open
Karutoh opened this issue Nov 8, 2023 · 2 comments
Open

libwooting_analog_wrapper.so No such file or directory #62

Karutoh opened this issue Nov 8, 2023 · 2 comments

Comments

@Karutoh
Copy link

Karutoh commented Nov 8, 2023

I've added the wooting-analog-sdk to my game engine. The problem is I get an error when someone executes a game using my engine.

error while loading shared libraries: libwooting_analog_wrapper.so: cannot open shared object file: No such file or directory

I do not want to require users to install the wooting-analog-sdk manually on Linux just so they can play my games. Especially if they do not own Wooting hardware. I've temporarily disabled this feature with preprocessor definitions due to it not being scalable.

TechDemo.zip

image

@simon-wh
Copy link
Member

simon-wh commented Nov 8, 2023

The architecture of the Analog SDK is designed in a way where it's intended for you to ship the wooting_analog_wrapper library with your application. It's designed to take care of the situations where the Analog SDK isn't present and give you a graceful error to handle nicely in your application.

So you should be able to link to libwooting_analog_wrapper.so and include it in your output, then at runtime you can handle if the Analog SDK is installed or not. Then your game should work completely fine for everyone, whether they have Wooting or the Analog SDK or not

@Sainan
Copy link
Contributor

Sainan commented Oct 22, 2024

Question answered; issue can be closed, no?

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

3 participants