本文介绍了SharpGL库存在问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在安装SharpGL扩展程序之前有一个Windows窗体项目。



如果我创建一个新的SharpGL项目,SharpGL库工作正常。即使我尝试运行这些示例,它们也可以工作(在重新导入所有引用之后)。但是当我尝试在我的项目中添加SharpGL控件时,它说它无法在SharpGL库中找到命名空间OpenGLControl。考虑到我将SharpGL导入到我的项目中,这有点奇怪,但确实如此。



当我输入SharpGL.OpenGLControl时,它不会出现在自动完成中。



如何在不从scracth启动项目的情况下添加OpenGLControl?

I have a windows form project that I started before installing the SharpGL extension.

The SharpGL library works fine if I create a new SharpGL project. Even if I try to run the examples, they work (after reimporting all references). But when I try to add a SharpGL control in my project, it says that it cannot find the namespace "OpenGLControl" in the SharpGL library. Having in mind that I imported the SharpGL into my project, it''s kind of strange, but it''s true.

When I type SharpGL.OpenGLControl, it doesn''t appear in the autocomplete.

How can I add an OpenGLControl without starting my project from scracth?

推荐答案


这篇关于SharpGL库存在问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 06:23