C#OpenTK-不带X11的Linux控制台 [英] C# OpenTK - Linux Console without X11

查看:134
本文介绍了C#OpenTK-不带X11的Linux控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道是否可以在没有任何X11桌面的Linux控制台(Raspberry Pi Raspbian)中渲染OpenTK游戏窗口?

I was just wondering if it is possible to render the OpenTK gamewindow in a Linux Console (Raspberry Pi Raspbian) without any X11 Desktop?

如果可能的话,如何

推荐答案

是的,它是从1.1或1.2开始的实验性工具。如果找不到某些dll,请调整 OpenTK.dll.config ,也许您必须找到正确的libinput版本( libinput-0.2.0 正在我的debian上进行工作)以匹配opentk中的api绑定。我不确定,但我认为它仅适用于现代GL(> 3.0)。
确保您具有 libdrm libgbm 并更正 libinput 以及最新的 mesa

Yes, it's experimental since 1.1 or 1.2. Adjust OpenTK.dll.config if some dll could not be found, and maybe you'll have to find correct libinput version (libinput-0.2.0 is working on my debian) to match api binding in opentk. I'm not fully sure, but I think that it's only working with modern GL (>3.0). Ensure you have libdrm, libgbm and correct libinput on your system and latest mesa.

如果从Windows上启动程序,OpenTK将自动检测linux控制台环境。安慰。
如果遇到找不到丢失的dll的麻烦,请在Otk中启用完整的调试消息。

OpenTK will automaticaly detect linux console environment if program is launched from a console. If you face trouble finding missing dll's, enable full debug messages in Otk.

这篇关于C#OpenTK-不带X11的Linux控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆