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

Unable to find an entry point named 'CheckLibraryHasLoaded' in DLL 'SpectatorViewPlugin' #164

Closed
bdunajczyk opened this issue May 29, 2018 · 5 comments

Comments

@bdunajczyk
Copy link

bdunajczyk commented May 29, 2018

Hello everyone. Recently I tried to compile SpectatorView example which comes with MixedRealityToolkit unfortunately without success. I did all of the steps introduced at:
https://github.com/Microsoft/MixedRealityToolkit/tree/master/SpectatorViewPlugin
After adding above plugin to the SpectatorView project, another issues popped up, which I solved looking at:
microsoft/MixedRealityToolkit-Unity#1867
At last application compiled and got deployed on HoloLens but after launching I got this error:

System.EntryPointNotFoundException: Unable to find an entry point named 'CheckLibraryHasLoaded' in DLL 'SpectatorViewPlugin'.
   at HoloToolkit.Unity.SpectatorView.OpenCVUtils.CheckOpenCVWrapperHasLoaded()
   at HoloToolkit.Unity.SpectatorView.SpectatorViewNetworkDiscovery.Awake()

And I'm stuck. Does anyone know how to solve this problem? Unity sees SpectatorViewPlugin.dll as native dll instead of managed but I don't know if it has something to do with the error.
Thanks, regards,
Błażej

@keveleigh
Copy link
Contributor

This sounds like an issue that was inadvertently introduced last week, but should have been fixed in microsoft/MixedRealityToolkit-Unity#2168, which made its way into the most recent RC release. If you try the lastest May branch or the latest RC release, do you still see the issue?

@bdunajczyk
Copy link
Author

bdunajczyk commented May 29, 2018

Hi @keveleigh, unfortunately 2017.4.0.0 Release Candidate 2 is lacking in SpectatorView directory. When I open SpectatorViewExample.scene from new examples package there are Missing Prefabs
image

@keveleigh
Copy link
Contributor

That's correct. The SpectatorView feature has been moved to the preview package until it's able to pass WACK. Looks like we forgot to move the examples properly though! Per the release notes:

Import HoloToolkit-Unity-PreviewFeatures-2017.4.0.0-rc2.unitypackage to include SpectatorView in your project.

@bdunajczyk
Copy link
Author

Thank you @keveleigh, everything seems to work smoothly now! High five!

@ww362184099
Copy link

In the Unity2018.3.14,OpenCVUtils.CheckOpenCVWrapperHasLoaded() doesn't work success,and throwing an exception,but it works well in Unity2017.4.5.Could you please tell me the reason? @keveleigh

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