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

[Win7]: Runtime failure due to native dependencies #153

Closed
prasannavl opened this issue Sep 20, 2016 · 2 comments
Closed

[Win7]: Runtime failure due to native dependencies #153

prasannavl opened this issue Sep 20, 2016 · 2 comments

Comments

@prasannavl
Copy link

prasannavl commented Sep 20, 2016

I was testing an application in Win 7 for backward compatibility. So, freshly booted clean install of the latest Win 7 64-bit build 7601 (with SP1) from MSDN. However, I ended up with a strange exception that said libSkiaSharp.dll could not be found even though it was right by the executable.

So, I had a hunch it was likely that the module couldn't be loaded successfully, which I was able to confirm after poking into it. Turns out libSkiaSharp.dll that's packaged with nuget is dynamically linked to the VC++ runtime 2015 - which a clean install of 7 doesn't have. I guess, this is kind of the usual problems we run into working with native libraries. However, is it possible to statically link, or use a MinGW compilation of Skia that can be done with the nuget?

Also, it might make sense to document this behavior somewhere that the VC++ 2015 runtime is required, since the nuget version of the build is from the VC2015 compiler.

Or it will fail with a not very helpful DllNotFoundException that may not make much sense right away for people who don't work with native code.

@prasannavl
Copy link
Author

Oh damn. I just realized it is already right on the README file. My apologies. Closing this.

@mattleibow
Copy link
Contributor

@prasannavl, no prob. It was also discussed a bit here #136

@ghost ghost locked as resolved and limited conversation to collaborators Aug 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants