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

Debugging unit tests doesn't work with shared library #65

Open
simonstix opened this issue Jul 27, 2021 · 2 comments
Open

Debugging unit tests doesn't work with shared library #65

simonstix opened this issue Jul 27, 2021 · 2 comments

Comments

@simonstix
Copy link
Contributor

simonstix commented Jul 27, 2021

I think this is more of a problem with the debuggers, but I had the same problem in VS Code and CLion, both on Windows and Linux.

It's easily fixed by copying the .dll and .lib files to the root folder of the project, I'm assuming it's the same with the .so file in Linux. I fixed the problem there by copying the libsteam_api.so to /usr/lib.

Maybe I'm missing something and there's a less messy solution, but hopefully, this can help somebody else with the same problem.

@IGreyGooI
Copy link

Adding the path to the dll/so files into environment variable PATH.

@simonstix
Copy link
Contributor Author

But that's still a manual process, isn't there a way to do it automatically when using this crate?
Alternatively, I guess the crate could also look in PATH instead of STEAM_SDK_LOCATION, but I'm not sure if that could cause other problems.

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

2 participants