所以我对OpenGl和3D编程都很陌生,我试图用OpenTK设置一个基本项目,它在sart上工作得很好但是现在我在程序调用时遇到这个错误GameWindow类的构造函数。
public Window() : base(1280, 720, GraphicsMode.Default, "OpenGL", OpenTK.GameWindowFlags.Default, DisplayDevice.Default, 3, 0, OpenTK.Graphics.GraphicsContextFlags.Debug)
{
Console.WriteLine("gl version: " + GL.GetString(StringName.Version));
}
以下是我得到的错误:
Exception thrown: 'System.DllNotFoundException' in OpenTK.dll
Exception thrown: 'System.BadImageFormatException' in OpenTK.dll
提前致谢