完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我一直在寻找使用.NET Core的示例代码的高低,但却找不到任何东西,有没有人有一个例子可以分享或者能指出我正确的方向?
以上来自于谷歌翻译 以下为原文 I've been searching high and low for example code using .NET Core but haven't been able to find anything, is there anyone that have an example to share or could point me in the right direction? |
|
相关推荐
4个回答
|
|
|
虽然没有专门针对.NET Core的示例,但RealSense SDK 2.0在“csharp”类别的包装器中确实具有.NET Framework兼容性。
这个包装器的主页有一个C#示例程序,并链接到几个教程程序。 master上的librealsense / wrappers / csharp·IntelRealSense / librealsense·GitHub 我相信这是在这个论坛上提出的关于.NET Core的第一个问题,所以我将在这里发布微软的定义,以造福其他读者。 .NET Core是“用于构建网站,服务和控制台应用程序的.NET的跨平台版本”,而.NET Framework是“仅用于Windows的.NET版本,用于构建在Windows上运行的任何类型的应用程序”。 以上来自于谷歌翻译 以下为原文 Whilst there are no examples specifically for .NET Core, the RealSense SDK 2.0 does have .NET Framework compatibility in the 'csharp' category of wrapper. The main page for this wrapper has a C# example program, and links to several tutorial programs. librealsense/wrappers/csharp at master · IntelRealSense/librealsense · GitHub I believe that this is the first question that has been asked on this forum about .NET Core, so I'll post Microsoft's definition here for the benefit of other readers. .NET Core is "a cross-platform version of .NET for building websites, services, and console apps", whilst .NET Framework is "a Windows-only version of .NET for building any type of app that runs on Windows". |
|
|
|
|
nywerwer 发表于 2018-10-12 18:11 我确实有.NET内核的半工作代码,但在尝试使用PointCloud时遇到了问题。 我使用Points.CopyTo得到了一个令人讨厌的丢失的DLL异常,并且正在寻找是否有其他人遇到了同样的问题,也许是如何解决它。 例外情况只发生在我的linuxplatform(Ubuntu 16.04)上,在Windows上按预期工作。 1)例外信息 ********************************************* 异常类型:System.DllNotFoundException 消息:无法加载共享库'msvcrt.dll'或其依赖项之一。 为了帮助诊断加载问题,请考虑设置LD_DEBUG环境变量:libmsvcrt.dll:无法打开共享对象文件:没有这样的文件或目录 类型名: 数据:System.Collections.ListDictionaryInternal TargetSite:IntPtr memcpy(IntPtr,IntPtr,Int32) HelpLink:NULL 资料来源:Intel.RealSense HResult:-2146233052 StackTrace信息 ********************************************* 在Intel.RealSense.NativeMethods.memcpy(IntPtr dest,IntPtr src,Int32 count) 在Intel.RealSense.Points.CopyTo(Vertex []数组) PointCloud pointCloud = new PointCloud(); Points points = pointCloud.Calculate(frames.DepthFrame); Points.Vertex [] vertices = new Points.Vertex [points.Count]; points.CopyTo(vertices); 以上来自于谷歌翻译 以下为原文 I do have have semi working code for the .NET core but have run into issues trying to use a PointCloud. I'm getting a nasty missing DLL exception using the Points.CopyTo and was looking to find out if any one else had run into the same problem and perhaps how to solve it. The exception only occurs on my linuxplatform (Ubuntu 16.04), on windows it works as intended. 1) Exception Information ********************************************* Exception Type: System.DllNotFoundException Message: Unable to load shared library 'msvcrt.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libmsvcrt.dll: cannot open shared object file: No such file or directory TypeName: Data: System.Collections.ListDictionaryInternal TargetSite: IntPtr memcpy(IntPtr, IntPtr, Int32) HelpLink: NULL Source: Intel.RealSense HResult: -2146233052 StackTrace Information ********************************************* at Intel.RealSense.NativeMethods.memcpy(IntPtr dest, IntPtr src, Int32 count) at Intel.RealSense.Points.CopyTo(Vertex[] array)
|
|
|
|
|
Oo一笑 发表于 2018-10-12 18:20 寻求这个问题答案的最佳位置可能是RealSense GitHub网站,RealSense工程师和开发人员驻留在该网站上。 您可以通过以下链接并点击“新发布”按钮在那里发布您的问题。 问题·IntelRealSense / librealsense·GitHub 以上来自于谷歌翻译 以下为原文 The best place to seek an answer to this question is likely to be on the RealSense GitHub site, where the RealSense engineers and developers reside. You can post your question there by going to the link below and clicking the 'New Issue' button. Issues · IntelRealSense/librealsense · GitHub |
|
|
|
|
nywerwer 发表于 2018-10-12 18:28 谢谢马蒂,会这样做。 以上来自于谷歌翻译 以下为原文 Thanks Marty, will do that. |
|
|
|
|
只有小组成员才能发言,加入小组>>
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 23:48 , Processed in 0.739497 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
418