简体   繁体   English

如何在客户端Windows 7计算机上安装OpenGL / OpenTK?

[英]How to install OpenGL/OpenTK on client windows 7 machine?

Our C# Winforms OpenTK based application is unable to run on a Windows 7 32bit client machine because it relies on OpenGL 1.5 features. 我们基于C#Winforms OpenTK的应用程序无法在Windows 7 32位客户端计算机上运行,​​因为它依赖于OpenGL 1.5功能。 It appears that due to the absence of the proper OpenGL DLLs on the machine, it is defaulting to the OpenGL 1.1 emulator as described here: 似乎由于机器上没有适当的OpenGL DLL,它默认为OpenGL 1.1仿真器,如下所述:

https://www.opengl.org/wiki/Getting_Started#Windows https://www.opengl.org/wiki/Getting_Started#Windows

The graphics card itself supports OpenGL 4.2: 图形卡本身支持OpenGL 4.2:

http://www.geforce.com/hardware/desktop-gpus/geforce-gt-520/specifications http://www.geforce.com/hardware/desktop-gpus/geforce-gt-520/specifications

We have installed the latest NVIDIA drives from the NVIDIA website under full admisitrator rights. 我们已在NVIDIA网站上以完全管理员身份安装了最新的NVIDIA驱动器。

However still when we run the OpenTK samples requiring OpenGL 1.5 (eg. "picking" or "VBO static/dynamic") we get errors specifying that the machine is on OpenGL 1.1, or "Access violation". 但是,当我们运行需要OpenGL 1.5的OpenTK示例时(例如,“拾取”或“ VBO静态/动态”),仍然会出现错误,表明该计算机位于OpenGL 1.1或“访问冲突”上。

I have searched the web for solutions to this to no avail and we are banging our heads against the wall. 我已经在网上搜索了解决方案,但无济于事,我们的头撞墙了。

What is the correct, reliable way to install the latest OpenGL on a windows machine which physically supports OpenGL 4.2? 在物理上支持OpenGL 4.2的Windows机器上安装最新OpenGL的正确,可靠方法是什么?

However still when we run the OpenTK samples requiring OpenGL 1.5 (eg. "picking" or "VBO static/dynamic") we get errors specifying that the machine is on OpenGL 1.1, or "Access violation". 但是,当我们运行需要OpenGL 1.5的OpenTK示例时(例如,“拾取”或“ VBO静态/动态”),仍然会出现错误,表明该计算机位于OpenGL 1.1或“访问冲突”上。

Something in the way the particular OpenTK binary you're using makes it create a OpenGL-1.1 context. 您正在使用的特定OpenTK二进制文件会以某种方式使其创建OpenGL-1.1上下文。 Did you just use a precompiled version of OpenTK or did you compile it from sources yourself? 您是使用OpenTK的预编译版本还是自己从源代码编译的? I strongly recommend to create a custom build. 我强烈建议创建一个自定义版本。

What is the correct, reliable way to install the latest OpenGL on a windows machine which physically supports OpenGL 4.2? 在物理上支持OpenGL 4.2的Windows机器上安装最新OpenGL的正确,可靠方法是什么?

Install the original vendor driver as downloaded from the vendor website. 安装从供应商网站下载的原始供应商驱动程序。 You already did that, so something else is the cause of your troubles. 您已经这样做了,所以还有其他原因引起您的麻烦。

Unfortunately we fell prey to an little known fact - that OpenGL doesn't normally work when logged in via RDP. 不幸的是,我们陷入一个鲜为人知的事实-通过RDP登录时OpenGL通常无法正常工作。

Used the machine directly and via other remote access tools and it worked fine. 直接或通过其他远程访问工具使用了机器,效果很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM