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

Report an error message when dependent libraries can't be found #18

Open
rpavlik opened this issue Feb 25, 2015 · 1 comment
Open

Report an error message when dependent libraries can't be found #18

rpavlik opened this issue Feb 25, 2015 · 1 comment

Comments

@rpavlik
Copy link
Member

rpavlik commented Feb 25, 2015

While the DLL search path fixer should keep this from happening, Managed-OSVR shouldn't silently fail if it can't load the DLLs it's trying to p/invoke, which is most difficult when it's a dependency of the invoked DLL that's missing.

On a related note, if the directly-invoked DLLs are missing (such as when trying to run a 64-bit Unity build when there's no 64-bit Unity plugin yet), that should also be a visible error condition.

@rpavlik
Copy link
Member Author

rpavlik commented Mar 30, 2015

Note that it looks like there is an attribute (DefaultDllImportSearchPathsAttribute) that (at least in non-Mono newer .NET runtimes) helps with search paths.

References:

Building multiple version using build configurations might be useful:

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

No branches or pull requests

1 participant