-
Notifications
You must be signed in to change notification settings - Fork 174
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
Update libc DllImport to one that is supported? #41
Comments
Hi, Would you tell me what platform did you use? libc is intended for non-Windows build, so I will add compiler directive around it. Thanks! |
Hi, I was on Windows 8.1 with VS 2014 CTP. I had installed MsgPack through the nuget package. |
What type of the project? Desktop or windows? |
Project type was Universal App. I was running the Windows Store App part of it. The compiler directive is "WINDOWS_APP". I don't know if it'll run on Windows Phone, but I did not check. The compiler directive for that is "WINDOWS_PHONE_APP". |
Thank you for response. I've fixed this issue, so can you test it?
I'm happy if you continously contribute to enable MsgPack in .NET Native :) |
Hey, I've compiled it and tested it on my application. It runs! :) However, using the library may take some effort because .NET Native handles Reflection a lot differently than before (since it is statically compiled and there is no JIT). I am working to see if I can add some runtime directives to get it to work. :) Connie |
Did the fix for this issue ever make it into master? We are also trying to use MsgPack in a windows store app, and are unable to, due to the libc.dll dependency when installing from Nuget. I think the nuspec would also need to be modified for this project? Thanks! |
Hey,
I was trying to compile your library through the .NET Native toolchain and realised that it has a dependency on libc.dll (UnsafeNativeMethods.cs:52) for memcmp. (As a result, it doesn't run and probably fails during runtime.) I believe MSFT has deprecated libc.dll (http://msdn.microsoft.com/en-us/library/abx4dbyh.aspx) and only allows you to use libcmt or mscvrt. (It's in that tiny Note section.)
Is it possible to update this method?
Thanks!
Connie
The text was updated successfully, but these errors were encountered: